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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc730-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 595a208433c8233754b3889ec2d60119622d22e804efdcdd69543ce5b42e3db7
MD5 7081009e607ddd504b0a34624e00a3d5
BLAKE2b-256 050dbc2fc26ed0ad4c732606e99acbd1f00fc6e1c589283b9b4d3eb889566f3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc730-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0906f400290be671880ef3c849097d6a1924dcc95bbfee179a7a5deda087a8c3
MD5 1b4ce6b1ff8bb7a973923ad12b1cf174
BLAKE2b-256 b9ee09ca14a42583cd6197aa8820b08288804277074948dfe9ea83a7047248c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc730-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a8851ec80e72b1a282e4db2d4f4ad87fcd673efeb65568d50cf7d8e6d0cb42b7
MD5 fb55a7f73fe87c7799585f1ad3b3c232
BLAKE2b-256 9d91190d55f6be46c6ca87c2bdaa86b0e88c90897bc23c0b3cffcd96af510b7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc730-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ebaff465fd4876ad43818fe3d45c4ee9f1a389bfa7aecc7f6b44ee452f7d170
MD5 18ae0f7075642d4a690c4c10fa423cfc
BLAKE2b-256 2293c5d1f9c87f2762cfc65f4dcfa99f6f65fe00ca6e83327efd6ed4dc48de2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc730-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3b1ee35a4c8262a78fcb33f06fa555bfac2179cf8ec04c9d46e00b276d28d79
MD5 60ff0b9af400b73f8a0086742945d33b
BLAKE2b-256 0fb82e33c0d775640e34181230ad7d7493d34300357d8e3a9f71334632cc246d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc730-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 454cbad94101f8f705dddf89576d3cb914d00949d801875d3d9d1a6206540ced
MD5 42dbc0cf4f3c996d289abc5a53c3ce2a
BLAKE2b-256 96e96817c98cb775560e3f7a13c5d821da965c655a26f0f7e5381e6a831bea1d

See more details on using hashes here.

Provenance

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