The official Python SDK for NucliaDB, a cloud-native database for unstructured data. It provides a high-level client for indexing, searching, and managing knowledge boxes. Current version is 6.14.0.post6509, requiring Python >=3.10 and <4.0. Releases are frequent (post-fixed).
pip install nucliadb-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a NucliaDB client, creates a knowledge box, and uploads a simple text resource.
Use 'create_knowledge_box()' instead of 'knowledge_box()'.
Pass the API key via the 'api_key' parameter or the 'NUCLIADB_API_KEY' environment variable.
Replace 'query' with 'query_text' in search calls.
Install nucliadb-sdk and import from nucliadb_sdk: 'from nucliadb_sdk import NucliaDB'.
Set the NUCLIADB_API_KEY environment variable or pass 'api_key' argument correctly.
Ensure you are using nucliadb-sdk >=6.0 and pass 'slug' as a positional argument or check docs.