Skip to main content

Automated downloading of queue items from AlphaRatio

Project description

AR Queue Watcher

PyPI Status PyPI version Python Test linting: Ruff Code style: black pre-commit

Automated downloading of queue items from AlphaRatio.

Installation

From pypi

Suggested to install via pipx with:

pipx install arqueue

or pip with:

pip install arqueue

From repo

Clone the repo with:

git clone https://github.com/OMEGARAZER/arqueue.git
cd ./arqueue

Suggested to install via pipx with:

pipx install -e .

or pip with:

pip install -e .

Configuration

Configuration can be done in three ways:

  1. Create a file with your auth_key, torrent_pass and your watch_dirs like they are in the .env.sample file and pass it to the script with -c.
  2. Copy the .env.sample file to .config/arqueue/config and edit to contain your auth_key, torrent_pass and your watch_dirs.
  3. Rename .env.sample to .env and edit to contain your auth_key, torrent_pass and your watch_dirs (not recommended unless installed from repo).

Running

After configuring you can run it with:

arqueue

or if passing a config file:

arqueue -c <path to config>

You can increase the verbosity of the output by passing -v or -vv.

  • -v enables debug output to show request responses and process updates.
  • -vv enables trace output which shows debug output as well as requested urls (Which include the secrets, use only when required).

Crontab

To run via crontab you can use this line, replacing {HOME} with your home directory.

* * * * * {HOME}/.local/bin/arqueue >/dev/null 2>&1

Unless configured through option 3 you will need to pass your config as well.

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

ARQueue-1.2.0.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

ARQueue-1.2.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file ARQueue-1.2.0.tar.gz.

File metadata

  • Download URL: ARQueue-1.2.0.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for ARQueue-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1759f108267c324da1feace55aa3d09852fea01601397c8decc22bdd28ae38de
MD5 5d52d484b269b96690fd245788a94965
BLAKE2b-256 e05e7f480ed5853ccae00843131587b9f158460719265373e27c4d4d66818968

See more details on using hashes here.

File details

Details for the file ARQueue-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: ARQueue-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for ARQueue-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c9fc933afd3835eb9d50355918f55254678a12a53e7a49bc46a29e458b093d2
MD5 83e05fc591e40175989f0a872fac7fd3
BLAKE2b-256 8e954ee64f78babcdc1efd32bdd0f48f545276d70817f766f60d26ae691e1b1f

See more details on using hashes here.

Supported by

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