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
  • 15 endpoints — public (server, character, corporation, universe) and authenticated (wallet, skills, location, industry, market, mail, fatigue)
  • Abstract auth — implement AbstractAuth to plug in any OAuth2 token source
  • Type-safe — PEP 561 compatible (py.typed), strict mypy configuration
  • Tested — 100% 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 15 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.3.0.tar.gz (28.8 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.3.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_eveonline-0.3.0.tar.gz
  • Upload date:
  • Size: 28.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 849f18add38f66edd60e3c1dd914a49b11646571f3036bd74acf82f44a473a20
MD5 a3f59f554cf2a5be644fd114d3c50318
BLAKE2b-256 3bad8eb995a3e3282ad0b114c03bef9c2a02885e0427669fc56f9cb641e8f864

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_eveonline-0.3.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_eveonline-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59784ddce69a9a87d6744b385101c0b1c50b79933048f877f482bf047dc0801f
MD5 719038028b62d109fcb42e1d7dcc0024
BLAKE2b-256 1c7f2d097040c7724ae279ae32c1c0a0508c569677655bf6e7956add15f580c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_eveonline-0.3.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