Skip to main content

The noteable API interface

Project description

papermill-origami

A papermill engine for running Noteable notebooks

CI PyPI - License PyPI - Python Version PyPI Code style: black


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.

Boost Data Collaboration with Notebooks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

papermill-origami-0.0.5.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

papermill_origami-0.0.5-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file papermill-origami-0.0.5.tar.gz.

File metadata

  • Download URL: papermill-origami-0.0.5.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1019-azure

File hashes

Hashes for papermill-origami-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d03dd77392693b9da6dedb2e6da12cb591363442db2fbd729261625ab1608259
MD5 53cc5db6be81e559ee8556b605666940
BLAKE2b-256 d867610ec38b649c3187d4258020617cc0d2fc6223babdc2ed2e4f4e26511f57

See more details on using hashes here.

File details

Details for the file papermill_origami-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: papermill_origami-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1019-azure

File hashes

Hashes for papermill_origami-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 73567e8e2425459188ba7e3cdebe2bca8fce249ceffe31713d2bfa095c14fcbc
MD5 413572c901c1baef188241d0b8142626
BLAKE2b-256 1826a64a1fc7e8ac1affcd56d1b613ea350c6c5083cb04bf5e8ae8359af09559

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page