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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: pyaniparser-0.0.7-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.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c50e26e21cdf9b23e9413e5d4deb996e1901290dfa8c9d142b983176f3e744a4
MD5 a6c36cff61f602bf92ce8e670deaddf9
BLAKE2b-256 d2f7c86f2f9b905b5238137ef4747ab5636cbd859b2e8301ffc41fbf7798b2ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyaniparser-0.0.7-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 292df6afbb8bcbab1d43d5acccdd8d52d3701027268a0644012a6ac5cd7c0868
MD5 9c5e974feba5a030dae58cf19f0a7c74
BLAKE2b-256 e4f9180514802b6d51d87266e765e8cb688ca5343b49d3cc5f996a844082b088

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyaniparser-0.0.7-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 a8b025944e83d1c52a9944200cc2b397b8ce0e8fc4f234c1209fa75b816cf19e
MD5 bb0125e2c3c37079afeee873bc14e11b
BLAKE2b-256 054d8fd73fcfc19a434fb906cde4d559b29bc58b6ae69e0475bbee777c782d3e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyaniparser-0.0.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f9809cc8a458d6c8467a99f94135a6fafa25420aa0c53e785980d6eb188aad7
MD5 cb5e7d56ac98d51d0c7b3cdc54413225
BLAKE2b-256 b420b0f80d75d4a995c6730d9f70d0655dd8e4aaa09ea1fcd95d534bc91ba8b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyaniparser-0.0.7-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 310d289a34d6a4345d69a95a7700d37e590a200db76e5ff1de2a013aecd6d1ac
MD5 de79e2caa76b7a75282679596e91f516
BLAKE2b-256 3643ce245c281a9e62251f14e075b0607b916bd5f12c39a5b34879c384a02fbc

See more details on using hashes here.

Provenance

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