Registry / database / django-eveonline-sde

django-eveonline-sde

JSON →
library0.0.1b10pypypiunverified

Django-eveonline-sde provides Django models for the EVE Online Static Data Export (SDE), allowing developers to easily integrate SDE data into their Django projects. It includes management commands to download and import the SDE. The current version is `0.0.1b9`, and it's under active development as a beta project by the Brave Collective, with updates released on an irregular basis as features are added or refined.

pip install django-eveonline-sde
INSTALL
IMPORT
SIG · DJANGO-EVEONLINE-S
D
django-eveonline-sde
databasepythonv0.0.1b10
Install
Import
Disk
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
build_error
glibc
py 3.103.910 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

InvType
from eveonline_sde.models import InvType
TypeCategory
from eveonline_sde.models import TypeCategory
SolarSystem
from eveonline_sde.models import SolarSystem
All SDE models are found within the `eveonline_sde.models` module.

To get started, add `eveonline_sde` to `INSTALLED_APPS`, run database migrations, and then use the provided management commands `download_sde` and `import_sde` to populate your database. Afterwards, you can query the SDE models like any other Django model.

# settings.py INSTALLED_APPS = [ # ... 'eveonline_sde', # ... ] # Run migrations # python manage.py migrate eveonline_sde # Download and import SDE data # python manage.py download_sde # python manage.py import_sde # Example usage in a Django shell or view from eveonline_sde.models import InvType try: tristanium = InvType.objects.get(name='Tristanium') print(f"Tristanium Type ID: {tristanium.type_id}") except InvType.DoesNotExist: print("Tristanium not found. Did you import the SDE?")
Debug
Known issues
breakingAs a beta package, database schema changes might occur between minor versions. This could require new migrations or even a full SDE re-import.
fix
Always review release notes for new versions. Be prepared to run `makemigrations` and `migrate` for `eveonline_sde` and potentially `download_sde` and `import_sde` again after upgrading.
affects: <1.0.0
gotchaThe EVE Online SDE is very large. Downloading and importing it into your database can take a significant amount of time and consume substantial disk space (several GB).
fix
Ensure you have adequate disk space and allocate sufficient time for the `download_sde` and `import_sde` commands to complete, especially on initial setup or major SDE updates. Consider running these operations in a robust environment (e.g., within a screen or tmux session).
affects: All
gotchaSDE data updates are not automatic. You must manually run `download_sde` and `import_sde` management commands to get the latest SDE version.
fix
Implement a scheduled task (e.g., using Celery Beat or a cron job) to periodically run `python manage.py download_sde && python manage.py import_sde` to keep your SDE data up-to-date. Note: Running `import_sde` will update existing records and insert new ones; it won't delete old data if SDE structure changes dramatically.
affects: All
Upgrade
Version history
0.0.1b10latest on PyPI · released Jun 16, 2026
Audit
Dependencies
DjangorequiredThis is a Django app and requires Django to run.
requestsrequiredUsed internally for downloading the SDE files.
celeryoptionalOptional for asynchronous SDE import/update tasks.
django-celery-beatoptionalOptional for scheduling SDE updates with Celery.
Agent activity
9 hits · last 30 days
node
8
Resources
django-eveonline-sde — pip install django-eveonline-sde · libregistry