Skip to main content

No project description provided

Project description

Moon Tools

moon frack monitoring and taxation, taxation is calculated ( default, but configurable ) 2 weekly and includes all valid "taxes" from the period.

tax options

  • Corp Filter
  • Rank system for all strucutres that are captured in a "Tax Group"
  • Flat rate or configurable variable tax rates per ore type More specific overrides the rest
  • Region filter
  • Constellation Filter
  • System Filter
  • Moon Filter

installation

  1. this app is built on corptools and invoices. install them first.
  2. pip install allianceauth-corptools-moons
  3. add 'moons' to your installed apps in local.py
  4. set your "public" moons variable in local.py
   PUBLIC_MOON_CORPS = [1234, 56789, 101112] # where the numbers are the corp ids
  1. run migrations
  2. run the setup management task
   python manage.py moons_setup_tool
  1. wait for the tasks to finish.

  2. you need to ensure all your corps have pulled data and are working correctly before you invoice for the first time.

  3. setup your tax brackets and taxation rates / zones in admin

    admin > moons > mining tax ( Highest rank is run first )

    check the settings in console

   python manage.py moons_tax_outstanding
Calculating!
Last Invoice 2021-09-06 00:00:00+00:00!
Doing some math... Please wait...

We've seen 56 known members!
We've seen 12 unknown characters!

Who have mined $833,068,517,622.8707 worth of ore!
Current Tax puts this at $195,791,603,220.688 in taxes!

the structures included are:
[system] - [name]
[system] - [name]
[system] - [name]
[system] - [name]
[system] - [name]
[system] - [name]
  1. once you are happy, open admin and enable and then run the Send Moon Invoices task. This will now run every 14 days. You can freely edit the period of this task to match what your group requires.

Ore Price Sources

MOONS_ORE_RATE_BUY_SELL

MOONS_ORE_RATE_BUY_SELL="buy"

  • Sets the ore prices to buy and uses the bucket defined in the MOONS_ORE_RATE_BUCKET option

MOONS_ORE_RATE_BUY_SELL="sell"

  • Sets the ore prices to buy and uses the bucket defined in the MOONS_ORE_RATE_BUCKET option

MOONS_ORE_RATE_BUY_SELL="split"

  • Sets the ore prices to a calculated split value and ignores bucket defined in the MOONS_ORE_RATE_BUCKET option
  • (Max Buy + Min Sell) / 2

MOONS_ORE_RATE_BUCKET

Sets the bucket used in buy/sell ore calculations:

  • MOONS_ORE_RATE_BUCKET="weightedAverage"
  • MOONS_ORE_RATE_BUCKET="max"
  • MOONS_ORE_RATE_BUCKET="min"
  • MOONS_ORE_RATE_BUCKET="stddev"
  • MOONS_ORE_RATE_BUCKET="median"
  • MOONS_ORE_RATE_BUCKET="percentile"

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

allianceauth_corptools_moons-1.0.1.tar.gz (833.3 kB view details)

Uploaded Source

Built Distribution

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

allianceauth_corptools_moons-1.0.1-py3-none-any.whl (868.9 kB view details)

Uploaded Python 3

File details

Details for the file allianceauth_corptools_moons-1.0.1.tar.gz.

File metadata

File hashes

Hashes for allianceauth_corptools_moons-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ecc059d2c69b84aefb460e20fad37cc56999dd8517fe1b8535b46594abce11b0
MD5 a57c83a2a51c94b32966b1c5440187e8
BLAKE2b-256 0234bae917471648877178bf81d1fee8ef88d3b33c2248b775bb2cf53d2b6dc5

See more details on using hashes here.

File details

Details for the file allianceauth_corptools_moons-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for allianceauth_corptools_moons-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f82f454e7089dc56a2f72e0dc1b34f1415ccc0ff3750aa047e3c2b362f8267d
MD5 b3ac5a631c35565e1dc010e8e6b839c6
BLAKE2b-256 98326bc3295fbd5a0a7f5e9e7f15d45b8db76f4b99ed90e7f092ab8a9df7257b

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