nzbget-file-opener allows you to download *.nzb files with just a double click
Project description
NZBget file opener
Install
pip install nzbget-file-opener
Usage
nzbget-file-opener [-h]
[-n HOSTNAME] [-u USERNAME] [-p PASSWORD]
[-l CONFIG] [-d DOMAIN]
[-c CATEGORY] [-P PRIORITY]
[--add-top] [--add-paused]
[-D]
[--app-path NZBGET_PATH]
files [files ...]
positional arguments:
files the files to send
optional arguments:
-h, --help show this help message and exit
-n HOSTNAME, --hostname HOSTNAME
the nzbget hostname to reach
-u USERNAME, --username USERNAME
your nzbget username
-p PASSWORD, --password PASSWORD
your nzbget password
-l CONFIG, --load-config CONFIG
your nzbget config
-d DOMAIN, --domain DOMAIN
the domain target defined in your nzbget config
-c CATEGORY, --category CATEGORY
the category to use for the nzb files download
-P PRIORITY, --priority PRIORITY
the category to use for the nzb files download
--add-top add the files to the top of queue
--add-paused add the files in pause state
--app-path NZBGET_PATH
specify the nzbget app path to launch it if not
already running
-D, --delete-files to delete the files sent to NZBget
The nzbget credentials file should respect this format :
NZBGET_URL='[http|https]://hostname:port'
NZBGET_USERNAME='username'
NZBGET_PASSWORD='password'
Notes
- url scheme and port are optional
- you can also set these variables in your environment
Scripts
Available pipenv run
scripts :
install
- installs the packageapp
- runs the applicationtest
- tests the application with pytestbuild
- build the app artifactsclean
- clean the artifacts created with thebuild
scriptdeploy-test
- deploy to test.pypideploy
- deploy to pypi
Requirements
In order to properly run the deploy scripts, you should :
- have twine installed.
- have a
~/.pypirc
file filled according to the template below
.pypirc
template
[distutils]
index-servers=
pypi
testpypi
[pypi]
username: your_username
password: your_password
[testpypi]
repository: https://test.pypi.org/legacy/
username: your_username
password: your_password
Note: pypi.org
and test.pypi.org
uses two distinct databases for user accounts. You need to create an account for both domains
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
Built Distribution
Close
Hashes for nzbget-file-opener-1.0.macosx-10.15-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382aa77d4a26e66cee18faba01fa8f9c45f30c83a45221516d209347989cd448 |
|
MD5 | 8b0e6349078b7b347eacab9ba07b5dcf |
|
BLAKE2b-256 | 2828fed3ad7a8b1f581b6ccdb2dfa277295bf13bea0682d334ccc7b0f8830dac |
Close
Hashes for nzbget_file_opener-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b5397f3edfb477c838dd8b63d3ba416718e5f96cc4dd166cef7a7036a16646 |
|
MD5 | 0dc6c6438351b1873e7911b0a061d3bc |
|
BLAKE2b-256 | b5b6621aaa61f6acc0687852c9ac46bd0dc724e39f6bf984edb04258d67ba474 |