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.0.3.tar.gz (37.8 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.3-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.3.tar.gz
  • Upload date:
  • Size: 37.8 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.3.tar.gz
Algorithm Hash digest
SHA256 8ee12aeb6ac52b5ac229ffadb4cb3063cf02e0aa58f21c05bcb968516f128314
MD5 936808d79ad682e82ee4897b44aaa74f
BLAKE2b-256 124f18a35612212f8aa9f7a69dce36e1f898401dedbe4a14211571cf8dfa2ac8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 44.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d921067a6f9748dc5bac8f78de2a6f27ac1157d5cf1b51fd2ab2c9cc9c6439d2
MD5 c3975168266c7653ab7ce8f8a0a0bb08
BLAKE2b-256 ce0bed3f3200d51e43a810bbddd67ca391fe3f0bf6db8edbe28d7a8fd9cdf020

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