Moon and Ratting taxes based on corp usage
Project description
aa-corptax
aa-corptax can generate tax invoices for ratting and moon mining taxes. Rather then charge induviduale the app focus tax infomation based on corp usage.
This app is highly ajusted to the Razor Alliance and I wouldn't recomment to use for anything else.
Features
- Moon Mining
- Ratting tax
- Provides a "preview" for the current month
- Provide a list of corp members moon mining activity
- couple of small bibs and bobs for Razor Alliance
Installing aa-corptax
You need Alliance Auth => 4.0 You need to have the following apps installed
- allianceauth-corptools
- allianceauth-discordbot
- aa-moonmining
- aa-structures
- django-eveuniverse
pip install aa-corptax
Add corptax to your installed app
Run migration and restart AA
python ~/myauth/manage.py migrate
python ~/myauth/manage.py collectstatic --noinput
Add the following task and settings to your config
DUE_DATE_DAYS=7
FALLBACK_CEO=2118611399
EXCEPTIONAL_MOON_TAX=0.35
RARE_MOON_TAX=0.15
UNCOMMON_MOON_TAX=0.025
COMMON_MOON_TAX=0.025
UBIQUITOUS_MOON_TAX=0.025
RATTING_TAX=0.1
RENT_RATTING_TAX=0.15
ACCOUNTED_ALLIANCE=[741557221, 99007906]
TROIKA_NOTIFY=["Triolag", "Dejar_Winter"]
CELERYBEAT_SCHEDULE['corptax_task_moon_tax'] = {
'task': 'corptax.tasks.task_moon_tax',
'schedule': crontab(minute='0', hour='6', day_of_month='1'),
}
CELERYBEAT_SCHEDULE['corptax_task_ratting_tax'] = {
'task': 'corptax.tasks.task_ratting_tax',
'schedule': crontab(minute='0', hour='6', day_of_month='1'),
}
CELERYBEAT_SCHEDULE['corptax_task_moon_tax_preview'] = {
'task': 'corptax.tasks.task_moon_tax_preview',
'schedule': crontab(minute=30, hour='*/3'),
'apply_offset': True
}
CELERYBEAT_SCHEDULE['corptax_task_ratting_tax_preview'] = {
'task': 'corptax.tasks.task_ratting_tax_preview',
'schedule': crontab(minute=30, hour='*/3'),
'apply_offset': True
}
CELERYBEAT_SCHEDULE['corptax_task_moon_drill_tax'] = {
'task': 'corptax.tasks.task_moon_drill_tax',
'schedule': crontab(minute='0', hour='6', day_of_month='1'),
}
CELERYBEAT_SCHEDULE['corptax_task_corp_stats_update'] = {
'task': 'corptax.tasks.task_corp_stats_update',
'schedule': crontab(minute=20, hour='*/1'),
'apply_offset': True
}
CELERYBEAT_SCHEDULE['corptax_task_alliance_finance'] = {
'task': 'corptax.tasks.task_alliance_finance',
'schedule': crontab(minute='30', hour='6', day_of_month='1'),
}
CELERYBEAT_SCHEDULE['corptax_task_alliance_finance_current'] = {
'task': 'corptax.tasks.task_alliance_finance_current',
'schedule': crontab(minute=20, hour='*/1'),
'apply_offset': True
}
CELERYBEAT_SCHEDULE['corptax_task_check_corp_tax'] = {
'task': 'corptax.tasks.task_check_corp_tax',
'schedule': crontab(minute="*/10"),
'apply_offset': True
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file corptax-0.1.9.4.tar.gz.
File metadata
- Download URL: corptax-0.1.9.4.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95f403e0b10bc267f6d59f969e9bb0b3333f5f0ef99fd11d09152476473f7449
|
|
| MD5 |
ea337c3291ef7619e30b6ea51c8e4c88
|
|
| BLAKE2b-256 |
3f13ed66777707851a094502cda805048a62ee9bd20f7f26254d16029aa9e99d
|
File details
Details for the file corptax-0.1.9.4-py3-none-any.whl.
File metadata
- Download URL: corptax-0.1.9.4-py3-none-any.whl
- Upload date:
- Size: 55.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59d5a29f413eb640191e00e7a7ee871c3496d5b53317c0f85a7b7589179efdc3
|
|
| MD5 |
6d3dc84dd2d0cecfb45a79568237f470
|
|
| BLAKE2b-256 |
a09258cbc12e8b66eae15dbee5aa3582523dc95d52a388879e902387c4429d0f
|