Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Alt Corp management app for Alliance Auth

Badge: Version Badge: License Badge: Supported Python Versions Badge: Supported Django Versions Badge: pre-commit Badge: pre-commit.ci status Badge: Code Style: black Badge: Automated Tests Badge: Code Coverage

Features

Players can request an alt corp be added to your alt alliance. Requests cannot be completed without all characters in that corp having tokens in auth.

Installing

Altcorp is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official AA installation guide for details)

pip install aa-altcorp

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

  • Add 'altcorp' to INSTALLED_APPS
  • Add the following required lines to your settings file:
AC_ALT_ALLIANCE = 123456  # alt alliance ID
CELERYBEAT_SCHEDULE["altcorp_update"] = {
    "task": "altcorp.update_corp_requests_for_alliance(",
    "schedule": crontab(minute=0, hour=3),
    "apply_offset": True,
}

Run migrations & copy static files

python manage.py migrate
python manage.py collectstatic

Restart your supervisor services for Auth

Settings

Here is a list of available settings for this app. They can be configured by adding them to your Auth settings file (local.py).

Note that all settings are optional and the app will use the documented default settings if they are not used.

Name Description Default
AC_ALT_ALLIANCE The ID of the alt alliance. 123456
AC_ALLIANCE_IDS A list of alliance ID's. Toons in an alt corp must have their users main character as part of one of theses alliances. Blank ignores this check and will allow anyone to be in an alt corp []
AC_WEBHOOK Webhook for sending manager notifications` ``
AC_REVOKE_DAYS Days of non compliance before the app tells you to remove a corp from alt alliance 7
AC_IGNORE_CORPS A list of corps in the alt alliance to ignore. Use to ignore executor or other corps that don't require checks. []
AC_REQUIRED_SCOPE A list of states and scopes to check toons for. {"Member": ["publicData"]}

Permissions

Here are all relevant permissions:

Codename Description
general - Can access this app Basic permission required by anyone to access this app and request an alt corp.
general - Can manage alt corp requests Users with this permission can manage requests.

Release files for aa-altcorp 0.1.2b0

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-altcorp 0.1.2b0
File Size Uploaded
aa_altcorp-0.1.2b0.tar.gz 90.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-altcorp 0.1.2b0
File Interpreter ABI Platform
aa_altcorp-0.1.2b0-py3-none-any.whl Python 3 none any Details

Total release size: 187.2 kB

Release files / aa_altcorp-0.1.2b0.tar.gz

Download URL aa_altcorp-0.1.2b0.tar.gz
Size 90.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f996abea3f293ae824c12ab7370a6cc694fce27928c804a4b6e69e9c91b7aee9
BLAKE2b-256 checksum
How to use checksums
5a3b3b5943f7d7de71fe7dd3b312875d8b77647095032a545f844b01f2e549fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / aa_altcorp-0.1.2b0-py3-none-any.whl

Download URL aa_altcorp-0.1.2b0-py3-none-any.whl
Size 97.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45b66f5d696fff6e2a399da0c8c8a351711f08f93e37bd5b84c15ce7b588ebe2
BLAKE2b-256 checksum
How to use checksums
6588687d8dfabedaa569744ecd832038af59726029d139fcd756745344480531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

This release

0.1.2b0 This release

2 release files

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