Skip to main content

Nyaa-cli License: MIT nyaacli nyaa.si

A CLI for downloading Anime from https://nyaa.si making use of their RSS Feed and python-libtorrent

Warning: Only tested on Linux. Windows or MacOS support is not guaranteed, feel free to open issues about it, but I don't have any non-Linux machines to test any problems related to other OSes.

CHANGELOG


image


image


image


Installing

  • python3 -m pip install nyaacli --user

    • Note: python-libtorrent will still need to be downloaded separately as shown below
  • This Program depends on libtorrent together with its Python API, which can be installed using apt on debian-based linux distros with sudo apt install python3-libtorrent (libtorrent-rasterbar with pacman for Arch-based distros) or can be built from source here: python-libtorrent


Usage

  • Help: nyaa --help or nyaa-cli --help
Usage: nyaa [OPTIONS] ANIME [EPISODE]

  Search for Anime on https://nyaa.si and downloads it

  Usage:
      nyaa "Anime Name" <Episode Number (Optional)> -o <Output Folder (Default = "~/Videos/Anime")>

  Example:
      nyaa "Kimetsu no Yaiba" 19 -o /home/user/My/Animes/Folder/Kimetsu_No_Yaiba/

Options:
  -o, --output PATH     Output Folder  [default: ~/Videos/Anime]
  -n, --number INTEGER  Number of entries  [default: 10]
  -s, --sort-by TEXT    Sort by  [default: seeders]
  -t, --trusted         Only search trusted uploads
  -d, --debug           Debug Mode
  -c, --client          Use Torrent Client
  -p, --player          Open in Video Player after download
  --help                Show this message and exit.
  • Example:
    # Downloading Episode 14 of 'Steins;gate' to '~/Anime/Steins;Gate'
    nyaa "Steins;Gate" 14 -o ~/Anime/Steins\;Gate
    

Release files for nyaacli 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nyaacli 0.4.0
File Size Uploaded
nyaacli-0.4.0.tar.gz 41.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nyaacli 0.4.0
File Interpreter ABI Platform
nyaacli-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.7 kB

Release files / nyaacli-0.4.0.tar.gz

Download URL nyaacli-0.4.0.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
944538d5c021e8cd5c0f4e6e6f4fa96b7d2720057f794d053342574f77bc64e6
BLAKE2b-256 checksum
How to use checksums
b7568daf596d449f68e34f24c7335d8e746f0218a4e55385513ef0057dc3e7f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / nyaacli-0.4.0-py3-none-any.whl

Download URL nyaacli-0.4.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eddc944756ca6e4eabbb9ceb0d0b10952a24cb9c8f9251df30cd9c86198b3ec8
BLAKE2b-256 checksum
How to use checksums
a1d58bc1f66254b7d89a2013c84a6dc5e4a902b02d32b8cd7153e9e8a64b5191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page