Nyaa-cli

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.
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-rasterbarwith pacman for Arch-based distros) or can be built from source here: python-libtorrent
Usage
- Help:
nyaa --helpornyaa-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
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nyaacli-0.4.0.tar.gz | 41.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|
Security for nyaacli 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.