Spatio Python SDK
The official Python client for the SpatioAPI. Notes, sheets, slides, tasks, mail, calendar, channels, DMs, files, contacts, repos, agents, and federated search.
pip install spatio-sdk
from spatio import ApiClient, Configuration
from spatio.api import NotesApi
client = ApiClient(Configuration(
host="https://api.spatio.app",
access_token="pat_...",
))
envelope = NotesApi(client).list_notes()
print(envelope.items)
Authentication
Two paths.
Personal Access Token. Mint one at Settings → Tokens in Spatio Desktop and pass it as access_token. The right choice for scripts, automations, and your own backend services.
OAuth 2.1 + OpenID Connect. Build a "Sign in with Spatio" flow for your own product. The OIDC discovery document at /.well-known/openid-configuration drops into Authlib, oidcrp, and every other conformant RP library.
What you can build
Spatio's API is designed to be the substrate someone could build their own Spatio Desktop on top of: realtime collaboration via Yjs, federated cross-platform search, OAuth 2.1 dynamic client registration, OpenID Connect sign-in, and a self-hosted agent runtime. The OpenAPI spec is the canonical reference.
Links
About this package
Generated from the SpatioAPI OpenAPI spec on every release. PRs against generated files will be overwritten on the next release; file issues here for bugs in the SDK shape, or report API problems through Spatio Support.
Licensed under MIT.
Metadata
Release files for spatio-sdk 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spatio_sdk-0.0.2.tar.gz | 368.2 kB | Without provenance | Details for spatio_sdk-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spatio_sdk-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for spatio_sdk-0.0.2-py3-none-any.whl |
Total release size: 1.2 MB
Release files / spatio_sdk-0.0.2.tar.gz
| Download URL | spatio_sdk-0.0.2.tar.gz |
|---|---|
| Size | 368.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f374e7abc599d34fdd0a784a95da42058cf870d9b86688b3f2336dc8c956f3dc
|
|
BLAKE2b-256 checksum How to use checksums |
eb12eb6ea04ab358f5bae6a09fc9f48b7142e64b9a39d00648fef3c9dbafbc1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / spatio_sdk-0.0.2-py3-none-any.whl
| Download URL | spatio_sdk-0.0.2-py3-none-any.whl |
|---|---|
| Size | 871.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1adbdfadc63156835106bebda7339508cc74f7817ee9cff3c204b567cb5659e0
|
|
BLAKE2b-256 checksum How to use checksums |
19e1f56b7cb0984d240c4d4829a0492d26f2eab75bc10718f02757f5e758476d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for spatio-sdk 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.