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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc729-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9306bb8c1ddcd479a78735ef7777bc6dd38c4b31e7300e9411c7b9fb4bd16231
MD5 344f16bb25136a214b07b65de7d00166
BLAKE2b-256 cca241fce5fa99f37938ec79afaf94df985861397e4a14620d4e3aa395ebc0fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc729-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cb8ddcc3cad3b1621fd0ae0b60782b8da6ae0622e3e1b5a364bc33538fccbdda
MD5 16f24a1ba7824a96da6767d114a689c7
BLAKE2b-256 98f43293b810b9d82a9becbb4a5ab4dfad17bf53b6a6238c5e0fafbad055c1c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc729-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c03897768efa7c49cfa4f8bf047a594748eccbb387cfd1d000b4c600e7e9e876
MD5 015ce886985111fe56738274b99c87fb
BLAKE2b-256 a0bd2eb42b4711a7524bda82aedd26717b1bd0b5306aec16d5ffadaea7afed6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc729-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a7cffc25240157aba73e452b546d25256cb9dc4f576f62c5a989983129770e9
MD5 59b122f5366f1b62b1b548cb991f38ad
BLAKE2b-256 d731395eb093c8823501bb4b2a75d1bd60e077d8f810815d635889f676829c11

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc729-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7a230b7bef2983542e63021ea07998ecb064358d3bda4d8975fe5f757457128
MD5 c92db45cc748320bf715cdd124aa92ea
BLAKE2b-256 270d4f7c171513a1fe8bca31c6c6cfcf4bec7d61606bd221b69dc21ee50f7264

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc729-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0472cdb573acc18f17e35c2cf34dd6844162bb8d95032faf6ce932be4a1fc1dc
MD5 97de6bd3f53c8fe3a658d53b0d69d3ce
BLAKE2b-256 93ac94b2665eb5a71f17269e625189223142a625544f5f896c27021b420a0b97

See more details on using hashes here.

Provenance

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