noteable-origami 0.0.10
pip install noteable-origami==0.0.10
Released:
The Noteable API interface
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
Classifiers
- Intended Audience
- License
- Programming Language
Project description
Origami
A library capturing message patterns and protocols speaking to Noteable's APIs
Install | Getting Started | License | Code of Conduct | Contributing
--8<-- [start:intro]
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.
--8<-- [end:intro]
--8<-- [start:requirements]
Requirements
Python 3.8+
--8<-- [end:requirements]
--8<-- [start:install]
Installation
Poetry
poetry add noteable-origami
Pip
pip install noteable-origami
--8<-- [end:install]
--8<-- [start:start]
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()
--8<-- [end:start]
Contributing
See CONTRIBUTING.md.
Open sourced with ❤️ by Noteable for the community.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
Classifiers
- Intended Audience
- License
- Programming Language
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 noteable_origami-0.0.10.tar.gz
.
File metadata
- Download URL: noteable_origami-0.0.10.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fdbfc1cfad67d043574fe68c3a67bebd74d571e9c6b2c32b8cbbbc9a3c62279 |
|
MD5 | 1fb152ab65116c80ac573e368740abbe |
|
BLAKE2b-256 | 549984a91721be1f0bbab4ed727d198c1aeb99c0efa8305e1c7343c3e9d099a0 |
File details
Details for the file noteable_origami-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: noteable_origami-0.0.10-py3-none-any.whl
- Upload date:
- Size: 38.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5e0b21feae48418d44706e041545a635ca393d25485b848ee8815010a2436e |
|
MD5 | c4e3a2845464784a2e288b198e0e9b94 |
|
BLAKE2b-256 | 1f6e8f294c5079b0f4aa562ec7d29d1f5fd6d9fb6a09ae24b939bfbf269243e2 |