Skip to main content

EVE Uni Calendar Plugin for Alliance Auth

This plugin app for Alliance Auth displays Eve University's Discord events in a calendar view, making it easy to keep track of scheduled activities.


Features

  • Displays Eve University's Discord events in a visually appealing calendar view.
  • Fully integrated with Alliance Auth and leverages Discord data.
  • Supports logging events to Google Sheets for historical tracking.

Installation

  1. Add the app to INSTALLED_APPS: Add eveunicalendar to the INSTALLED_APPS section of your settings.py:

    INSTALLED_APPS += [
        'eveunicalendar',
    ]
    
  2. Apply migrations and collect static files: Run the following commands:

    python manage.py migrate
    python manage.py collectstatic
    

Configuration

  1. Ensure Discord integration is enabled in Alliance Auth.

  2. Set the following environment variables in your local.py or .env file:

    • DISCORD_GUILD_ID: Your Eve University Discord server ID.
    • DISCORD_BOT_TOKEN: A valid bot token with permission to read scheduled events.
  3. Configure Google Sheets integration: Place your credentials.json file (from Google Sheets API setup) in the same directory as your local.py file, and add the following configuration to your local.py:

    import os
    
    BASE_DIR = os.path.dirname(os.path.abspath(__file__))
    GOOGLE_CREDENTIALS_FILE = os.path.join(BASE_DIR, 'credentials.json')
    

Optional config setting

Defaults are shown when not present.

GOOGLE_ACTIVE_SHEET = 'Current'
GOOGLE_ARCHIVE_SHEET = 'Archive'

Celery Integration

Add the following task to your Celery Beat schedule to fetch events hourly:

from celery.schedules import crontab

CELERYBEAT_SCHEDULE["populate_events"] = {
    "task": "eveunicalendar.tasks.populate_events",
    "schedule": crontab(minute=0),  # Runs hourly
}

Ensure your Celery worker and Celery Beat services are running to sync events automatically.


Support

For questions, issues, or feature requests, please contact the Eve University development team or submit an issue on the project's repository.

Metadata

Release files for aa-eveunicalendar 0.9.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-eveunicalendar 0.9.0
File Size Uploaded
aa_eveunicalendar-0.9.0.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-eveunicalendar 0.9.0
File Interpreter ABI Platform
aa_eveunicalendar-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.7 kB

Release files / aa_eveunicalendar-0.9.0.tar.gz

Download URL aa_eveunicalendar-0.9.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c6a77f8d274a0790652605932596b1237ea5a116ff27fa982ff4a7bc390032a3
BLAKE2b-256 checksum
How to use checksums
0ae596b8f6b48824538581cafc976076d7e21bbcfbfd59590fd04068fd04c0d5
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 Jan 21, 2025.

Transparency log

Release files / aa_eveunicalendar-0.9.0-py3-none-any.whl

Download URL aa_eveunicalendar-0.9.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5a6ecbb03ebba9ec44f537e8ae642ea0284e7ceb0da38acd2817600d1b4dd91
BLAKE2b-256 checksum
How to use checksums
c84a2ee6710aa95b6455ccad2ba0dcb3d290a0b866d8a8652c6ae667f6af14a9
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 Jan 21, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.4.0

2 release files

0.2.0

2 release files

0.1.0

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