Nebula Python SDK (autogenerated)
Project description
nebula-sdk
Official Nebula API SDK for Python. Provides typed async access to the public Nebula REST API: collections, memories, connectors, snapshots, and system health.
Install
pip install nebula-sdk
# or
uv add nebula-sdk
Quick start
import asyncio
from nebula import Nebula, ClientOptions
async def main() -> None:
async with Nebula(ClientOptions(api_key="...")) as client:
memory_id = await client.store_memory(
collection_id="01234567-...",
raw_text="hello, world",
)
results = await client.memories.search(body={"query": "hello"})
print(results)
asyncio.run(main())
This SDK is async-first. If you need to call it from a sync context, wrap
each call with asyncio.run(...). A dedicated sync client is not currently
provided.
Auth
The constructor accepts api_key / access_token plus their camelCase
aliases apiKey / accessToken / bearerToken. If you pass an API key
that doesn't look like a Nebula key (not prefixed with key_ or neb_),
the DX layer automatically routes it through the bearer-token header instead.
Errors
All HTTP errors map to a typed exception hierarchy:
NebulaBadRequestError(400)NebulaUnauthorizedError(401)NebulaForbiddenError(403)NebulaNotFoundError(404)NebulaConflictError(409)NebulaValidationError(422)NebulaRateLimitError(429) — carriesretry_afterwhen the server returnsRetry-AfterNebulaServerError(5xx)NebulaConnectionError/NebulaTimeoutError— transport-level
Docs
- API reference: https://docs.zeroset.com
- Migration notes: see
MIGRATION.mdin the source repo
License
MIT
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nebula_sdk-1.5.0.tar.gz.
File metadata
- Download URL: nebula_sdk-1.5.0.tar.gz
- Upload date:
- Size: 42.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deb5bcc3e24f8d1455176d8cd06ea5aef704fe92c4d70b25036f7e40f02c03a0
|
|
| MD5 |
2cc5ab0e6f18a82318aa4ac11d95c6fa
|
|
| BLAKE2b-256 |
317b3599f94073cb9bbbb166c350d84fd08d15ced29f495d00be4d94b58270d4
|
Provenance
The following attestation bundles were made for nebula_sdk-1.5.0.tar.gz:
Publisher:
publish-pypi.yml on zeroset-inc/nebula-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nebula_sdk-1.5.0.tar.gz -
Subject digest:
deb5bcc3e24f8d1455176d8cd06ea5aef704fe92c4d70b25036f7e40f02c03a0 - Sigstore transparency entry: 1631003835
- Sigstore integration time:
-
Permalink:
zeroset-inc/nebula-python@58f7f7491bc42c28c7ca509519f53c86479dceb0 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/zeroset-inc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@58f7f7491bc42c28c7ca509519f53c86479dceb0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nebula_sdk-1.5.0-py3-none-any.whl.
File metadata
- Download URL: nebula_sdk-1.5.0-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbb9ff0131c41b76fcc056f2e753950fcdf2864ea9c12f743e7eda2500c15e57
|
|
| MD5 |
55eec01690e6a2891e10943ea8f4e3ec
|
|
| BLAKE2b-256 |
eb10c752d22d70528bd4e7de6299fbee9e0df7bd369c4906b81edf0f304e1aef
|
Provenance
The following attestation bundles were made for nebula_sdk-1.5.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on zeroset-inc/nebula-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nebula_sdk-1.5.0-py3-none-any.whl -
Subject digest:
dbb9ff0131c41b76fcc056f2e753950fcdf2864ea9c12f743e7eda2500c15e57 - Sigstore transparency entry: 1631003923
- Sigstore integration time:
-
Permalink:
zeroset-inc/nebula-python@58f7f7491bc42c28c7ca509519f53c86479dceb0 -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/zeroset-inc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@58f7f7491bc42c28c7ca509519f53c86479dceb0 -
Trigger Event:
release
-
Statement type: