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), catalog with filters, schedule, franchises, genres, and torrents.

Status: early development. Releases, episodes (HLS links) and quick search are implemented; the catalog, schedule, genres, franchises and torrents 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.1.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.1.0
File Size Uploaded Provenance
py_aniliberty-0.1.0.tar.gz 25.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 58.0 kB

Release files / py_aniliberty-0.1.0.tar.gz

Download URL py_aniliberty-0.1.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f98153015b97ab9cc14cb8c174df408acad127689b7752aae486b27b05156a30
BLAKE2b-256 checksum
How to use checksums
682df7605c134832c14c5f9007302c1bd317d9721b4c29ef08753d8dc6dac553
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.1.0-py3-none-any.whl

Download URL py_aniliberty-0.1.0-py3-none-any.whl
Size 32.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b75586f899106c5432f685ece59740802abb71aaa688eeda1b30bd7613f7b931
BLAKE2b-256 checksum
How to use checksums
18653becf0b0bf03de18aebc445490a0dde3ce4e04eb91c9d501c192fe439ac5
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.1.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