Skip to main content

AllianceAuth Routing and Pathfinding

Project description

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' to INSTALLED_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 pull_data_solarsystems, pull_data_connections, import_trig_data

pull_data_solarsystems()
pull_data_connections()
import_trig_data()

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.

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

aa_routing-0.3.0a0.tar.gz (70.1 kB view details)

Uploaded Source

Built Distribution

aa_routing-0.3.0a0-py3-none-any.whl (77.6 kB view details)

Uploaded Python 3

File details

Details for the file aa_routing-0.3.0a0.tar.gz.

File metadata

  • Download URL: aa_routing-0.3.0a0.tar.gz
  • Upload date:
  • Size: 70.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aa_routing-0.3.0a0.tar.gz
Algorithm Hash digest
SHA256 2288dd12404b7be196dbbfee435ba42f49de58cb3114553c1e706f1eabbf0ab0
MD5 3bb14420297d305a750d45a969f81c95
BLAKE2b-256 5652e8bfa1090d0c82bda1c7afb82426d4dd997c0502576f25041cbf0d6dc703

See more details on using hashes here.

File details

Details for the file aa_routing-0.3.0a0-py3-none-any.whl.

File metadata

  • Download URL: aa_routing-0.3.0a0-py3-none-any.whl
  • Upload date:
  • Size: 77.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aa_routing-0.3.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 36fd7279ef3b72c9a6b6e7c1e8554e392b840d7157d6ba12a2f8900835031c06
MD5 52b5818e230b2fb7f3bddd6e0095928b
BLAKE2b-256 6e9d9969eb54269c74c511f6775914fedf50b49aa73be869f42519f629253566

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page