Skip to main content

No project description provided

Project description

ev-sdk

This repository is for the ev python package which wraps the ev-sdk rust package.

uv pip install -e .

ev --help

Usage

Setup

# setup virtual env
make .venv

# build ev-sdk
make build

# install on the path
uv pip install -e .

Run the SDK

Run the SDK on a python module that creates jobs

# run an example
python -m examples.dynamic_sources

Run the CLI

Use the ev binary installed in the virtual environment by the setup above.

ev auth login
ev spaces list
ev run examples/hello_world/hello_world.py

Documentation

# my_job.py

# Define the job.
job = Job("my-job")

# Define the job's main function.
@job.main()
def main():
    import daft

    df = daft.from_pydict({ "a": [ 1, 2, 3 ]})
    df.show()

Open Questions

  • Mutable environments or builder style?
  • Mutable pyo3 classes is better than interior mutability? But makes taking ownership and conversion painful.
  • Include should support globs?

TODO

  • rust ev-sdk crate
  • local files
  • actual job run (success)
  • _main.py template with pickled job
  • client with args
  • refactor ev-cli into ev-sdk

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_28_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

ev_sdk-0.1.0rc732-cp38-abi3-macosx_11_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

ev_sdk-0.1.0rc732-cp38-abi3-macosx_10_12_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 da1c1e955eda39c1d9c19396982c3b4113c87ce0459c86c1d334c89708861357
MD5 4234a26af4b0cb031df39f6126d579a0
BLAKE2b-256 62bf2b0e312cf7ac91da96848f64d9e8b88cdeaa37f79d146066c8e561f307f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_x86_64.whl:

Publisher: publish-python.yml on Eventual-Inc/ev-app

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

File details

Details for the file ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 94c7133e0d22d81b2123c612390215ad4eea0406e226dab40953a31f868d7527
MD5 f5fddab8964e5a92a127cbe4bc05c576
BLAKE2b-256 721c4297636672aea4b3bf5cb648751e922b4991b3cf81424a433348faff3d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc732-cp38-abi3-musllinux_1_2_aarch64.whl:

Publisher: publish-python.yml on Eventual-Inc/ev-app

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

File details

Details for the file ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ca6e0d55d43c7a07875534f3dd73ffbee629d20475c31aaeefa7c02a427304c8
MD5 f4d3ae079e72c63d6bf26b2dde6b1e81
BLAKE2b-256 bd048aa61e5f2be72553ef24addbd83f4496781661a6a51aadb4d6af8ada5f5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_28_aarch64.whl:

Publisher: publish-python.yml on Eventual-Inc/ev-app

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

File details

Details for the file ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49942536e7d71ced1f2eec217fa16da727ecae079915577fd023fd5d340b0936
MD5 21244f5cceb12990410f8091665d7ef5
BLAKE2b-256 f64f47f3d9c5922a41402d8f6e463a8405ba3f68b53a5cf6d7a26851fcfdf27b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc732-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-python.yml on Eventual-Inc/ev-app

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

File details

Details for the file ev_sdk-0.1.0rc732-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc732-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52943308808530b338d31cd10e5e39563d42b337168e72b37780c9e416b149d0
MD5 996c565ea9af22ecdb9af55641de31b8
BLAKE2b-256 14a29999ccd2f5042546b2459b4c404fbd8b8a7e595ae0a6c8065a66e3e64069

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc732-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: publish-python.yml on Eventual-Inc/ev-app

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

File details

Details for the file ev_sdk-0.1.0rc732-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc732-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 28fecddf71b14175e3958ec78cd78d381759c9da833367bd5744cac120e3da65
MD5 48b42d44df6302b181a08c42b844e29c
BLAKE2b-256 d686090da17d9a4a42aaf3cf734f1604569ad307055cb475538ccd744bd761be

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc732-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: publish-python.yml on Eventual-Inc/ev-app

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