Skip to main content

The Noteable API interface

Project description

Origami

A library capturing message patterns and protocols speaking to Noteable's APIs

CI codecov code coverage PyPI - License PyPI - Python Version PyPI Code style: black


Install | Getting Started | License | Code of Conduct | Contributing

Intro to Origami

Origami is our paper folding library for talking to Noteable notebooks. This is where we describe the full breadth of API calls and access patterns in async Python for rich programmatic access to the platform.

Requirements

Python 3.8+

Installation

Poetry

poetry add noteable-origami

Pip

pip install noteable-origami

Getting Started

Get your API token from Noteable Within user settings. Within user settings, go to the API Token page, and generate a new token.

Copy the value

from origami.client import NoteableClient

token = 'ey...' # Your user API token
async with NoteableClient(api_token=token) as client:
    await client.ping_rtu()

Token via Environment Variable

Alternatively you can set the environment variable:

NOTEABLE_TOKEN=xxxx

and skip assigning the token:

async with NoteableClient() as client:
    await client.ping_rtu()

Custom Domain

NOTEABLE_TOKEN=xxxx
NOTEABLE_DOMAIN=app.noteable.io

And the client will use that particular domain, for custom deployment location. This value defaults to app.noteable.io.

async with NoteableClient() as client:
    await client.ping_rtu()

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

noteable_origami-0.0.11.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noteable_origami-0.0.11-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file noteable_origami-0.0.11.tar.gz.

File metadata

  • Download URL: noteable_origami-0.0.11.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.2 Linux/5.15.0-1022-azure

File hashes

Hashes for noteable_origami-0.0.11.tar.gz
Algorithm Hash digest
SHA256 c2c53bb8bf1f7b7dcf310fea5a92c13d0b69b5506879be0b8d6c4f7685d040ee
MD5 ce1f8337a2376cd4a46cbb9ed5e9b82b
BLAKE2b-256 4ea0ac39d3dc0edc8ef999a5e63316c451ca48c226f4dc306fc45fe750f6c304

See more details on using hashes here.

File details

Details for the file noteable_origami-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: noteable_origami-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.2 Linux/5.15.0-1022-azure

File hashes

Hashes for noteable_origami-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 fcaa9279ba3a95df54c6b89eac04e270c8c0917ed079174e9b83e3e8b6357fe3
MD5 9f5f6987d7782254cd0b4fc2850e8694
BLAKE2b-256 7566eeaeaad8b760aab919deb99d17d8e498f04cc745787bd63527dfbfed137c

See more details on using hashes here.

Supported by

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