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

Uploaded Python 3

File details

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

File metadata

  • Download URL: corptax-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 b092d0baa3636947828aec3031250d46502f2bbc869349a84f3d7a827a8030fd
MD5 b5e95d45174de1868821b8c089a8e733
BLAKE2b-256 45f91145cd3c79f52f831b532585cd41d73be68adf75bf220692e40a43c70e1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: corptax-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 31633d01ca8ab4340896c7aa1e63d942b94ef2e649ea5df13892c1fa367a4666
MD5 fb27a7e16fbf14732307d5968acb8df5
BLAKE2b-256 256a7903f25ac753f364e27e60ea7741d2a24503eb7c9cf0034ebcc04becc3a0

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