Skip to main content

Alliance Auth Plugin

Project description

AA-Statistics

AA-Statistics for Alliance Auth.

Periodically gather and update statistics for use by other modules

Currently used by

  • AA-DiscordBot
  • AA-SmartGroups

Currently offers

Setup

  1. pip install git+https://github.com/pvyParts/aa-statistics.git
  2. add 'aastatistics', to INSTALLED_APPS in your local.py
  3. migrate database and restart auth
python manage.py migrate
python manage.py collectstatic
  1. Add the following lines to your local.py
## Settings for AA-Statistics
MEMBER_ALLIANCES = [111, 222, 333] # Alliances you care about statistics for
## Periodic Tasks for AA-Statistics
CELERYBEAT_SCHEDULE['aastatistics.run_stat_model_update'] = {
    'task': 'aastatistics.run_stat_model_update',
    'schedule': crontab(minute=0, hour=0,)
}

Issues

Please remember to report any AA-Statistics related issues using the issues on this repository.

Contribute

All contributions are welcome, but please if you create a PR for functionality or bugfix, do not mix in unrelated formatting changes along with it.

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-statistics-0.2.1.tar.gz (11.7 kB view hashes)

Uploaded Source

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