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

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page