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.

Status: early development. Every public (non-account) endpoint of the API is covered; account endpoints — favorites, collections, watch timecodes — are next, 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.3.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.3.0
File Size Uploaded Provenance
py_aniliberty-0.3.0.tar.gz 41.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 98.3 kB

Release files / py_aniliberty-0.3.0.tar.gz

Download URL py_aniliberty-0.3.0.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e227e0b252d5eefa2c897a0582b57f3a6e01f41152ab442456a96616ee54a514
BLAKE2b-256 checksum
How to use checksums
6939e0245976c3ce0e75391e4efdbd0ef5bf88353fbfe925440e00ff6d2a4709
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.3.0-py3-none-any.whl

Download URL py_aniliberty-0.3.0-py3-none-any.whl
Size 57.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a770ff3ae483deafe63f5497dc3d54ddfb6b9778123a8b22ae345b24d555d34
BLAKE2b-256 checksum
How to use checksums
ddf6a929622c30f54c4eca62a509e7f4500716cf743e6cfb2655cfa83568cd4b
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.3.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