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.pull_current_month_all",
    "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.0.0.tar.gz (34.7 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.0.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.0.tar.gz
  • Upload date:
  • Size: 34.7 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.0.0.tar.gz
Algorithm Hash digest
SHA256 5fdc3285bafc49b0d35e66cac7e5200c200db386e66bc00701a21e858d146a63
MD5 a0bfba7051da63d80e9fab48ac6ddc39
BLAKE2b-256 44f5dbbc879b4daa48cdeb19700b4a31cf81a9e1990307f7251bb6108b6e68e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32cc3c6fcbb134c4bcb40c3784229ea20a50435c623332c814ad77eedbce8da2
MD5 15eaf1a778ab566f56e6d710d09833e4
BLAKE2b-256 dca603672bd5b6fc859795f0ae88699b77dee444e6951e5554765141f8bf2f9f

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