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 - 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.

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.2.1a0.tar.gz (69.4 kB view hashes)

Uploaded Source

Built Distribution

aa_routing-0.2.1a0-py3-none-any.whl (76.1 kB view hashes)

Uploaded Python 3

Supported by

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