Crude CLI tool to upload files to Usenet using Nyuu and ParPar
Project description
juicenet-cli
Crude 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.11
- 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.14.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c91c62c3667a2364209dbb9942fd139744d375e2d576715cf5fd198fb4122099 |
|
MD5 | 564e62d5382fd8ef6033a6c94447db89 |
|
BLAKE2b-256 | 3c6d0d848836c0e99cb5af8db05ebc4aa7fd6744c80dcfaa5198b584db1b8a15 |