Skip to main content

Ratting Tax for Alliance Auth (GitHub Version)

Project description

Ratting Tax App for Alliance Auth (GitHub Version)

This is an rattingtax plugin app for Alliance Auth (AA)



Features

  • Plugin calculates ratting tax for all corporations in the alliance

How to Use It

Set basic permissions for corp ceos and for alliance leadership view_all permission so they can see all the corps

Installing Into Your Website

Make sure you're in your venv. Then install it with pip:

pip install aa-rattingtax

First add your app to the Django project by adding rattingtax to INSTALLED_APPS in settings/local.py.

Next, run migrations:.

python manage.py migrate

Add celery schedule at the bottom of your local.py setting file

CELERYBEAT_SCHEDULE["rattingtax_pull_current"] = {
    "task": "rattingtax.tasks.daily_refresh_current_month",
    "schedule": crontab(minute=15, hour="2"),
}

CELERYBEAT_SCHEDULE["rattingtax_close_month"] = {
    "task": "rattingtax.tasks.close_previous_months",
    "schedule": crontab(minute=5, hour=1, day_of_month="1"),
}

Finally, restart your AA server and that's it.

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

aa_rattingtax-1.7.1.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_rattingtax-1.7.1-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file aa_rattingtax-1.7.1.tar.gz.

File metadata

  • Download URL: aa_rattingtax-1.7.1.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for aa_rattingtax-1.7.1.tar.gz
Algorithm Hash digest
SHA256 55a65d2ebc3d53e5d4537a4a5fc4cd2654eb901a61941fe5e6641e4dd58f93ca
MD5 04b454ad90e3c8335eff7f9f3bdb1df2
BLAKE2b-256 e23f27afcd1c9c2219daa250c9656ebc0b1e18cc082e532ac52d4ac5884e488e

See more details on using hashes here.

File details

Details for the file aa_rattingtax-1.7.1-py3-none-any.whl.

File metadata

  • Download URL: aa_rattingtax-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for aa_rattingtax-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f22c6948ccf2e3ae54a6ea4e9b90b20d5e9330a0c2bb788b5c825f23dc9a770
MD5 9ed8f8d6493d632eebd5d8636615497b
BLAKE2b-256 dfb6377a657391ea1617cc76dd42b5675762609494bf6c727c018c700126272c

See more details on using hashes here.

Supported by

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