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
Metadata
Release files for zantetsu 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zantetsu-0.1.2.tar.gz | 45.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zantetsu-0.1.2-cp314-cp314-manylinux_2_34_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.34+ x86-64 | Details |
Total release size: 1.4 MB
Release files / zantetsu-0.1.2.tar.gz
| Download URL | zantetsu-0.1.2.tar.gz |
|---|---|
| Size | 45.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f63b8860914fb40f2b095264e3f42eb875be1a9341fd28bfb454c436824ec4fb
|
|
BLAKE2b-256 checksum How to use checksums |
6f6174407ba6f28cb79893a03fdfe5e06e5a5052c5b9b7efb9886ddf44325d5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.12.6
|
Release files / zantetsu-0.1.2-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | zantetsu-0.1.2-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
57ca526c69a3596dc704c43c495739bdac2045d310baf9aa1b9624c3b832d345
|
|
BLAKE2b-256 checksum How to use checksums |
7f5925b6a1c9f8ea3460a6b683ff47f65559250d18597b096a7e2670ef389fa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.12.6
|