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.2.tar.gz (40.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.7.2-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_rattingtax-1.7.2.tar.gz
  • Upload date:
  • Size: 40.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.7.2.tar.gz
Algorithm Hash digest
SHA256 431c251ebb6c47cc9939b53b7cc05af5d260ffd540c9946492c3cc631af00fbb
MD5 4a16f3ea73ca45e707529894800e98bf
BLAKE2b-256 eb42d4dacbc4cecb752ef98313f8a6700774fce10171193761274285f0974946

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_rattingtax-1.7.2-py3-none-any.whl
  • Upload date:
  • Size: 49.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b654e9cae0f95b9922eaba27563d039922ba4079c60fef080f4429a751af978
MD5 b8540c2df574268436588137deda90e3
BLAKE2b-256 93a1e2c1943b5846ce00f4fa7aa4c2a246af43e3f5f8e44bf8cbe7a7e4c2abe3

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