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
# Stable
pip install nebula-sdk
# Preview (next iteration, RC versions)
pip install --pre nebula-sdk
Pre-launch: The public surface is still being shaped. Plain semver releases (
1.6.0,1.7.0, …) are stable. Iteration ships as PEP 440 pre-release versions (1.6.0rc1,rc2, …) which pip's default resolver excludes —pip install nebula-sdkgets stable;--preopts in to the iteration channel. Version specifiers likenebula-sdk>=1.6.0,<2.0.0likewise exclude pre-releases unless the specifier itself names one.
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
Pass your Nebula API key as api_key when constructing the client. It is sent
via the Authorization: Bearer header.
async with Nebula(ClientOptions(api_key="...")) as client:
...
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
Metadata
Release files for nebula-sdk 1.6.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 |
|---|---|---|---|---|
| nebula_sdk-1.6.2.tar.gz | 46.0 kB | With provenance | Details for nebula_sdk-1.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nebula_sdk-1.6.2-py3-none-any.whl | Python 3 | none | any | Details for nebula_sdk-1.6.2-py3-none-any.whl |
Total release size: 84.0 kB
Release files / nebula_sdk-1.6.2.tar.gz
| Download URL | nebula_sdk-1.6.2.tar.gz |
|---|---|
| Size | 46.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6353f2d0e169904297e1b3dc687762d54d683e60b582f983ca32bf18577df702
|
|
BLAKE2b-256 checksum How to use checksums |
57a48c6492ec1433a9166eb19bc956c1951f994c5b98e55540141f434d687d94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.
Transparency logRelease files / nebula_sdk-1.6.2-py3-none-any.whl
| Download URL | nebula_sdk-1.6.2-py3-none-any.whl |
|---|---|
| Size | 37.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d341ee1cf95dcea5371c45eba9c5386b18cecbd910a9755ecd5a1aabac725c4
|
|
BLAKE2b-256 checksum How to use checksums |
fce328ddc477d22a159bff7801883c4807c3f4df92941134b70ce731bc8ecf88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.
Transparency logSecurity for nebula-sdk 1.6.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nebula_sdk-1.6.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.
Transparency logA 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.