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.4.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

papermill_origami-0.0.4-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: papermill-origami-0.0.4.tar.gz
  • Upload date:
  • Size: 19.0 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.4.tar.gz
Algorithm Hash digest
SHA256 c6e3df782c9d55e0c5a22d5e6575bab5ec3cb0471cfd1fe09e0a7fd7c5f9d08a
MD5 67bbbdc4fbf3a45db7b86a8290cb1d31
BLAKE2b-256 10c011247e3f23119a499f5eac9cb11a2be1b6a791a42bf282ca89dd1a323915

See more details on using hashes here.

File details

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

File metadata

  • Download URL: papermill_origami-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 22.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ee06272b9c38e9bec0ca3a8f71934eef54cbca52c776b6278a52cf84033a88d1
MD5 6f216cdfd29aceb46aa010bab1f57dbd
BLAKE2b-256 128c8facf2a48fedf833af994dedfc9bd99b2f222cbe2fefe26688f9f9085ea4

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