Automate Nominal workflows in Python
Project description
⬖ Nominal
Python client for Nominal test data, storage, & compute
🚧 WIP - API and syntax subject to change
Install
pip3 install nominal
Usage
Set your API key
Retrieve your API key from /sandbox on your Nominal tenant
import nominal as nm
nm.set_token(...)
Upload a Dataset (3 lines)
from nominal import Ingest
dataset = Ingest().read_csv('../data/penguins.csv')
dataset.upload()
Upload a Run (3 lines)
from nominal import Run
r = Run(path='../data/penguins.csv')
r.upload()
Update metadata of an existing Run (4 lines)
from nominal import Run
r = Run(rid = 'ri.scout.gov-staging.run.ce205f7e-9ef1-4a8b-92ae-11edc77441c6')
r.title = 'my_new_run_title'
r.update()
Compare changes madde to a Run locally
from nominal import Run
r = Run(rid = 'ri.scout.gov-staging.run.ce205f7e-9ef1-4a8b-92ae-11edc77441c6')
r.title = 'my_new_run_title'
r.diff()
Apply a Check to a Run
TODO
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 Distribution
nominal-0.0.22.tar.gz
(9.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nominal-0.0.22-py3-none-any.whl
(11.0 kB
view details)
File details
Details for the file nominal-0.0.22.tar.gz.
File metadata
- Download URL: nominal-0.0.22.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df4375143826f811e87b0f8596838b575d344e6fa88d865219e4c85fc610d722
|
|
| MD5 |
0e1892e3ee1dfd8d7b269f3904719311
|
|
| BLAKE2b-256 |
66445469ca947f876a68a21799a01d64840174035c320745d1c892768bb708e2
|
File details
Details for the file nominal-0.0.22-py3-none-any.whl.
File metadata
- Download URL: nominal-0.0.22-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6430500e1debbecfec69d344b56311545b06c3653fbb9435133b357bd456f10e
|
|
| MD5 |
9ba52d9b9eec934304c0fc6999d03e81
|
|
| BLAKE2b-256 |
19c5c92b418bbe424252f5464c3a6210d2f57c4cd1bdafed5a198e81a150e3c2
|