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.0rc734-cp38-abi3-musllinux_1_2_x86_64.whl (7.3 MB view details)

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

ev_sdk-0.1.0rc734-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.0rc734-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.0rc734-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.0rc734-cp38-abi3-macosx_11_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

ev_sdk-0.1.0rc734-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.0rc734-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc734-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8e57f4f8c992ad088f2990e46fe06087574612b3ac8d4c66503af5c7b15485b8
MD5 6933eec3faea5c7dab401036a90ac1a6
BLAKE2b-256 4c4dc6a1a8109b15a67fe5ca6d3e682b5fbad6ef6a248acd2cf4fac09b3e09bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc734-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.0rc734-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc734-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 04e1bac1ea16771767822851270e8c6bb1c5496e37c07cc54ea115d0ce25c2fc
MD5 0b49390260fc9db33eb16de1e9c060ce
BLAKE2b-256 6d309a5f2a2f9a6b7cf21c172bdd4472a4710de6d4e14ac853d9e9bddf10f650

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc734-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.0rc734-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc734-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 825f705660744faca61b235284634b7db344fcc5e2aba374185c75cfc4e416c4
MD5 161f8eed82ea3a49204a25d2e95f373b
BLAKE2b-256 3ea93bfe2a70686b78a9ffa7f5370ee42eeb2705354fa7459a35e53a095273f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc734-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.0rc734-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc734-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d261c590d6b089df91076b094b3b4259dbef507a79920c9b3999f64f3de7d728
MD5 d4d1fafc639c60009ca7efeb91025b06
BLAKE2b-256 437f17174ccad5d0c1317b31d79a9162076d37df79dbfc3da771c7bb1b58e77f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc734-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.0rc734-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc734-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a5f604a77721712b741ee27d1816b3bd7401742ac6f51d9144e9bbcc5ff828b
MD5 9f88bf223981ca7b4ac9a1258fdfaecf
BLAKE2b-256 1fc875d17bfb1fba465c395f71b712fa2bde6aff6e8cdb9bc43c45a927a50c45

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc734-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.0rc734-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc734-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d18fba770b912107d4860283b5ccc5695d5d8f7ba2f62e24fd4873e109ac5358
MD5 3d3658aacacdd98c9068b21dd9403807
BLAKE2b-256 de471002b0ab56270d88b566ca17768c164e78419a91dc0642c6412beba0993c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ev_sdk-0.1.0rc734-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