Metenox
AA module for Metenox management.
Features:
- Imports moon scans from the aa-moonmining application
- Import Metenoxes from a corporation
- Displays remaining fuel
- Displays currently stored moon materials
- Manager overview of corporation displaying their number of Metenoxes and profit
What this app won't do:
- Estimate moon price for athanor. Use aa-moonmining
- Ping when metenox are being reffed Use aa-structures
This module aims to be specific for Metenox management.
Screenshots
Installation
Step 1 - Check prerequisites
-
Metenox is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official AA installation guide for details)
-
Metenox requires the Django module django-eveonline-sde. Check installation instructions before installing metenox
Step 2 - Install app
Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the newest release from PyPI:
pip install aa-metenox
Step 3 - Configure Auth settings
Configure your Auth settings (local.py) as follows:
- Add
'metenox'toINSTALLED_APPS - Add below lines to your settings file:
CELERYBEAT_SCHEDULE['metenox_update_prices'] = {
'task': 'metenox.tasks.update_prices',
'schedule': crontab(minute='0', hour='*/12'),
'apply_offset': True,
}
CELERYBEAT_SCHEDULE['metenox_update_all_holdings'] = {
'task': 'metenox.tasks.update_all_holdings',
'schedule': crontab(minute='0', hour='*/1'),
'apply_offset': True,
}
CELERYBEAT_SCHEDULE['metenox_send_daily_analytics'] = {
'task': 'metenox.tasks.send_daily_analytics',
'schedule': crontab(minute='0', hour='5')
}
For the send_daily_analytics refer to analytics
Optional: Alter the application settings. The list can be found in Settings
Step 4 - Finalize App installation
Run migrations & copy static files
python manage.py migrate
python manage.py collectstatic --noinput
Restart your supervisor services for Auth.
Step 5 - Load data
If you already have aa-moonmoning installed you can get that data from that application running:
python manage.py metenox_update_moons_from_moonmining
Once it's done update their prices with
python manage.py metenox_update_all_prices
Analytics
This application will send anonymous analytic data using Alliance Auth built-in analytics module.
If you wish to disable the analytics for this application you can easily do so by removing the metenox_send_daily_analytics task.
The collected analytics are
- number of owners
- number of moons
- number of metenoxes
Permissions
Permissions overview.
| Name | Description |
|---|---|
view_moons |
This permissions allow to see all scanned moons of the database |
view_metenoxes |
This permissions allow to add owners and see all metenoxes from the owners corporations |
corporation_manager |
This permission allows to add webhooks to corporations and edit when a corporation should get fuel pings |
auditor |
This permission allows to see all metenoxes regardless of having an owner in the corporation |
Users need to have at least view_moons or view_metenoxes to be able to have any interactions with the application.
For the permissions corporation_manager and auditor to work properly the user needs to also have the view_metenoxes permission.
Settings
List of settings that can be modified for the application.
You can alter them by adding them in your local.py file.
| Name | Description | Default |
|---|---|---|
METENOX_ADMIN_NOTIFICATIONS_ENABLE |
Whether admins will get notifications about important events like when someone adds a new owner. | True |
METENOX_MOON_MATERIAL_BAY_CAPACITY |
Volume of the Metenox's Moon material Output Bay. Used to calculate how long a metenox takes before being full. This value shouldn't be edited |
500_000 |
METENOX_HOURLY_HARVEST_VOLUME |
Hourly volume in m3 that a metenox will harvest. This value shouldn't be edited |
30_000 |
METENOX_HARVEST_REPROCESS_YIELD |
Yield at which the metenox reprocess the harvested materials. This value shouldn't be edited |
0.40 |
METENOX_FUEL_BLOCKS_PER_HOUR |
How many fuel blocks a running Metenox consumes every hours. This value shouldn't be edited |
5 |
METENOX_MAGMATIC_GASES_PER_HOUR |
How many magmatic gases a running Metenox consumes every hours. This value shouldn't be edited |
110 |
METENOX_DAYS_BETWEEN_GOO_BAY_PINGS |
How many days minimum there should be between two ping that the moon material bay is too full | 110 |
Commands
The following commands can be used when running the module:
| Name | Description |
|---|---|
metenox_update_all_holdings |
Fetches all holdings in the database and updates their metenoxes with the ESI |
metenox_update_all_prices |
Fetches new prices from fuzzwork and update the price of all known moons |
metenox_update_moons_from_moonmining |
Checks the moonmining application and adds all missing moons |
metenox_tag_moons_in_range |
Tag moons in a given range of base system |
Metadata
Release files for aa-metenox 2.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aa_metenox-2.2.3.tar.gz | 165.9 kB | Without provenance | Details for aa_metenox-2.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aa_metenox-2.2.3-py3-none-any.whl | Python 3 | none | any | Details for aa_metenox-2.2.3-py3-none-any.whl |
Total release size: 376.6 kB
Release files / aa_metenox-2.2.3.tar.gz
| Download URL | aa_metenox-2.2.3.tar.gz |
|---|---|
| Size | 165.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
716c810a3abd96cc63fee25ffca40e9081581231349baad39d84c2c33c461386
|
|
BLAKE2b-256 checksum How to use checksums |
8bbc2a93488deed51edcc44255fe3c276c1df8cd1c930c3025fa60f4f398805e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / aa_metenox-2.2.3-py3-none-any.whl
| Download URL | aa_metenox-2.2.3-py3-none-any.whl |
|---|---|
| Size | 210.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7e7824136a24287421d108af467e6e68e09cd1aac575b878748c972981be40c
|
|
BLAKE2b-256 checksum How to use checksums |
c5bf26fd8c619db80daf2d2c94189178ba2d18339ff2b5135d2edaf5e61f1618
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for aa-metenox 2.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.