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: stable. Every endpoint of the API is covered except the ad ones. Since 1.0.0 the package follows Semantic Versioning: breaking changes come only with a new major version. Coming from 0.x? See Upgrading to 1.0.

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 1.0.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 1.0.0
File Size Uploaded Provenance
py_aniliberty-1.0.0.tar.gz 57.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 140.3 kB

Release files / py_aniliberty-1.0.0.tar.gz

Download URL py_aniliberty-1.0.0.tar.gz
Size 57.3 kB
Tags Source
SHA-256 checksum
How to use checksums
931485bbdae1db1ea3e2d2f177f25ab77337fe870384e7fceced4921a1279673
BLAKE2b-256 checksum
How to use checksums
85a8e4319e554a901a538c1c310804ac914cf5d041be3a931118ec1b4fcebe9c
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-1.0.0-py3-none-any.whl

Download URL py_aniliberty-1.0.0-py3-none-any.whl
Size 83.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c6580e5b243e4bbb05c571715e8c95fa49f93d056c8c0587511d6f6d6ab0b01
BLAKE2b-256 checksum
How to use checksums
352a46f8539553c7544593ebacbf250027fa897ff165d9e75d0e7d53d5404073
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 1.0.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