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.1.tar.gz (35.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.1-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.1.tar.gz
  • Upload date:
  • Size: 35.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.1.tar.gz
Algorithm Hash digest
SHA256 da7db11db25e7c14beedefc2602852138e6abdbadded3031a55d49cb33716fef
MD5 f1b011c58b3ac0a98c8ef84640e5a1f0
BLAKE2b-256 1fe7e5630df120957bf03745f6c31d80cf2738773bfa1ed2d10d515d6ddf8372

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 41.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c505050fec200e30ea5df644f8cbdb4db126bdb70a6195aabe207ad6e474d8
MD5 9d294f144beb861470cbf82a24fe0e22
BLAKE2b-256 7ba808af4335e9cc8baa850638f12f998858c130c41d4f2123f27b316c27ca9a

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