PyAniParser
English | 简体中文
PyAniParser is a high-performance Python wrapper for Banned.AniParser, designed to parse anime file names. Powered by .NET 10 Native AOT, it provides fast and accurate extraction of metadata (titles, episodes, resolutions, etc.) from complex file naming conventions.
Note: This parser is currently optimized for Chinese fansub naming conventions (e.g., VCB-Studio, Nekomoe, Sakurato).
Features
- High Performance: Built with .NET Native AOT for speed and efficiency.
- Robust Parsing: specialized in handling complex naming schemes from various release groups.
- Batch Processing: Optimized for processing large lists of files.
- Globalization Support: Built-in Traditional to Simplified Chinese conversion.
- Type Hinting: Fully typed for better IDE support and development experience.
Installation
pip install pyaniparser
Usage
Basic Usage
from pyaniparser import AniParser
# Initialize the parser
parser = AniParser()
# Parse a single file
result = parser.parse("[Nekomoe] Anime Title - 01 [1080p].mp4")
if result:
print(f"Title: {result.title}")
print(f"Episode: {result.episode}")
# Parse a batch of files (Recommended for lists)
files = ["File1.mp4", "File2.mp4"]
results = parser.parse_batch(files)
for item in results:
print(item.title)
Advanced Configuration (Globalization)
You can configure the parser to automatically convert Traditional Chinese titles to Simplified Chinese (or vice versa) upon initialization:
# Options: "Simplified", "Traditional", or "NotChange" (Default)
parser = AniParser(globalization="Simplified")
result = parser.parse("[Group] 繁體標題 - 01.mp4")
print(result.title) # Output will be converted to Simplified Chinese
Get Supported Groups
You can retrieve the list of currently supported subtitle and release groups programmatically:
parser = AniParser()
groups = parser.get_parser_list()
print(groups)
Supported Groups
PyAniParser includes built-in support for many major groups, including but not limited to:
- ANi
- 北宇治字幕组
- 喵萌奶茶屋
- 桜都字幕组
- Vcb-Studio
For a complete list of supported groups, please refer to the Upstream Documentation.
License
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.
Contribution
Issues and Pull Requests are welcome!
Since this is a wrapper, parsing logic issues should be reported to the Core .NET Repository, while Python binding issues can be reported here.
Metadata
Release files for pyaniparser 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| pyaniparser-0.6.1-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details for pyaniparser-0.6.1-py3-none-win_arm64.whl |
| pyaniparser-0.6.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for pyaniparser-0.6.1-py3-none-win_amd64.whl |
| pyaniparser-0.6.1-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for pyaniparser-0.6.1-py3-none-manylinux_2_17_x86_64.whl |
| pyaniparser-0.6.1-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for pyaniparser-0.6.1-py3-none-manylinux_2_17_aarch64.whl |
| pyaniparser-0.6.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for pyaniparser-0.6.1-py3-none-macosx_11_0_arm64.whl |
| pyaniparser-0.6.1-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details for pyaniparser-0.6.1-py3-none-macosx_10_9_x86_64.whl |
Total release size: 12.7 MB
Release files / pyaniparser-0.6.1-py3-none-win_arm64.whl
| Download URL | pyaniparser-0.6.1-py3-none-win_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
dab560cab9c0dff665e2531f626f4169ea8a949734a6c9d82a5e83a683f51618
|
|
BLAKE2b-256 checksum How to use checksums |
9be0a3a766e9f9f17fd68f27cb254855fdc765089429327c599a661b94949db0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / pyaniparser-0.6.1-py3-none-win_amd64.whl
| Download URL | pyaniparser-0.6.1-py3-none-win_amd64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
79f83926a9cd608914f65014e55a9d68286ebafbc9de45304d237195209fcba2
|
|
BLAKE2b-256 checksum How to use checksums |
ae1a543f8c3d82df06deec5a144e75fe1ea57152f309ec36af313195fb36a4b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / pyaniparser-0.6.1-py3-none-manylinux_2_17_x86_64.whl
| Download URL | pyaniparser-0.6.1-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
9b170d6d5a4e49352609ce464fe1e6dd5c641a6ac16cbdf9b6049e13334c4793
|
|
BLAKE2b-256 checksum How to use checksums |
f4d33b1fb15b1684d45c971b2373dc9ba90720ea097c3f8a9a69a2c79721cce2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / pyaniparser-0.6.1-py3-none-manylinux_2_17_aarch64.whl
| Download URL | pyaniparser-0.6.1-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
bc9458d648989df0e5c90ca3818e0f3ef413f6622d5c8815c906a499c4298ad6
|
|
BLAKE2b-256 checksum How to use checksums |
b025959449e37b1bdf8e0a17cf35a353942b22a6ddb5830c06087f1b47ff317f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / pyaniparser-0.6.1-py3-none-macosx_11_0_arm64.whl
| Download URL | pyaniparser-0.6.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a266fc7388bd29acb4163d33147415e1b7130427e9725e3ef8118ecb7b5408eb
|
|
BLAKE2b-256 checksum How to use checksums |
d51cd4a6cb6e00bd92dd9d1ec3322be0b035e6bc24d287ac8e30fa1bb232b843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / pyaniparser-0.6.1-py3-none-macosx_10_9_x86_64.whl
| Download URL | pyaniparser-0.6.1-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
2f771f04c6baab1debb722f0d37c8649566d74db5a97c793a49fedf7d3452c33
|
|
BLAKE2b-256 checksum How to use checksums |
28a7bacb4844a10f984254f8b6f8dd3a3d7fc5ab16bc50c13321bc1bb705780d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logSecurity for pyaniparser 0.6.1
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.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for pyaniparser-0.6.1-py3-none-win_arm64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logA 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.