Skip to main content

A Python client for the EXDELPHI platform

Project description

EXDELPHI Python Client

PyPI version build License codecov

The EXDELPHI Python client allows users to interact with the EXDELPHI platform from their Python scripts. With this client, users can upload and download forecasts, compare the accuracy of forecasts, and access quality measures of all forecasts on the platform.

Installation

To install the EXDELPHI Python client, run the following command:

pip install exdelphi

Usage

To use the EXDELPHI Python client, import it in your Python script and create a client instance with your API key:

from exdelphi import Client
client = Client(api_key="YOUR_API_KEY")

Then, use the client instance to access the various methods available on the EXDELPHI platform:

# Upload a forecast
client.upload_forecast(forecast_data)

# Download a forecast
forecast = client.download_forecast(forecast_id)

# Compare the accuracy of two forecasts
accuracy = client.compare_forecasts(forecast_id1, forecast_id2)

# Access quality measures of all forecasts on the platform
quality_measures = client.get_quality_measures()

For detailed usage instructions and examples, see the EXDELPHI Python client documentation.

Credits

exdelphi, 2022

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

exdelphi-0.0.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

exdelphi-0.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file exdelphi-0.0.2.tar.gz.

File metadata

  • Download URL: exdelphi-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.2

File hashes

Hashes for exdelphi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5a353366c778f9ec171fbf7613e14b2ae80357cd81923211267f84f46653b8c5
MD5 12ca27c89512271521cd3244db5aefeb
BLAKE2b-256 008a909da00c6651f048408ddc35b353776bf6a07b987792caeb7ca0b1c921a2

See more details on using hashes here.

File details

Details for the file exdelphi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: exdelphi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.2

File hashes

Hashes for exdelphi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 50ba58732098868a7e923f8ffc92c4978f8a13c8fe90092a86d46210341b8f02
MD5 049dde2c178fb7cf8038ef63c2ba3b73
BLAKE2b-256 b9e9afd27b66168a1e44db8059011176394e97e7a4ba172ffc2be20d7a1e1914

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