This repository has been archived by the owner. It is now read-only.
Package mainly designed for Django to interact and gather Data for 3rd Party devs in Eve Online.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


  • Gather all eve Online data and give a convienient function to refreash your data
  • all Data is static data generated with a base class as controll
  • Why you are asking? Simple static code analysis makes Testing a lot easier when new features are introduced to eve api.

Integration is designed for:

  • django with OAuth2 and a django restframework
  • django middleware adds your oAuth header to EveData Request object so you dont have to think about is in Development and have an easy to use api where only the data access of your account is the limit
  • but can also be used for other frameworks just not as convient till you implement an middleware of your own

Comfort layer

  • Layer is designed to get a easy to use Access representing combination of EveData like esi and static_data
  • TODO

How to

  1. pip install django_eve_data or add package to your Enviroment

    Packages you will need:

    • django >= 1.10.*
    • social-auth-app-django
    • django_eve_data

    Optional Packages:

    • djangorestframework
    • django-cors-headers
    • django-rest-framework-social-oauth2
  2. django settings full settings for OAuth2 and optional django_rest_framework:

        'rest_framework_social_oauth2', # Optional
        'rest_framework', # Optional

            'OPTIONS': {
                'context_processors': [
                    # OAUTH2
    # Example both are optional if you intent not to migrate new data
    EVE_STATIC_DATABASE_PATH = "Path to your static eve database " 
        'eve_static_data': {
            'ENGINE': 'django.db.backends.sqlite3',
        # Eve Backend
        # OAuth2 backend

    LOGIN_URL = '/login/'
    SOCIAL_AUTH_EVEONLINE_KEY = 'enter your key from eve online' 
    SOCIAL_AUTH_EVEONLINE_SECRET = 'enter your secret from eve online'
     Comment out or delete the rights you dont need
    AUTH_USER_MODEL = 'django_eve_data.EveUser'

For social Auth and Admin you need also to add

    url(r'', include('social_django.urls', namespace='social')),
    url(r'^auth/', include('rest_framework_social_oauth2.urls')),

to your url paths, but best to look it up in the links below.

Migrate eve_data

If you want newer data then the package provides you can migrate new static_db_model and python esi_api yourself. But be aware its not testet dont write silly issues without mentioning it!

  1. open a console where your is
  2. python -h
    This command should give you the option migrate_eve_data
  3. execute: python migrate_eve_data

Setting up your Social Auth also explained in the links below

if you have not already

  • migrate (social user has its own model)
  • createsuperuser
  • login to your adminmenue and add am application to Django OAuth Tool Kit


basic esi useage (Charakter and so on only work after middleware is executed or header is set manualy)

    from django_eve_data.esi_api import alliances

or comfort layer in future

    from django_eve_data.comfort_layer import *

or for static data model

    from django_eve_data.static_data_export.static_model import *

Helpful Links if i missed smth in oAuth2 or restframework

If you want to help make an issue or better a pull request with a solution. There should be plenty comfort classes missing you can add