Skip to main content

Auto uploader to Nyaa

Project description

Nyaaup

Nyaaup is an auto uploader to Nyaa sites, mainly for videos.

Requirements

  • Python 3.10 to 3.13
  • UV (to install Python package dependencies)

Dependencies

Installation

pypi

pip install nyaaup

from source

  1. git clone https://github.com/varyg1001/nyaaup
  2. cd nyaaup
  3. python install.py or uv sync --frozen
  4. nyaaup -h

Usage

up

Usage: nyaaup up [OPTIONS] [PATH]...

   Upload torrents to Nyaa

Upload Tags:
   -u, --uncensored              Use Uncensored tag in display name.
   -b, --batch                   Use Batch tag in display name.
   -ms, --multi-subs             Use Multi-Subs tag in display name.
   -da, --dual-audio             Use Dual-Audio tag in display name.
   -ma, --multi-audios           Use Multi-Audios tag in display name.
   -a, --auto / -na, --no-auto   Auto detect Multi-Subs, Multi-Audios or Dual-Audio. (Default: True)

Upload Settings:
   -an, --anonymous      Set upload as anonymous.
   -hi, --hidden         Set upload as hidden.
   -co, --complete       Set upload as complete batch.
   -re, --remake         Set upload as remake.
   -s, --skip-upload     Skip torrent upload.
   -c, --category TEXT   Select a category.
   -w, --watch-dir DIR   Path of the watch directory.

Content Information:
   -e, --edit-code TEXT                   Set edit code for Mediainfo on Rentry.co
   -i, --info TEXT                        Set information.
   -n, --note TEXT                        Put a note in to the description.
   -ad, --advert TEXT                     Put advert in to the description.
   -t, --telegram                         Post to telegram.
   -l, --link URL                         Link to set anime manually.
   -sl, --skip-database                   Skip anime database.
   -d, --database [myanimelist|anilist]   Anime database to use for info. (Default: anilist)

Media Settings:
   -p, --pictures-number EXTENSION         Number of pictures to use (Default: 3).
   -pe, --picture-extension NUM            Extension of the pictures.
   -M, --no-mediainfo                      Do not attach Mediainfo to the torrent.
   -o, --overwrite / -no, --no-overwrite   Create torrent file even if exists. (Default: True)

Other options:
   -ch, --category-help   Print available categories.
   -h, --help             Show this message and exit.

auth

Usage: nyaaup auth [OPTIONS]

   Authenticate and configure settings

Config File:
   -c, --credential USER:PASS   Add or replace credential.
   -a, --announces NAME         Add new announces url to config.
   --proxy NAME                 Add or replace proxy to use for uploading to nyaa site.
   -d, --domain NAME            Add or replace domain name for nyaa site.
   -p, --provider NAME          Provider name for config.

Other options:
   -co, --cookie path   Cookies file from nyaa. (Cookies must be in the standard Netscape cookies file format)
   -h, --help           Show this message and exit.

Example commands

nyaaup auth -c user:pass
nyaaup -p 5 -c 1 -a -m https://myanimelist.net/anime/58935 /path/example.mkv
nyaaup up -sm -c 1 /path/example_folder

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

nyaaup-6.3.2.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

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

nyaaup-6.3.2-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file nyaaup-6.3.2.tar.gz.

File metadata

  • Download URL: nyaaup-6.3.2.tar.gz
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nyaaup-6.3.2.tar.gz
Algorithm Hash digest
SHA256 03b40e2f43b366731f4c73e389d905ad61b8c569f2db4b478a503e1cd420607c
MD5 08a8dace0829aecffeeea6aa78e148d7
BLAKE2b-256 be2770dcd7ea67873d2a058cdea3b54d387725ffb4a332fa8f0e0e4cdbd6ed09

See more details on using hashes here.

Provenance

The following attestation bundles were made for nyaaup-6.3.2.tar.gz:

Publisher: publish.yml on varyg1001/nyaaup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nyaaup-6.3.2-py3-none-any.whl.

File metadata

  • Download URL: nyaaup-6.3.2-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nyaaup-6.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 83e93779f1eb685e58194462b47a3da288c55fe34760ea6e48c734b86220c319
MD5 ac0fa687c3943f727a2d11d90556a00e
BLAKE2b-256 fc51b2a76ce7b3766b3fea9e3e7bd47c79bbb9da8098ad0817c5c92ab45abb6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for nyaaup-6.3.2-py3-none-any.whl:

Publisher: publish.yml on varyg1001/nyaaup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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