Skip to main content

Killstats module for AllianceAuth.

pre-commit.ci status Code style: black Tests codecov Translation status Discord

ko-fi

Killstats for Corporations & Alliances, Hall of Fame, Hall of Shame, etc.

-

Features

  • Graphical Overview
  • Corporation & Alliance Overview
  • Kills/Losses
  • Hall of Fame, Hall of Shame
  • Killstats like Top Kill, Top Killer, Top Loss, Alltime Killer, etc.
  • Top 10 list for each Month

Upcoming

  • Filtering Settings for each Corporation / Alliance
  • Administration Access for specific Corps or Alliances

Highlights

Killboard Overview

Installation

Step 1 - Install the Package

Make sure you're in your virtual environment (venv) of your Alliance Auth then install the pakage.

pip install aa-killstats

Step 2 - Configure Alliance Auth

Configure your Alliance Auth settings (local.py) as follows:

INSTALLED_APPS = [
    # other apps
    "eve_sde",  # only if it not already existing
    "killstats",
    # other apps?
]

# This line is right below the `INSTALLED_APPS` list, if not already exist!
INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPS

Step 3 - Add the Scheduled Tasks

To set up the Scheduled Tasks add following code to your local.py

if "killstats" in INSTALLED_APPS:
    CELERYBEAT_SCHEDULE["Killstats :: Check for Killmails"] = {
        "task": "killstats.tasks.run_tracker_zkb",
        "schedule": crontab(minute="*/1"),
    }
    CELERYBEAT_SCHEDULE["Killstats :: Check for Missing Killmail Data"] = {
        "task": "killstats.tasks.run_tracker_missing_data",
        "schedule": crontab(minute="*/15"),
    }

Step 3.1 - (Optional) Add own Logger File

To set up the Logger add following code to your local.py Ensure that you have writing permission in logs folder.

LOGGING["handlers"]["killstats_file"] = {
    "level": "DEBUG",
    "class": "logging.handlers.RotatingFileHandler",
    "filename": os.path.join(BASE_DIR, "log/killstats.log"),
    "formatter": "verbose",
    "maxBytes": 1024 * 1024 * 5,
    "backupCount": 5,
}
LOGGING["loggers"]["extensions.killstats"] = {
    "handlers": ["killstats_file"],
    "level": "DEBUG",
}

Step 4 - Migrate & Preload EVE SDE Data

AA Killstats uses EVE SDE data to map IDs to names for EveTypes. You will need to preload some data from SDE once.

python manage.py migrate eve_sde
python manage.py esde_load_sde

Step 4.1 - Migrate App and collect static

Migrate the app and collect static.

python manage.py migrate killstats
python manage.py collectstatic --noinput

Step 5 - Setting up Permissions

With the Following IDs you can set up the permissions for the KILLSTATS

ID Description
basic_access Can access this app, Killstats. All Members with the Permission can access the Killstats App.
admin_access Has access to all killstats. Has access to all Killstats Views, Can add Corporation/Alliance.

Step 6 - (Optional) Setting up Compatibilies

The Following Settings can be setting up in the local.py

Setting Configuration(default) Description
KILLSTATS_APP_NAME "YOURNAME" ("Killstats") Set the name of the APP.
KILLSTATS_API_CACHE_LIFETIME 5 (10) Set Cache Lifetime for Killstats in Minutes.

Step 6 - (Optional) Settings

  • KILLSTATS_BULK_BATCH_SIZE: 500 - Maximum database batch size per operation. Reduce (e.g., 250) if encountering 'max_allowed_packet' errors, increase for better performance if MySQL is configured with higher limits

Translations

Translations

Help us translate this app into your language or improve existing translations. Join our team!"

The texts of the app live in the namespace translation (frontend/i18n/<lng>/translation.json). The shared frontend components (tables, modals, menu, loaders) come from the npm package aa-geuthur-react; their texts live in the namespace aa-geuthur-react, which the package bundles and registers with i18next itself, so the app neither copies nor loads them. Both are translated on Weblate, the package in its own component. Only en holds the English text as value (the scanner maintains only that file); the other languages hold only real translations as Weblate writes them, and a missing key falls back to English at runtime (fallbackLng: "en").

Contributing

You want to improve the project? Please ensure you read the contribution guidelines

Metadata

Release files for aa-killstats 5.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aa-killstats 5.0.0
File Size Uploaded Provenance Actions
aa_killstats-5.0.0.tar.gz 1.2 MB With provenance Details for aa_killstats-5.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aa-killstats 5.0.0
File Interpreter ABI Platform Actions
aa_killstats-5.0.0-py3-none-any.whl Python 3 none any Details for aa_killstats-5.0.0-py3-none-any.whl

Total release size: 2.4 MB

Release files / aa_killstats-5.0.0.tar.gz

Download URL aa_killstats-5.0.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
c6428a7b6b92567e292eeb1ad666782afe8a28f081910a7d2672039daf882994
BLAKE2b-256 checksum
How to use checksums
1b31fe30c0ac9f48508bfaa02f2a0887d35c73b9f16cf9e0d5b8c8c1765891f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aa_killstats-5.0.0-py3-none-any.whl

Download URL aa_killstats-5.0.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d897b7e03c3d27d6de378a88cb9ff331040ab080b964278dde541403baecddfd
BLAKE2b-256 checksum
How to use checksums
fc612592cb246b64d0c494d403be95d784de4e9a985f83b073599fa3cd0a31e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for aa-killstats 5.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aa_killstats-5.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page