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.3.tar.gz (26.4 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.3-py3-none-any.whl (52.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: corptax-0.1.3.tar.gz
  • Upload date:
  • Size: 26.4 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.3.tar.gz
Algorithm Hash digest
SHA256 230c2519981c081b69ba8735283c4826b260f4cfb0576221fbfa2ee4f52ee072
MD5 6bf93ad29c2e5c5c8496663c1e657db4
BLAKE2b-256 ccefba1f2df5903048ee96a86fa29aa35350311e002819273e3f4703bca0e774

See more details on using hashes here.

File details

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

File metadata

  • Download URL: corptax-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 52.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 51b9b038809a4656c3a21546cf8b68fab77daa6e138ca063a3e898f0c7993ec7
MD5 0fb70b613e5b234af4b0f9a582418b7f
BLAKE2b-256 1145f4b738e9e9b86f47c51d747c1666d36b61822c8990e83e6c1e7802b0423c

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