EVE Uni Student Plugin for Alliance Auth
This is a plugin app for Alliance Auth designed to assist with managing member student titles within EVE University.
Features
- Automatically manages student titles based on configurable eligibility criteria.
- Periodically cleans up old member entries using Celery.
Installation
-
Add the app to your
INSTALLED_APPS: Add thestudentapp to theINSTALLED_APPSsection in yoursettings.pyfile:INSTALLED_APPS += [ 'student', ]
-
Apply migrations and collect static files: Run the following commands in your terminal:
python manage.py migrate python manage.py collectstatic
Configuration
Student Eligibility Days
Set the number of days a member must wait before being eligible for the student title. Add the following to your settings.py:
STUDENTDAYS = 14
By default, this is set to 14 days.
Set the number of people visible in the student page. Add the following to your settings.py:
STUDENTLIMIT = 50
By default, this is set to 50 people.
Celery Integration
Schedule Automatic Cleanup
To enable periodic cleanup of ineligible members, add the following task to your Celery schedule in settings.py:
from celery.schedules import crontab
CELERYBEAT_SCHEDULE["delete_excluded_members"] = {
"task": "student.tasks.delete_excluded_members",
"schedule": crontab(minute=0, hour=0), # Runs daily at midnight
}
Ensure your Celery worker and beat services are running.
Metadata
Release files for aa-student 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aa_student-0.3.0.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aa_student-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.1 kB
Release files / aa_student-0.3.0.tar.gz
| Download URL | aa_student-0.3.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46d3feba56469cac4fbb57f844e541301826bf376dbd212c7f66e861b7a17e64
|
|
BLAKE2b-256 checksum How to use checksums |
f3ec02eb10d09cf9b86f13773abdccbdc406ab76a455568076f6689b79553412
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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 Dec 31, 2024.
Transparency logRelease files / aa_student-0.3.0-py3-none-any.whl
| Download URL | aa_student-0.3.0-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1849dfcf9fd4dcde175f17ddac1f2e290ad42a0c000bb9f693cb7836671eca1d
|
|
BLAKE2b-256 checksum How to use checksums |
adcfae3f665cb8e786cb76ce1b5fff3930d5aedea8baf5195eba9b2a31e9e6aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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 Dec 31, 2024.
Transparency log