Skip to main content

A powerful command-line interface for searching, getting info, and watching anime directly from your terminal.

Project description

pyanimecli

PyPI version Build License Downloads

A powerful command-line interface for searching, getting info, and watching anime directly from your terminal, powered by the YumaAPI.

pyanimecli

🚀 Features

  • 🔍 Search: Find any anime by title.
  • 📋 Detailed Info: Descriptions, episode lists, genres, and more.
  • 🎬 Stream with VLC: Watch subbed or dubbed episodes in VLC Media Player.
  • 💬 Automatic Subtitles: Automatically loads subtitles for subbed streams.
  • 🌟 Discover: Browse recently updated episodes, top airing anime, and spotlight series.
  • 🧭 Explore: Search by genre or studio.
  • 📆 Schedule: View airing schedules by date.
  • Next Episode: See countdowns and local/UTC air times for upcoming episodes (with timezone support).
  • 🎞️ Trailers: Fetch and play anime trailers (auto-installs yt-dlp if missing).
  • �💻 Cross-Platform: Works on Linux, macOS, and Windows.
  • 🎨 Rich Formatting: Clean, colorful, and easy-to-read output in your terminal.
  • Next Episode: Use -ne <anime_id> [timezone] to see countdowns and air times for upcoming episodes. Supported timezones: UTC, BST, EST, JST, etc.
  • Trailers: Use -tr <anime_id> [play] to fetch and play trailers. If yt-dlp is missing, it will auto-install.

📦 Installation

From PyPI (Recommended)

pip install pyanimecli

Make sure your pip points to Python 3.11+ (e.g., use pip3 if needed).

From Git (Latest)

pip install git+https://github.com/Gamma7113131/pyanimecli.git

This installs the latest commit from the repository’s main branch.


🛠 Prerequisites

  1. Python 3.11+

  2. VLC Media Player: Must be installed and accessible from your system's PATH. Download VLC

  3. Required CLI Utilities:

    • On Linux/macOS: wget
    • On Windows: curl (comes pre-installed on Windows 10+)
  4. FFmpeg


🧪 Usage

Get a full list of commands:

pyanimecli -h

📖 Command Examples

1. Search for an anime:

pyanimecli -s "Attack on Titan"

2. Get detailed info for an anime (using the ID from the search results):

pyanimecli -i "attack-on-titan-3d"

3. Watch an episode:

# Watch a subbed episode
pyanimecli -w "attack-on-titan-3d$episode$571" sub

# Watch a dubbed episode
pyanimecli -w "attack-on-titan-3d$episode$571" dub

4. Browse Recently Updated Episodes:

pyanimecli -re

5. Browse Top Airing Anime:

pyanimecli -ta

6. Use Pagination:

pyanimecli -ta -p 2

7. List and Search Genres:

# List all genres
pyanimecli -g

# Search for anime in the 'action' genre
pyanimecli -gs "action"

8. View the Airing Schedule:

pyanimecli -sc 2025-07-04

9. Show Next Episode Info (with timezone):

# Show next episode info (default timezone BST)
pyanimecli -ne dragon-ball-super-1692

# Specify timezone (e.g., UTC)
pyanimecli -ne dragon-ball-super-1692 UTC

10. Get and Play Anime Trailers:

# Show trailer info
pyanimecli -tr dragon-ball-super-1692

# Play trailer (auto-installs yt-dlp if missing)
pyanimecli -tr dragon-ball-super-1692 play

⚠️ Disclaimer

This tool is created for educational purposes only. All content is sourced from the publicly available YumaAPI. Please respect the rights and policies of the original content providers.

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

pyanimecli-1.2.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

pyanimecli-1.2.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file pyanimecli-1.2.1.tar.gz.

File metadata

  • Download URL: pyanimecli-1.2.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyanimecli-1.2.1.tar.gz
Algorithm Hash digest
SHA256 440a5ad5a760af145f0ddd34bf1c9dc5c82d4bb4f92288341a94e84138d556bf
MD5 02bc22b6f446042471406605048eb0ee
BLAKE2b-256 18341ba18e8b489824196013fe536e549ce9183404e15f02ee5d875913d2484c

See more details on using hashes here.

File details

Details for the file pyanimecli-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyanimecli-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pyanimecli-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e78baf20829c0865a5b3b8d47137dc74619c5a4a59b0edbabd62dbef92e76ed
MD5 c7f869239e1fe7f2abfc3e1bc855c35d
BLAKE2b-256 f2a9e3cad6e71a824e931304dd9eb3431e58e2fc2feb193de9bf644a24e9eeda

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