aa-pootest
A minimal test plugin for Alliance Auth (AA).
It adds a single permission-gated page ("POO Test") to the AA sidebar that renders a Hello, World! card. Use it to verify your AA dev/prod setup can install and load a custom plugin, or as a starting point for your own app.
- Distribution (pip) name:
aa-pootest - Django app / module name:
pootest
Features
- Fully functional Alliance Auth app with a view and a basic permission
- Sidebar menu entry (visible only to users with the access permission)
- Pulls the structures owned by a corporation from ESI and shows each one in its own panel (System, Name, Structure Type, Fuel/Days Remaining, Last Update)
- Installable with the standard AA plugin workflow
Installation
Run all commands inside your Alliance Auth virtual environment.
1. Install the package
From a local checkout (editable, for development):
pip install -e aa-pootest
Or from a built/published package:
pip install aa-pootest
Or directly from git:
pip install git+https://github.com/PooAmped/aa-pootest
2. Enable the app
Add the app's module name to INSTALLED_APPS in myauth/settings/local.py:
INSTALLED_APPS += [
"pootest",
]
3. Run migrations & collect static files
python manage.py migrate
python manage.py collectstatic --noinput
4. Restart Alliance Auth
supervisorctl restart myauth:
5. Grant access
In the AA admin site, grant the permission
pootest | general | Can access this app to the relevant state or group.
Users with that permission will then see the POO Test entry in the sidebar.
Usage: list corporation structures
Open POO Test in the sidebar and click View Corporation Structures.
-
You'll be sent through EVE SSO to authorize a character. The character used must hold the Director or Station Manager role in the corporation you want to read — ESI enforces this server-side.
-
The required ESI scopes are requested automatically:
esi-corporations.read_structures.v1— read the corporation's structuresesi-universe.read_structures.v1— resolve structure namesesi-assets.read_corporation_assets.v1— read current fuel-bay contents (used to compute "Fuel Required")
If you authorized an earlier version, you'll be asked to re-authorize once to grant the new assets scope.
-
The page then shows every structure owned by that character's corporation, each in its own panel with these fields (label on the left, ESI value on the right):
- System: solar system the structure is in
- Name: the structure's name
- Structure Type: e.g. Fortizar, Raitaru, Astrahus
- Fuel Level: days until
fuel_expires(ESI does not expose an absolute fuel quantity on this endpoint) - Fuel Required: fuel blocks needed to run for 3 months, derived from the structure's current burn rate (current fuel ÷ hours-to-empty, scaled to 90 days). Shows "Unknown" if the structure has no fuel/expiry data or the assets scope wasn't granted.
- Last Update: when the data was pulled from ESI
If the character is not a Director / Station Manager (or the scopes were not granted), the page shows a warning instead of a list.
Settings
| Name | Description | Default |
|---|---|---|
POOTEST_SETTING_ONE |
Example optional value | None |
Override in myauth/settings/local.py if desired.
License
MIT — see LICENSE.
Metadata
Release files for aa-pootest 0.16.0
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 | |
|---|---|---|---|---|
| aa_pootest-0.16.0.tar.gz | 12.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aa_pootest-0.16.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.5 kB
Release files / aa_pootest-0.16.0.tar.gz
| Download URL | aa_pootest-0.16.0.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab391cea46f173eeb7960476759bc8b030454857e93543c19aeb3a00d6aefc19
|
|
BLAKE2b-256 checksum How to use checksums |
0a903e5ea5b44536c2bdf3715692fab302ac8c73e715e2f40291cddab59596f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.6
|
Release files / aa_pootest-0.16.0-py3-none-any.whl
| Download URL | aa_pootest-0.16.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98f430d9d3331c7725ae31c4a14ab85d7657857fb653d19b5a5660970f685228
|
|
BLAKE2b-256 checksum How to use checksums |
b1e06bc85434304707a0777d9afa8a973921d1bc737c8205c55da81d51238dcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.6
|
Security for aa-pootest 0.16.0
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.