CLI tool to upload files to Usenet using Nyuu and ParPar
Project description
juicenet-cli
CLI tool to upload files to Usenet using Nyuu and ParPar
Table Of Contents
About The Project
Uploading stuff to usenet is tedious so I tried to make it easier.
- Searches subdirectories for defined file extensions in
juicenet.yaml
or as passed in--exts
- Alternatively, searches for glob patterns passed in
--pattern
- Provides basic BDMV support
- Creates par2 files
- Directly passes files and corresponding .par2 files to Nyuu
- Offers the option to organize files into separate folders for manual upload
- Automatically checks for and reposts raw articles on each run
- Can NOT continue from where it stopped if it gets interrupted for any reason
- Probably has cases where it breaks. Feel free to open an issue if you find any
- Tried to keep it OS independent but I've mostly tested this on Windows
Getting Started
This script uses ParPar for generating the PAR2 recovery files and Nyuu for uploading to usenet.
Prerequisites
- Python >=3.9
- animetosho/Nyuu - You need version
a4b1712
or newer. v0.4.1 is outdated and you shouldn't use it- Until animetosho uploads a new release, you can grab the Windows binary here
- animetosho/ParPar
Installation
-
With pipx (recommended):
pipx install juicenet-cli
-
With pip:
pip install juicenet-cli
-
With poetry:
git clone https://github.com/Ravencentric/juicenet-cli.git
cd juicenet-cli
poetry install
poetry shell
python -m juicenet --help
Usage
Before you can use this, you'll have to fill out juicenet.yaml
. After you've specified all the values in the config you just have to pass it to juicenet-cli. You can do that in one of three ways:
- Using the command-line argument:
--config <path>
- Setting an environment variable named
JUICENET_CONFIG
- Placing the configuration file in the current working directory as
juicenet.yaml
The order of precedence, if all three are present, is:
command-line argument > environment variable > local file in the current working directory
The above was the first time setup, after which you can simply run:
juicenet "path\to\directory\with\files"
Docs
License
Distributed under the Unlicense License. See UNLICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for juicenet_cli-0.20.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 350b58a3ab14261849142e5cbc5a798f27f68e555c0b16a201c13c945418d9e8 |
|
MD5 | 85bdc3fdd0f9f86e4a150de6ac0a6283 |
|
BLAKE2b-256 | bf769d7fb0f393076dcd4b71ee46aed613d607a1158d74c98b16202c7202f5b9 |