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.6-py3-none-win_amd64.whl (1.7 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

pyaniparser-0.0.6-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.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyaniparser-0.0.6-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.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cdaeba8f79467f5030f9a900fc79307a12d01708f61a916022357c439b550304
MD5 3285c3e0c5a5770d7a69980185338e4a
BLAKE2b-256 158beb9d48cddfc5b2ad5e050b97a7e10873407e6cc637f322562126956d588f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.6-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.6-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.6-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 970f85da553b245cbdfd254f7c4922fe94dc5eab607940cf1ca1ce9a7dd42419
MD5 a5339dd6e5f02c06d9b75beb9428208f
BLAKE2b-256 71133f5cfbb3bef9cfd838dc1b2805fa1d72670324373a43356beb721ee1cf58

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.6-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.6-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.6-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6c1f94e3d5e821c3616955c42ea8ec11e00b73ff98b3e094165e0b32742d2733
MD5 7dff7bb50e4167b4ad58cc5a7cbb853b
BLAKE2b-256 f7290af0966f28fa598b1d0dd13aae8a164f0e186c47d0667707189c7a8f5409

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.6-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.6-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a8e06276442a92a3d7853e2fc04b110279f4a94db3d70185497945f5db050d6a
MD5 80f69b4f11549dfc9ff222209c2c5b5d
BLAKE2b-256 b2d627cb5f3b9916121fe8fe27b44d0c1fa682f80f38427fe005df2477ff50cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.6-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.6-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyaniparser-0.0.6-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 03af76cebc7fa17ed3ad8ca3e49463427fe52783adb89192a3e862b87f91eacf
MD5 11e8a6a7248cefc79545d8e4321c8a55
BLAKE2b-256 ec09628a6102c0c78689b096bec4440ee25c3ef64b8d0bbc345086f1424129a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyaniparser-0.0.6-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