The noteable API interface
Project description
papermill-origami
A papermill engine for running Noteable notebooks
Install | Getting Started | License | Code of Conduct | Contributing
Requirements
Python 3.8+
Installation
Poetry
poetry add papermill-origami
Pip
pip install papermill-origami
Getting Started
Get your access token from https://app.noteable.world/api/token
import papermill as pm
from papermill_origami import NoteableClient, ClientConfig
domain = 'app.noteable.world'
token = 'ey...'
file_id = '...'
async with NoteableClient(token, config=ClientConfig(domain=domain)) as client:
file = await client.get_notebook(file_id)
pm.execute_notebook(
f'noteable://{file_id}',
None,
engine_name='noteable', # exclude this kwarg to run the Notebook locally
# Noteable-specific kwargs
file=file,
client=client,
)
Contributing
See CONTRIBUTING.md.
Open sourced with ❤️ by Noteable for the community.
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
Built Distribution
File details
Details for the file papermill-origami-0.0.2.tar.gz
.
File metadata
- Download URL: papermill-origami-0.0.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.2 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85bd8a507ac9d83698a860ef4c374a3fd0c975178ce44a7d08192de7616a4745 |
|
MD5 | 96216e375a2ac4210cf6a3ad9c8dc474 |
|
BLAKE2b-256 | a9bed9efd4defc366451493a3aa41ceea6ded37a7eec581be705201b5e9071d6 |
File details
Details for the file papermill_origami-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: papermill_origami-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.2 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d61c460b19c869e21e23fd7077d6a45c203117b31fb123c7364eeb647adebe0 |
|
MD5 | bcf2910a5413a360e8231f3989ad9a79 |
|
BLAKE2b-256 | 250c32df344b9dd3565a1f2ca3399e318df749b0333bc56530b61967acc92a1e |