Skip to main content

Python wrapper for Banned.AniParser (NativeAOT C ABI)

Project description

PyAniParser

PyAniParser 是一个用于解析动画文件名的库,专门设计用于识别和提取动画文件名中的关键信息。

功能特点

  • 支持多个字幕组/压制组的命名规则解析
  • 内置多个常用字幕组的解析支持
  • 支持批量文件解析

安装

pip install pyaniparser

使用方法

基本使用

from pyaniparser import AniParser
# 单个title
parser = AniParser()
result = parser.parse("你的动画文件名.mp4")
print(result.title)
# 多个title
items = list(parser.parse_batch(["文件1.mp4", "文件2.mp4"]))
for result in items :
    print(result.title)

获取支持的字幕组列表

parser = AniParser()
groups = parser.get_translation_parser_list()

内置解析器支持

目前支持以下字幕组/压制组的命名规则(按字典顺序),完整支持的小组列表请见:详细列表

  • 北宇治字幕组
  • 喵萌奶茶屋
  • 桜都字幕组
  • ANi
  • jsum
  • Kirara Fantasia
  • Vcb-Studio

许可证

本项目采用 Apache-2.0 许可证。详情请参见 LICENSE 文件。

贡献

欢迎提交 Issue 和 Pull Request!

支持

如果你在使用过程中遇到任何问题,请创建 Issue。

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyaniparser-0.0.8-py3-none-win_amd64.whl (1.7 MB view details)

Uploaded Python 3Windows x86-64

pyaniparser-0.0.8-py3-none-manylinux_2_17_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

pyaniparser-0.0.8-py3-none-manylinux_2_17_aarch64.whl (1.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

pyaniparser-0.0.8-py3-none-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

pyaniparser-0.0.8-py3-none-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file pyaniparser-0.0.8-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyaniparser-0.0.8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyaniparser-0.0.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 31e018121eeb553915709d0b24957faeb1429be3c1dcf32aa33496a2a4967d72
MD5 325a731a67ebc87120aabb465a073d99
BLAKE2b-256 3a3121ecfb8c17d031fa98b23370773dc3b7d6c7e9ce6aef8d83459e17920856

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.8-py3-none-win_amd64.whl:

Publisher: publish.yml on banned2054/PyAniParser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyaniparser-0.0.8-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.8-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 90472ead9ecf6e3fee85a63154f27db14c930951c97ee897a42472c6b1a1c6c9
MD5 e31accf7c75c82481c6f87a80999eca2
BLAKE2b-256 221d01faacf29c309e93964d15b4742143cf9b55b62886fbb9f5c7f5e622de7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.8-py3-none-manylinux_2_17_x86_64.whl:

Publisher: publish.yml on banned2054/PyAniParser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyaniparser-0.0.8-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.8-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 5ec867438fc7801582719731f2f49464866e3ed34953e7e1ba9b97fccb5316ef
MD5 72897af89e48a16462be7a6d5f614acf
BLAKE2b-256 253e237f2c1f60dcc508669f60303cacb9ab3f9151b97be1795a4c703a743fd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.8-py3-none-manylinux_2_17_aarch64.whl:

Publisher: publish.yml on banned2054/PyAniParser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyaniparser-0.0.8-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b6c3604cff6ac39e349a1c583b397b9c75f0fa81247c9c89dfb3c35223327b9
MD5 a6979cd75422c5bef831d0e50a1381ea
BLAKE2b-256 783ec15604d316bd8b1b3fcd1f4c67854c32f1472cb3fdac23fec4fbe68d53c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.8-py3-none-macosx_11_0_arm64.whl:

Publisher: publish.yml on banned2054/PyAniParser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyaniparser-0.0.8-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.8-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 beac86aef1189dbcbc2c81f6e59c565aba1a79bdbd0d99cf59a2f43ac072809b
MD5 1818e6b2be5a55bee270778b8163ae61
BLAKE2b-256 cf92746bb1c87700209b81d86d5b0523541424ae80556b0b9999190fbb9aa7e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.8-py3-none-macosx_10_9_x86_64.whl:

Publisher: publish.yml on banned2054/PyAniParser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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