Skip to main content

py-aniliberty

PyPI License: MIT Python versions CI Coverage Status Docs

Async Python SDK for the public AniLibria API (v1): releases, episodes (HLS links), quick search, catalog with filters, schedule, genres, franchises, torrents, teams and media — and, with an account, favorites, collections, watch progress and ratings.

Status: early development. Every endpoint of the API is covered except the ad ones; see ROADMAP.md.

Documentation: https://llijiyapnik.github.io/py-aniliberty/

Installation

uv add py-aniliberty

or

pip install py-aniliberty

Requires Python 3.11+.

Quickstart

import asyncio

from aniliberty import AniLiberty


async def main() -> None:
    async with AniLiberty() as client:
        for release in await client.releases.latest(limit=3):
            print(release.name.main)

        release = await client.releases.get("sousou-no-frieren")
        episode = await client.episodes.get(release.episodes[0].id)
        print(episode.hls_1080 or episode.hls_720)


asyncio.run(main())

More in the Quickstart of the docs.

Examples

examples/ has a runnable, heavily commented script per feature — releases, episodes and HLS links, quick search, ... — each ending with the output of a real run. See examples/README.md for the list.

Changelog

See CHANGELOG.md.

License

MIT

Metadata

Release files for py-aniliberty 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-aniliberty 0.4.0
File Size Uploaded Provenance
py_aniliberty-0.4.0.tar.gz 56.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for py-aniliberty 0.4.0
File Interpreter ABI Platform
py_aniliberty-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 137.5 kB

Release files / py_aniliberty-0.4.0.tar.gz

Download URL py_aniliberty-0.4.0.tar.gz
Size 56.0 kB
Tags Source
SHA-256 checksum
How to use checksums
07d3895d78d2b22dc84d3d27baebeae648b6678f9b4db2da1a26479f6b304845
BLAKE2b-256 checksum
How to use checksums
af2b6c066964072282d4ea44735598062851e7903863debe1bf19be7ce7e7ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / py_aniliberty-0.4.0-py3-none-any.whl

Download URL py_aniliberty-0.4.0-py3-none-any.whl
Size 81.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5912bde287adc07ce50c908c66543837a679a4ac1f03b84c233477a959989029
BLAKE2b-256 checksum
How to use checksums
10c2389ecb6f8d7cafdb409aeffae0f36afc88f91ac725d5f14bdf15e8cc6ba5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for py-aniliberty 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page