Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corptax-0.1.7.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corptax-0.1.7-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file corptax-0.1.7.tar.gz.

File metadata

  • Download URL: corptax-0.1.7.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for corptax-0.1.7.tar.gz
Algorithm Hash digest
SHA256 05786f8d266256a95d6b07a370e6c60c826d0c9293a928901454721f54bd8343
MD5 24fb6413e0a8cb2061448eddba05d931
BLAKE2b-256 1bd5977e68b03fe8c32cfb9b94576ba709366c78d5a11b29492590b623ba9d38

See more details on using hashes here.

File details

Details for the file corptax-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: corptax-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for corptax-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f737ecc8588fda4641174486668a4414972055fc48a9462f9056a840b3a098ef
MD5 25d03dc7ebbc82f1365d762c51f14343
BLAKE2b-256 cb960daa2777afeafe64a49221c71ed6bef31c6fd55924b3dde727cb74714aaa

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