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())

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.0.tar.gz (3.9 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.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: epic_elios_client-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 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.0.tar.gz
Algorithm Hash digest
SHA256 5f0184fbd6bd0d1c025c0202dd4d5fab4d2b5f708da1d9619ff79201924e64f0
MD5 303a369ebdfac6f3c63a85bac09a79c4
BLAKE2b-256 b06f517d7e7297b209635a1da98f3bf4ecab5334613b22d65590ec943f38c0b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for epic_elios_client-1.0.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for epic_elios_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 887c94059a1bc554715473e95af4575d5d09212966376910f52c94d56359b44a
MD5 48e49a57b3cdefbc831274cc7e1e9570
BLAKE2b-256 c5663389fda4729180adbebba22c4df5e10cfe1470b50d3c41d30eb7606c433b

See more details on using hashes here.

Provenance

The following attestation bundles were made for epic_elios_client-1.0.0-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