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
Close
Hashes for papermill_origami-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a90c6dda2f58a09ff20f70cb8a3c2427d7386228d6eb33635f4a6510967258c |
|
MD5 | 1329b964b529ed06bd2aa4ab4dece23d |
|
BLAKE2b-256 | 4dc34163f4834ad8b6cb6c436cadabd05c06dd02b91be79781d81f2ca038f9c2 |