Routing for Alliance Auth
Routing is a pathfinding plugin for Alliance Auth.
Features
-
def route_path(source: int, destination: int, mode="p_shortest", algorithm="astar", edges: list = [], static_cache: bool = False) -> List[int]:
-
def route_length(source: int, destination: int, mode="p_shortest", algorithm="astar", edges: List = [], static_cache: bool = False ) -> int:
-
def systems_range(source: int, range: int, mode="p_shortest", edges: list = [], static_cache: bool = False) -> List:
-
A pregenerated optional Graph dict, to reduce DB load and processing for mass use, cannot guarantee accuracy without shipping new versions.
Implementations
Planned
AA Drifters AA Incursions
Installation
Routing is an App for Alliance Auth, Please make sure you have this installed. Routing is not a standalone Django Application
Step 1 - Install app
pip install aa-routing
Step 2 - Configure Auth settings
Configure your Auth settings (local.py) as follows:
- Add
'routing'toINSTALLED_APPS - Add below lines to your settings file:
Step 3 - Maintain Alliance Auth
- Run migrations
python manage.py migrate - Gather your staticfiles
python manage.py collectstatic - Restart your project
supervisorctl restart myauth:
Step 4 - Pull Required Data
python manage.py shell
from routing.tasks import import_trig_data
import_trig_data()
Settings
| Name | Description | Default |
|---|
Development
Regenerating the static procompute
python manage.py routing_precompute
drag from routing_output.txt to static_data.py
Contributing
Make sure you have signed the License Agreement by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.
Metadata
Release files for aa-routing 1.1.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 | Actions |
|---|---|---|---|---|
| aa_routing-1.1.0.tar.gz | 90.5 kB | Without provenance | Details for aa_routing-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aa_routing-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for aa_routing-1.1.0-py3-none-any.whl |
Total release size: 190.6 kB
Release files / aa_routing-1.1.0.tar.gz
| Download URL | aa_routing-1.1.0.tar.gz |
|---|---|
| Size | 90.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
341cba5c056a7dd43bf7cee1eb9e4cf9350246214ec28efaca36989d9b532cd4
|
|
BLAKE2b-256 checksum How to use checksums |
27bea66db6a7da7cde65b7609e08c199d74de8d0d159b8b21aa5e26062839d5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / aa_routing-1.1.0-py3-none-any.whl
| Download URL | aa_routing-1.1.0-py3-none-any.whl |
|---|---|
| Size | 100.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d508be8972c66f5e78da8217c3f2babe2e6c252fb0ba6e29160933f1985821c3
|
|
BLAKE2b-256 checksum How to use checksums |
f3e6edfa5154dfc1cd6883d0e22caf6cd7add68068581021af81591601cfa06f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for aa-routing 1.1.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.