Skip to main content

Eve Online SDE Export in Django Model form

Project description

Django Models from EVE SDE

PyPI Discord

Base models from SDE, with an experiment in in-database translations pulled from the SDE and minor helpers for common functions.

EVE SDE Docs

EVE SDE

See eve_sde/sde_types.txt for an idea of the top level fields that are available in the SDE, note that some fields have sub fields that are imported differently.

Current list of imported models

  • Map
  • Region
  • Constellation
  • SolarSystem
  • Planet
  • Moon
  • NPC Station
  • Stargate
  • Item Market Groups
  • Item Groups
  • Item Categories
  • Item Types
  • Item Dogma
  • Dogma Categories
  • Dogma Units
  • Dogma Attributes
  • Dogma Effects
  • Blueprints
    • Activities
      • Products
      • Materials

Setup

  • pip install django-eveonline-sde

  • modify your local.py as modeltranslation needs to be first in the list.

    INSTALLED_APPS = [
        "modeltranslation",
    ] + INSTALLED_APPS
    
    INSTALLED_APPS += [
        # ..... the rest of your apps
    ]
    
  • Add "eve_sde", to your INSTALLED_APPS

  • migrate etc

  • python manage.py esde_load_sde

  • Add a periodic task to check for SDE updates, which tend to happen after downtime.

    if "eve_sde" in INSTALLED_APPS:
        # Run at 12:00 UTC each day
        CELERYBEAT_SCHEDULE["EVE SDE :: Check for SDE Updates"] = {
            "task": "eve_sde.tasks.check_for_sde_updates",
            "schedule": crontab(minute="0", hour="12"),
        }
    

Optional Settings

ESDE_BATCH_SIZE

Defaults to 500 reduce for smaller DB inserts

ESDE_CHUNK_SIZE

Defaults to 5000 reduce if heavily memory constrained

ESDE_TASK_SPLIT

Splits the update tasks into smaller sub tasks Defaults to False toggle if bare metal or you have a non standard persistent storage for your myauth folder in docker. See Issue #26

Contributors

Thankyou to all our contributors!

contributors

Credits

Because i am lazy, Shamlessley built using This Template <3 @ppfeufer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_eveonline_sde-0.0.1b9.tar.gz (55.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_eveonline_sde-0.0.1b9-py3-none-any.whl (73.9 kB view details)

Uploaded Python 3

File details

Details for the file django_eveonline_sde-0.0.1b9.tar.gz.

File metadata

  • Download URL: django_eveonline_sde-0.0.1b9.tar.gz
  • Upload date:
  • Size: 55.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for django_eveonline_sde-0.0.1b9.tar.gz
Algorithm Hash digest
SHA256 3b42c9ed069b5ddf6480fe105c795a138af31c8a4903b006ef4c08cb08f0371b
MD5 252d9946c46648dc658205ea6dac8420
BLAKE2b-256 891beefc38fe0d9a8ab561f9f1e1a6bf528d990c76ae077dfa6038280a3ec132

See more details on using hashes here.

File details

Details for the file django_eveonline_sde-0.0.1b9-py3-none-any.whl.

File metadata

File hashes

Hashes for django_eveonline_sde-0.0.1b9-py3-none-any.whl
Algorithm Hash digest
SHA256 1a3f5fd64ee237eff238a75d89985dac670444a0d4fe91e96f44f064145d445e
MD5 6b70915746a56885112a473119cff12f
BLAKE2b-256 289eb99a26585678c61dc3e996540fab9c6e04e1a265b1fa8feea322fc1673c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page