Skip to main content

Fast anime metadata parser - extracts title, episode, resolution, codecs from filenames

Project description

Zantetsu Python

Fast anime metadata parser for Python. Extracts title, episode, resolution, codecs, and more from anime filenames.

Installation

pip install zantetsu

Usage

from zantetsu import HeuristicParser

parser = HeuristicParser()
result = parser.parse("[SubsPlease] Spy x Family - 01 (1080p).mkv")

print(result.title)       # 'Spy x Family'
print(result.episode)     # '1'
print(result.resolution)  # 'FHD1080'
print(result.group)       # 'SubsPlease'

Development

Prerequisites

  • Rust 1.85+
  • Python 3.8+
  • maturin: pip install maturin

Build

cd bindings/python
maturin develop  # For local development
maturin build    # Build wheels

Publish to PyPI

# Build and publish
maturin publish

# Or use twine
maturin build --release
twine upload target/wheels/*

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zantetsu-0.1.2.tar.gz (45.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zantetsu-0.1.2-cp314-cp314-manylinux_2_34_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

File details

Details for the file zantetsu-0.1.2.tar.gz.

File metadata

  • Download URL: zantetsu-0.1.2.tar.gz
  • Upload date:
  • Size: 45.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for zantetsu-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f63b8860914fb40f2b095264e3f42eb875be1a9341fd28bfb454c436824ec4fb
MD5 4df2925eead5ef4e6445a96f1e5c7561
BLAKE2b-256 6f6174407ba6f28cb79893a03fdfe5e06e5a5052c5b9b7efb9886ddf44325d5a

See more details on using hashes here.

File details

Details for the file zantetsu-0.1.2-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for zantetsu-0.1.2-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 57ca526c69a3596dc704c43c495739bdac2045d310baf9aa1b9624c3b832d345
MD5 109a46b643d427fef61fbbac58cde266
BLAKE2b-256 7f5925b6a1c9f8ea3460a6b683ff47f65559250d18597b096a7e2670ef389fa2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page