aa-routing
AllianceAuth Routing and Pathfinding
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 - Configuration
In the Admin interface, visit routing
or <AUTH-URL>/admin/routing
Settings
Name | Description | Default |
---|---|---|
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.
No reviews yet...
Python Requirements
- allianceauth<5.0.0,>=3.0.0
- django-solo<3.0.0,>=2.0.0
- networkx
Required Python packages to be installed and other Python requirement.
App Dependencies
Required apps:
-
Used by apps:
Dependencies to other apps registered in this app directory.
Classifiers
- Environment :: Web Environment
- Framework :: Celery
- Framework :: Django
- Framework :: Django :: 4.0
- Framework :: Django :: 4.2
- Intended Audience :: Developers
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.10
- Programming Language :: Python :: 3.11
- Programming Language :: Python :: 3.12
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
- Programming Language :: Python :: Implementation :: CPython
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
Version
0.2.2a0
License
MIT License
Homepage
https://gitlab.com/tactical-supremacy/aa-routing
PyPI
https://pypi.org/project/aa-routing/
Last updated
6 months, 1 week ago
First published
1 year ago
Category
Plugin Apps
Rating
-Authors
Ariel Rin
Maintainers
-
Please login to see more options.