Skip to main content

Participant SDK for the EPIC — ELIOS Predictive Intelligence Challenge platform.

Project description

EPIC Participant SDK

epic-elios-client is the participant SDK for the EPIC — ELIOS Predictive Intelligence Challenge platform. It helps students and competitors authenticate, browse contests, collect live observations, submit predictions, and inspect results from the default EPIC server at https://epic.elioslab.net.

Installation

Install the SDK:

pip install epic-elios-client

Install the SDK with notebook extras for the Jupyter quickstart:

pip install "epic-elios-client[notebook]"

Minimal Usage

import asyncio

from epic_client import EPICClient


async def main():
    client = EPICClient("https://epic.elioslab.net")
    client.login("student1", "correct-password")

    contests = client.list_contests(status="ACTIVE")
    contest_id = contests[0]["contest_id"]

    observations = await client.collect(contest_id, duration_seconds=10)
    latest = observations[-1]

    submission = client.submit(
        contest_id=contest_id,
        task_id="forecasting",
        prediction_from_sequence=latest["sequence_id"],
        payload={
            "forecast": {
                "horizon_1": latest["sensors"],
                "horizon_5": latest["sensors"],
                "horizon_10": latest["sensors"],
            }
        },
    )
    print(submission)


asyncio.run(main())

Quickstart Notebook

Download and run the quickstart notebook for a step-by-step walkthrough: connect, collect observations, plot sensor data, and submit a prediction.

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

epic_elios_client-1.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

epic_elios_client-1.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file epic_elios_client-1.0.1.tar.gz.

File metadata

  • Download URL: epic_elios_client-1.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for epic_elios_client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e09402bf9105faf74a44a25560ac5deaa716bc16976ec0adfe10115d213ee18e
MD5 508344bfcc267b9101685bf4ef14b69b
BLAKE2b-256 8b5365e3956c8f7d7fa048453ca41213f1ccb6cfe86d8a5ddee8e2d23a245022

See more details on using hashes here.

Provenance

The following attestation bundles were made for epic_elios_client-1.0.1.tar.gz:

Publisher: publish-client.yml on Elios-Lab/epic

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

File details

Details for the file epic_elios_client-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for epic_elios_client-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3edb25b1c78a79c7662c5761a948dc9a352110376465dbcb4549eab47c054195
MD5 b11a5c118ab213d8ef6b208459aa313c
BLAKE2b-256 7e7b583926b794822252e8929e83203aae9c5a192bcb91b233b0d69ef3c3f92e

See more details on using hashes here.

Provenance

The following attestation bundles were made for epic_elios_client-1.0.1-py3-none-any.whl:

Publisher: publish-client.yml on Elios-Lab/epic

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