Skip to main content

Alliance Auth - Alumni

Features

  • Integration with Alliance Auth's State System, creates and maintains an Alumni State for past members of an Alliance and/or Corporation.

Installation

Step 1 - Prepare Auth

Remove/Promote any state with a priority of 1, Alumni is considered slightly better than the built in Guest State.

Step 2 - Install from pip

pip install aa-alumni

Step 3 - Configure Auth settings

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

  • Add 'alumni' to INSTALLED_APPS
  • Add below lines to your settings file:
## Settings for AA-Alumni
# Tasks
CELERYBEAT_SCHEDULE['alumni_run_alumni_check_all'] = {
    'task': 'alumni.tasks.run_alumni_check_all',
    'schedule': crontab(minute=0, hour=0, day_of_week=4),
    'apply_offset': True,
}
CELERYBEAT_SCHEDULE['alumni_run_update_models_subset'] = {
    'task': 'alumni.tasks.update_models_subset',
    'schedule': crontab(minute="0", hour="0"),
    'apply_offset': True,
}

Step 4 - Update AA's State system

python myauth/manage.py alumni_state

Step 5 - Maintain Alliance Auth

  • Run migrations python manage.py migrate
  • Gather your staticfiles python manage.py collectstatic
  • Restart your project supervisorctl restart myauth:

Step 6 - Configure Further

In the Admin interface, visit alumni > config > add or <AUTH-URL>/admin/alumni/config/add/ Select the Alliances and/or Corporations for which characters with historical membership are Alumni

Settings

Name Description Default
ALUMNI_CHARACTERCORPORATION_RATELIMIT Celery Rate Limit per worker, 10 tasks * 10 Workers = 100 tasks/min '10/m'

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.

Metadata

Release files for aa-alumni 1.0.1

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-alumni 1.0.1
File Size Uploaded
aa_alumni-1.0.1.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-alumni 1.0.1
File Interpreter ABI Platform
aa_alumni-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 40.3 kB

Release files / aa_alumni-1.0.1.tar.gz

Download URL aa_alumni-1.0.1.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fba6695f7354e4977c116f2226e986e0181afefb9e1e890c9683197e3f02443b
BLAKE2b-256 checksum
How to use checksums
62fb4270d056fb9c07c919b27f95e3e7acf77cffd71b55411fab5fee5349e294
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / aa_alumni-1.0.1-py3-none-any.whl

Download URL aa_alumni-1.0.1-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c365627db9e3e229f7735d62c242890cebd244ba3eb30e71c75ffdc59abb43d8
BLAKE2b-256 checksum
How to use checksums
8ead794202bf2ca42b56f6722b9254e1ddac808e0fe9b0384cb63a4d5f08748b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13
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