Skip to main content

Analytics package for eve online

Project description

eve-analytics

Docs GitHub Actions Workflow Status

PyPI - Downloads PyPI - Version PyPI - Status PyPI - License

GitHub language count GitHub top language

eve-analytics is a Python package for parsing EVE Online combat logs and turning them into structured data and visual diagrams.

It helps you go from raw .txt logs → usable datasets → insights about fights, fleets, and pilot activity.

The package utilizing a SQLite DB to store log data and integrate Eve Online SDE.


Features

  • Parse EVE combat log files into structured data
    • json & dfs
  • Aggregate events like:
    • Damage (dmg)
    • Neutralizers / Nosferatu (neut, nos)
    • Repairs (reps, cap_reps)
    • Electronic warfare (jams, scrams)
    • Drones, reloads, links, and more
  • Build datasets for analysis and visualization
  • Designed to support diagram generation (fleet and pilot diagrams, timelines, etc.)

Installation

pip install eve-analytics

Quick Start

from eve_analytics import EveAnalytics

ea = EveAnalytics(log_directory="/path/to/logs")
ea.parse_logs()
ea.load_db()
ea.generate_analytics('a_match_id')
ea.save_analytics(save_dir="/path/to/save")

Setting the Log Directory

You can initialize with a directory:

ea = EveAnalytics(log_directory="/path/to/logs")

Or set it later:

ea = EveAnalytics()
ea.set_log_directory("/path/to/logs")

Supported Log Data

Each parsed log may include:

  • dmg — damage events
  • reps — repair events
  • neut / nos — capacitor warfare
  • jams — ECM events
  • scrams — tackle events
  • drones — drone activity
  • reloads — weapon reloads
  • links — command bursts
  • cap_warning — capacitor warnings
  • skipped — unparsed/ignored lines

Error Handling

The package includes custom exceptions:

  • LogLocationError — invalid directory path
  • LogDirectoryNotSetError — parsing attempted without setting a directory
  • MissingSDEError -- sde files are missing

Project Structure

eve_analytics/
├── ingest/
│   └── splicer.py
├── exceptions/
│   └── file_errors.py
├── __init__.py

Roadmap

  • Diagram generation (timeline / fleet engagement visuals)
  • Aggregated fight summaries
  • Pilot-level statistics
  • Export to CSV / Pandas DataFrames
  • Visualization integrations (matplotlib / web UI)

Contributing

Contributions are welcome. Open an issue or submit a PR.


License

MIT License


Disclaimer

EveAnalytics is a third-party tool and is not affiliated with CCP Games or EVE Online.

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

eve_analytics-0.0.12.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

eve_analytics-0.0.12-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file eve_analytics-0.0.12.tar.gz.

File metadata

  • Download URL: eve_analytics-0.0.12.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for eve_analytics-0.0.12.tar.gz
Algorithm Hash digest
SHA256 21aab4fb55f9281e98fb5db1bdb6d0a8a52341c5a3a3e5667610c80d032deefd
MD5 fa0f794372163465ad9005d464f6fb9e
BLAKE2b-256 fffd25e381d4941780df5cf5e95999a4901e406d6e336fcb1b19525beb6ebd2d

See more details on using hashes here.

File details

Details for the file eve_analytics-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: eve_analytics-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for eve_analytics-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 7be9ac2596ce87614db205e3c77cdc52780eb3df8e712e0ab29f5d884ec6bc12
MD5 fd2358dc5d507b3e8cd4b8ee4cb41f11
BLAKE2b-256 3e585af990d9b4deae3cc18fd4f19410099d17271482b43b1df70576e347da4c

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