The Python SDK for the EV Cloud.
Project description
Eventual Cloud SDK
Usage
# Initialize a project
ev init
# Run a workflow
ev run my_module.py
# Configure a profile e.g. staging with endpoint overrides
ev configure
Installation
The CLI is installed in the project's virtualenv. It can also be added to a project's pyproject.toml with ev-sdk = { path = "../ev-cloud/ev-sdk", editable = true }.
You can also run CLI with uv via uv run ev <command>.
dependencies = [ "ev-sdk" ]
[tool.uv.sources]
ev-sdk = { path = "../ev-cloud/ev-sdk", editable = true }
Configuration
The configuration uses profiles and is located at ~/.ev/config.toml (or $EV_HOME/config.toml).
[default]
profile = "default"
[profiles.default]
endpoint_url = "https://api.cloud.eventual.ai"
dashboard_url = "https://cloud.eventual.ai"
[profiles.development]
endpoint_url = "http://localhost:3000"
dashboard_url = "http://localhost:3003"
[profiles.staging]
endpoint_url = "https://api.cloud.staging.eventual.ai"
dashboard_url = "https://cloud.staging.eventual.ai"
Configuration Fields
endpoint_url: API endpoint URL (defaults tohttps://api.cloud.eventual.aiif not specified)dashboard_url: Dashboard UI URL for run links (defaults tohttps://cloud.eventual.aiif not specified)
Manual Configuration
While ev configure sets up profile configuration, you can manually edit your config file to:
- Add custom
endpoint_urlanddashboard_urlvalues for different environments - Create multiple profiles for testing, staging, and production
- Switch between local development and hosted environments
Commands
# Interactive configuration wizard
ev configure
# Initialize project in current repository
ev init [--template TEMPLATE]
# Run python scripts on Eventual Cloud
ev run script.py # Python file
ev run module # Python module
ev run module:function --key=value # Function with args
# List resources
ev list projects
# Use specific profile
ev --profile work run script.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ev_sdk-0.1.0.tar.gz.
File metadata
- Download URL: ev_sdk-0.1.0.tar.gz
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893170e04ce7f39eaa23682c2ba89acc7451793d551acf1c9a2fe6c0d4437c82
|
|
| MD5 |
58302b3c8db939ccf3a9bc8b9e6c5f11
|
|
| BLAKE2b-256 |
fbf8fb7d913580785c5e0119bc03b2369e7bc1f5004359ab7f48b54ef739bd1a
|
File details
Details for the file ev_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ev_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 42.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a53446d28acbcb1b6aafb760984a35417886a481d92a376cf467c05d49da1f8
|
|
| MD5 |
b158bf670d58c050af5f288080d31c14
|
|
| BLAKE2b-256 |
99804fde2953e25d0620fd17f81407410011d68211067cc68c8e7a2dbe75817b
|