Metadata-Version: 2.4
Name: anibridge-utils
Version: 0.2.0
Summary: Internal shared utilities for the AniBridge project.
Keywords: anibridge,utils,cache,rate limiting
Author: Elias Benbourenane
Author-email: Elias Benbourenane <eliasbenbourenane@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Requires-Dist: cachetools>=7.0.1
Requires-Dist: diskcache>=5.6.3
Requires-Dist: requests>=2.32.0
Maintainer: Elias Benbourenane
Maintainer-email: Elias Benbourenane <eliasbenbourenane@gmail.com>
Requires-Python: >=3.14
Description-Content-Type: text/markdown

# anibridge-utils

Shared utilities used across the [AniBridge](https://github.com/anibridge/anibridge) package ecosystem.

> [!IMPORTANT]
> This package is primarily an internal dependency for AniBridge packages, but it can also be useful when building related extensions.

- `anibridge.utils.cache`: Cache helpers shared by provider implementations.
- `anibridge.utils.datetime`: Timezone and datetime normalization helpers.
- `anibridge.utils.image`: Helpers for provider image fetching and data URL encoding.
- `anibridge.utils.limiter`: Async rate-limiting utilities.
- `anibridge.utils.mappings`: Parsers and helpers for the AniBridge mappings schema.
- `anibridge.utils.registry`: Generic `ProviderRegistry` used to register provider classes by namespace.
- `anibridge.utils.tasks`: Safe background task scheduling helpers.
- `anibridge.utils.types`: Shared type aliases such as `MappingDescriptor` and `ProviderLogger`.
