dataknobs-structures
Data structures for AI knowledge bases.
Installation
pip install dataknobs-structures
Features
- ConditionalDict: Dictionary with conditional value retrieval
- Document: Document representation with metadata
- RecordStore: Efficient record storage and retrieval
- Tree: Tree data structure with various traversal methods
Usage
from dataknobs_structures import Tree
from dataknobs_structures import Text, TextMetaData
# Create a tree structure
tree = Tree()
tree.add_node("root", "Root Node")
tree.add_node("child1", "Child 1", parent="root")
# Create a document
doc = Text(
"Sample document content",
TextMetaData(text_id="doc_001", author="John Doe", date="2024-01-01"),
)
License
See LICENSE file in the root repository.
Metadata
Release files for dataknobs-structures 1.0.17
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 |
|---|---|---|---|---|
| dataknobs_structures-1.0.17.tar.gz | 21.8 kB | Without provenance | Details for dataknobs_structures-1.0.17.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dataknobs_structures-1.0.17-py3-none-any.whl | Python 3 | none | any | Details for dataknobs_structures-1.0.17-py3-none-any.whl |
Total release size: 40.4 kB
Release files / dataknobs_structures-1.0.17.tar.gz
| Download URL | dataknobs_structures-1.0.17.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
468c4d7be425fd212149a94735dea36f1473188303f62c0ff2311f9e3e7f5884
|
|
BLAKE2b-256 checksum How to use checksums |
fd2733b9ddc8583b23a22316899652213636560ac14389b6ab1a50c6cfe696d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dataknobs_structures-1.0.17-py3-none-any.whl
| Download URL | dataknobs_structures-1.0.17-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79838fb7a120ed78eec43f89021d6f4e147dfe49334942bd18f9de029a6bb0e6
|
|
BLAKE2b-256 checksum How to use checksums |
cb50aa8c64d09834a6eb7885426050f9dee5724b3b34e475e4de3776079f5fa8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for dataknobs-structures 1.0.17
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.