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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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