Skip to main content

Crude CLI tool to upload files to Usenet using Nyuu and ParPar

Project description


Logo

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 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

Installation

  1. With pipx (recommended):

    pipx install juicenet-cli
    
  2. With pip:

    pip install juicenet-cli
    
  3. With poetry:

    git clone https://github.com/Ravencentric/juicenet-cli.git
    
    cd juicenet-cli
    
    poetry install
    
    poetry 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:

  1. Using the command-line argument: --config <path>
  2. Setting an environment variable named JUICENET_CONFIG
  3. 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.

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

juicenet_cli-0.8.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

juicenet_cli-0.8.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file juicenet_cli-0.8.0.tar.gz.

File metadata

  • Download URL: juicenet_cli-0.8.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Linux/6.2.0-1012-azure

File hashes

Hashes for juicenet_cli-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e319a226d3688821f64f9486778e5a6b5490d19b3e7315532c97ef00381405a5
MD5 e2fd0c7910a6bdab9fff37b0687555cf
BLAKE2b-256 cdafb22455bc6e013a9ed361bb15344d12f726b242c4fa40413c5769d33dc43a

See more details on using hashes here.

File details

Details for the file juicenet_cli-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: juicenet_cli-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Linux/6.2.0-1012-azure

File hashes

Hashes for juicenet_cli-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 946cb8e031ceef7ee64c5e0e4139230e89ba72307843bdd8d7ba4c48a1c5e702
MD5 83d8181aa4eacb9b08b0b2d1a9512795
BLAKE2b-256 f5f66aad376f467a67444e0708e967d6ee69cede480df3fb94994b5b8c41ad33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page