Skip to main content

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:

  1. Finds the best matching subtitle for the video file
  2. Downloads and extracts the subtitle
  3. Saves it with the same name as the video file (e.g., video.mkvvideo.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


Download files

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

Source Distribution

animesubinfo_cli-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

animesubinfo_cli-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

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

Hashes for animesubinfo_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 12b291723974726ce86bebbd7b780214eccd0ad77f046fde8a8155c8dfb52c6d
MD5 30bfd51c8204f16b6fa82e136a99b5f7
BLAKE2b-256 d7f33ca0bf6f9c33489d148c85a9bdee68784ef95df7026dfebfe74f88ebe5e0

See more details on using hashes here.

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

Hashes for animesubinfo_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1911c68dcc116cd118270930565337655459e1b75a664693744dfdc10490c632
MD5 9957a636e2a532e6db31b2ba2258cef9
BLAKE2b-256 cd4e597df88edf2545b3778835e651eb8766a4cbc9eaa0c2f7ceefad83c77402

See more details on using hashes here.

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