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

Uploaded Python 3

File details

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

File metadata

  • Download URL: corptax-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 5b6bb2a22aeda759daae0e59d9ee70298433f0ff2951176fc6b252732449176e
MD5 d3cad0cae850d19823d46b239a125c6e
BLAKE2b-256 4b99479762c4e36a13756ce152ddcdf28145710f1aec4e5a195633be0290b7cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: corptax-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 14706c4a11aa42cb673253c581939f63f58bda34e7e702fd29f512341cceebf1
MD5 43bb89a110198c238729fccb81ae3e90
BLAKE2b-256 65ff483c07da08758dd53ea887df1f2bdd9f34c27dae2823d0ad52b25d4e3f35

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