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.0.tar.gz (40.4 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.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_rattingtax-1.7.0.tar.gz
  • Upload date:
  • Size: 40.4 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.0.tar.gz
Algorithm Hash digest
SHA256 c6c190593d1be14954f9e4df9b93e151fbc15382694c4b1d2b55b66fa358d6e6
MD5 e4c3db50b4458b3a95d12dc8e8d46c61
BLAKE2b-256 a22e86167c5d146d8b193dbc09336ae34fd0129eebddee8ca8fd23a00f5c9352

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_rattingtax-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 49.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c83761e90c143e0fffe749be0db2bd96bdd22b3007ded76c3f517079030c33d
MD5 29d03ed82a53a235d53b0230a7830cd5
BLAKE2b-256 82d2c0ab097a39ec14e2605861ef625c18fb43ba0d2860769ab981ccbf9f4006

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