Skip to main content

Little tool in python to watch anime from the terminal (the better way to watch anime)

Project description

waving

Anipy-cli now new and improved: anipy-cli 2.0!

Little tool written in python to watch anime from the terminal (the better way to watch anime)

Scrapes: https://gogoanime.wiki

Other versions:

2.0 Updates

  • Complete rewrite
  • Can now also be used as libary
  • Way Faster
  • Less dependencies
  • No more Spagehtti code

Updates

  • Added binge mode
  • Added seasonal mode

Dependencies:

  • Python 3

  • mpv

  • BeautifulSoup

  • requests

Installation

Recommended installation:

python3 -m pip install anipy-cli

Directly from the repo (may be newer):

python3 -m pip install git+https://github.com/sdaqo/anipy-cli

Other methodes can be found in docs/install.md

For libary usage

Use the recommended installation

Important:

To import the libary dont import anipy-cli, but anipy_cli (no '-' is allowed)

Other Dependencies

MPV

For mpv installation look here: https://mpv.io/installation/

Usage

Set video quality

anipy-cli -q "Your desired quality"

By default anipy-cli tries to get the best quality avalible. You can specify a quality like so: 360/720/1080... (without the "p" at the end)

You can also use best or worst.

Download

anipy-cli -d

This will drop you in the download mode, from there you can search for an anime and download it. You can specify a range of episodes like so 1-4 or 4-20 etc.

History

anipy-cli -H

This will let you pick one of your anime-episodes that you previously watched and resumes playback at the time you exited the video player.

Delete History

anipy-cli -D

You can change your history.txt path in config.py

Binge Mode

anipy-cli -b

Specify a range of episodes and play them back to back.

Seasonal Anime Mode

anipy-cli -s

Binge-watch or bulk-download the newest episodes of animes.

You can change your seasonals.txt path in config.py

Config File

You can get the path to your config file with anipy-cli -c

Change config.py if you want any of the options given there changed.

Features

Big range of Modes

  • Download
  • Binge
  • Seasonal

Resume Playback

Resume playback is deprecated. Use https://github.com/AN3223/dotfiles/blob/master/.config/mpv/scripts/auto-save-state.lua (from https://github.com/mpv-player/mpv/wiki/User-Scripts) for mpv, this is way more reliable than the old function.

Menu

Has a menu that pops up after you picked an episode to play, there yopu can either play next episode, play previous episode, replay episode, open history selection, search for another anime or quit.

Credits

Heavily inspired by https://github.com/pystardust/ani-cli/

Migueldeoleiros and Dabbing-Guy for the makefile

All contributors for contributing

Project details


Release history Release notifications | RSS feed

This version

2.2.4

Download files

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

Source Distribution

anipy_cli-2.2.4.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

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

anipy_cli-2.2.4-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file anipy_cli-2.2.4.tar.gz.

File metadata

  • Download URL: anipy_cli-2.2.4.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for anipy_cli-2.2.4.tar.gz
Algorithm Hash digest
SHA256 d695787283c88a24fb31c8942993d4061e04011479cb25046a986e6d07a2b3ad
MD5 8f3118422bdbfde982e1458e18123233
BLAKE2b-256 e7b1f76567cb49e0920d5ab23cd241a32de6ca36e7e371be8c8f82425353b928

See more details on using hashes here.

File details

Details for the file anipy_cli-2.2.4-py3-none-any.whl.

File metadata

  • Download URL: anipy_cli-2.2.4-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for anipy_cli-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 457612eeebccd897ec1452c517805f7b9fd90c1528d239e0cf5abe112baa2097
MD5 94497fa49e31636883103b3cccb2e88f
BLAKE2b-256 82708c97600e6f33e17b44dfe7416a5e862e902c7c8a233d5c649db73aad637c

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