Skip to main content

Async Python client for the Eve Online ESI API

Project description

python-eveonline

PyPI Python License GitHub Release

Async Python client library for the Eve Online ESI API.

Built for use with Home Assistant but can be used standalone in any async Python project.

Features

  • Fully async — built on aiohttp
  • Typed models — all API responses are frozen dataclasses with full type annotations
  • 23 endpoints — public (server, character, corporation, universe) and authenticated (wallet, skills, location, industry, market, mail, notifications, clones, fatigue, contacts, calendar, loyalty, killmails)
  • Abstract auth — implement AbstractAuth to plug in any OAuth2 token source
  • Type-safe — PEP 561 compatible (py.typed), strict mypy configuration
  • Tested — ≥98% test coverage

Installation

pip install python-eveonline

Quick start

import asyncio
import aiohttp
from eveonline import EveOnlineClient

async def main():
    async with aiohttp.ClientSession() as session:
        client = EveOnlineClient(session=session)
        status = await client.async_get_server_status()
        print(f"{status.players} players online (v{status.server_version})")

asyncio.run(main())

Documentation

  • Quickstart — public and authenticated endpoint examples
  • Authentication — implementing AbstractAuth, required OAuth scopes
  • Endpoints — full reference with field tables for all 23 methods
  • Error Handling — exception hierarchy, rate limiting, ESI cache times

License

MIT

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

python_eveonline-0.4.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

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

python_eveonline-0.4.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file python_eveonline-0.4.0.tar.gz.

File metadata

  • Download URL: python_eveonline-0.4.0.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for python_eveonline-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3d61ac28565f2e9cce4a73cdc3d259c1c07ee13c0a06b6bb6f30a7c05a47706a
MD5 a748e7d9a6bd18b39ae2978e5c160ac8
BLAKE2b-256 59a10c64fca3a346fdc9a0381e42166ff4f0eaabd3887bc4cab88ff0212cf8f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_eveonline-0.4.0.tar.gz:

Publisher: ci.yml on ronaldvdmeer/python-eveonline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_eveonline-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_eveonline-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fcb7e3cae4c71420c8f1d8442e42d9dd163ef1e96931496af3614f2c25033eb
MD5 6b3b348d48db7511f77b900bac8910a4
BLAKE2b-256 73845b1990fc9dfe4fde64dcf7b2d29698c1a78315a8bb039ba402831a1fdcf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_eveonline-0.4.0-py3-none-any.whl:

Publisher: ci.yml on ronaldvdmeer/python-eveonline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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