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.5.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.5-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 a8e37583129ad0c033b8d607a208038f2dbeb98862923a0811d12e7187b5f5f3
MD5 895ee852b85419233896373dfa063417
BLAKE2b-256 3e9de4572bfca3731440a9d1620ebf4ea87f881a4d1466e61a852c403740e9c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_rattingtax-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ac5b204ab7d3a437a9e0666b0cb3a9b71d76436f8beb68c61502db19541d9a7f
MD5 267d987a775a0a8bc611d02dba1be2dc
BLAKE2b-256 a21e3a0ad051403ba06200f6e1577e18e541a7a1d75923681536ef0aca28651b

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