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.6.tar.gz (38.2 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.6-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.6.tar.gz
  • Upload date:
  • Size: 38.2 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.6.tar.gz
Algorithm Hash digest
SHA256 3824393059692409545c4a1c0041f05ee7826d2addc041015e20006e71cdb33e
MD5 2b15455d992edf4e1d40db1820991ac7
BLAKE2b-256 00f615dd2baf9d99c08841481df756b238147f7e070014da9ebba560008d9a36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 45.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a5bee36cb7bd11e0cfc5a25d2c062f5827a4bb4f277dc2e031aca50f44fe7766
MD5 da55cd8bbfbd9d2577ab0ca1ed704b8f
BLAKE2b-256 614cbbbf264697fdc68af329852391f61159a8289ce00d1ecf90683b1905be58

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