Command-line interface for animesubinfo
Project description
animesubinfo-cli
Command-line interface for searching and downloading anime subtitles from AnimeSub.info.
Installation
Install globally as a CLI tool:
uv tool install animesubinfo-cli
Or with pipx:
pipx install animesubinfo-cli
After installation, the animesubinfo command will be available system-wide.
Commands
search
Search for subtitles by anime title:
animesubinfo search "Attack on Titan"
Options:
--sort,-s- Sort results (traf, t_org, t_en, t_pl, pobrn, datad)--type,-t- Filter by title type (org, en, pl)--limit,-l- Maximum number of pages to fetch--json,-j- Output results as JSON
find
Find the best matching subtitle for a video file (displays info only):
animesubinfo find "[SubGroup] Attack on Titan - 12 [1080p].mkv"
Options:
--json,-j- Output result as JSON
download
Download a subtitle archive by its ID:
animesubinfo download 12345
animesubinfo download 12345 -o subtitles.zip
Options:
--output,-o- Output file path (defaults to original filename)
best
Find and download the best matching subtitle for a video file:
animesubinfo best "[SubGroup] Attack on Titan - 12 [1080p].mkv"
This command:
- Finds the best matching subtitle for the video file
- Downloads and extracts the subtitle
- Saves it with the same name as the video file (e.g.,
video.mkv→video.ass)
Examples
Search for subtitles sorted by downloads:
animesubinfo search "Naruto" --sort pobrn
Get JSON output for scripting:
animesubinfo search "One Piece" --json | jq '.[0].id'
Download subtitle for a specific episode:
animesubinfo best "[Erai-raws] Jujutsu Kaisen - 01 [1080p].mkv"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file animesubinfo_cli-0.1.0.tar.gz.
File metadata
- Download URL: animesubinfo_cli-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12b291723974726ce86bebbd7b780214eccd0ad77f046fde8a8155c8dfb52c6d
|
|
| MD5 |
30bfd51c8204f16b6fa82e136a99b5f7
|
|
| BLAKE2b-256 |
d7f33ca0bf6f9c33489d148c85a9bdee68784ef95df7026dfebfe74f88ebe5e0
|
File details
Details for the file animesubinfo_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: animesubinfo_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1911c68dcc116cd118270930565337655459e1b75a664693744dfdc10490c632
|
|
| MD5 |
9957a636e2a532e6db31b2ba2258cef9
|
|
| BLAKE2b-256 |
cd4e597df88edf2545b3778835e651eb8766a4cbc9eaa0c2f7ceefad83c77402
|