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 details)

Uploaded Source

File details

Details for the file aa-statistics-0.2.1.tar.gz.

File metadata

  • Download URL: aa-statistics-0.2.1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for aa-statistics-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ccffbff04345ea0ef9ba94896402affce97829208324dc6948c0170f1ca2da4f
MD5 ef5d79624e6291c416e60dce72979aef
BLAKE2b-256 d762cc4e9a31010172f4ca7283199d423b2cb496970d212fd163a0a2e64cea57

See more details on using hashes here.

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