Skip to main content

Eve Online SDE Export in Django Model form

Project description

Django Models from EVE SDE PyPI - Version

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
  • Stargate
  • Item Groups
  • Item Categories
  • Item Types
  • Item Dogma
  • Dogma Categories
  • Dogma Units
  • Dogma Attributes

Setup

  • pip install

  • 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 happend 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"),
        }
    

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.1b1.tar.gz (42.2 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.1b1-py3-none-any.whl (55.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_eveonline_sde-0.0.1b1.tar.gz
  • Upload date:
  • Size: 42.2 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.1b1.tar.gz
Algorithm Hash digest
SHA256 64b04cb1e19bb252a685125255c8a87b851f48b90807939fda832aa4a12eff3b
MD5 33bb2a143bef394de1784c1a91a66f39
BLAKE2b-256 3ce06d63949ecee32592d762ce930030d49e9131709970f828f908202a489cca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_eveonline_sde-0.0.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 b28df4ff8f7223ee5a70aa731084680b2c503549a3d6ea3aa2e4de88a6df0760
MD5 d70c4d4ee96c29324f0de16c6ce79d0e
BLAKE2b-256 88112ef22c6d8a7fd4b4404fd8c52bafb1a0f09c00a9cf432da09811839db66c

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