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.21.tar.gz
(8.9 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.21-py3-none-any.whl
(10.7 kB
view details)
File details
Details for the file nominal-0.0.21.tar.gz.
File metadata
- Download URL: nominal-0.0.21.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6ac49309da2604479b53fcb29418fae244f546ac5f5930a5f882e747f1254e0
|
|
| MD5 |
f6298b961d7e1c2ef504accd33156c39
|
|
| BLAKE2b-256 |
914ef8c85db3b9595977e3f40d77f4ea20509b3a1b09119f2c36d2628e71aee3
|
File details
Details for the file nominal-0.0.21-py3-none-any.whl.
File metadata
- Download URL: nominal-0.0.21-py3-none-any.whl
- Upload date:
- Size: 10.7 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 |
55b1849704f11029a9fd897088934a7fe31fb22725894bdf83442af76a5a581a
|
|
| MD5 |
0f440f73b22e8452dfaf5996a7d09676
|
|
| BLAKE2b-256 |
b9a7e85e1de5ae57f303877279f30a281b481e833abb96cfaa44403012bb29b4
|