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

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

ev_sdk-0.1.0rc726-cp38-abi3-musllinux_1_2_aarch64.whl (7.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

ev_sdk-0.1.0rc726-cp38-abi3-manylinux_2_28_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

ev_sdk-0.1.0rc726-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

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

ev_sdk-0.1.0rc726-cp38-abi3-macosx_11_0_arm64.whl (6.3 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

ev_sdk-0.1.0rc726-cp38-abi3-macosx_10_12_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc726-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1445b4d0121aa02bfbef8a9f999c8f41ab9bb441086563b2f0c2d3fa45043ff8
MD5 b83b43727df0f9e1298b226fecbdf131
BLAKE2b-256 1300814e9465827ae367d0a02b2c5678afab89b29e39453134725d2ab8470319

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc726-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1806fc1802876b1fd7fb158c7b9500e882ae57a1a4a1d35f401bcc60a65d4000
MD5 9c0fe2f8e7741eef8f7657b83fa82725
BLAKE2b-256 95266a853286a94b62904da76e8d7ef8cf37c6e0981b59ab916c1f75d4efeaee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc726-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bcf6321e7d56aaa79540ef14ffefc687c37bedb1373232ff1dd745a72d8cba5a
MD5 37586f8a725d95cca326158ce48c0904
BLAKE2b-256 7f1c51127fa99598b6728fba93d5a7e2ddc16a59058164e33a5b4b35c3d2a999

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc726-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1fe93ec0f6b88a9ffba6a91a3958d7a1b8a56db2b30fb625e83c24843a146b6f
MD5 331b719a23f17d68a0e70c54d9b3ab12
BLAKE2b-256 1c5d26b7d6a8b0b3b91f28ff730c7963bd3f2e98da23a3c66a62a21db3fd01a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc726-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f9528b6dc419a58894eb2033c58f2a64e1a23a0e2f593ddc669a159fcd542b8
MD5 0283ab35d91630e7a0d5068983fb1210
BLAKE2b-256 1107460996ea3cc0e10cac16683ee8474ce2f234cf267012dfe4cb707f0a0698

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ev_sdk-0.1.0rc726-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 027dab4addaad7d7c4703d4fa2fa1dfab7961e8b091f4b71cb37fd33b8d04469
MD5 93a717d358c961db5121dd93a05338c3
BLAKE2b-256 ac742f27a8a7e54acae833c1a60874f367e6efeb4e5f45f71cd4887fce722e0e

See more details on using hashes here.

Provenance

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