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), quick search and the catalog with filters are implemented; 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.2.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.2.0
File Size Uploaded Provenance
py_aniliberty-0.2.0.tar.gz 29.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 67.5 kB

Release files / py_aniliberty-0.2.0.tar.gz

Download URL py_aniliberty-0.2.0.tar.gz
Size 29.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e1998726a91498ce57ed0e2aff46d906130f216629233455a1cf8855a539f23c
BLAKE2b-256 checksum
How to use checksums
74392ccf41190e1c55e262a85aaa7a822455ca340cd93164b7f2eb1e127d49aa
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.2.0-py3-none-any.whl

Download URL py_aniliberty-0.2.0-py3-none-any.whl
Size 38.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdaf02dcc16f5c2ea98b778c3039f8278d993e3e30685587f396142b99befef9
BLAKE2b-256 checksum
How to use checksums
dceed96a0220921a67c9442df64eaa1d51901852d3ec119070e8964d9cc2fe39
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.2.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