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.yamlor 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 alot of cases where it breaks. I've 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
a4b1712or 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 installpoetry shell
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"
For more information, go here.
License
Distributed under the Unlicense License. See UNLICENSE for more information.
Release files for juicenet-cli 0.8.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 | |
|---|---|---|---|
| juicenet_cli-0.8.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| juicenet_cli-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / juicenet_cli-0.8.0.tar.gz
| Download URL | juicenet_cli-0.8.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e319a226d3688821f64f9486778e5a6b5490d19b3e7315532c97ef00381405a5
|
|
BLAKE2b-256 checksum How to use checksums |
cdafb22455bc6e013a9ed361bb15344d12f726b242c4fa40413c5769d33dc43a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.3 Linux/6.2.0-1012-azure
|
Release files / juicenet_cli-0.8.0-py3-none-any.whl
| Download URL | juicenet_cli-0.8.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
946cb8e031ceef7ee64c5e0e4139230e89ba72307843bdd8d7ba4c48a1c5e702
|
|
BLAKE2b-256 checksum How to use checksums |
f5f66aad376f467a67444e0708e967d6ee69cede480df3fb94994b5b8c41ad33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.3 Linux/6.2.0-1012-azure
|