Skip to main content

LatticeDB Python Bindings

Python bindings for LatticeDB, an embedded single-file property-graph database with native vector and BM25 full-text search.

Installation

pip install latticedb

Published wheels bundle the native shared library for Linux (x86_64, aarch64), macOS (x86_64, arm64) and Windows (x64, ARM64).

If you are installing from a source checkout, the package build can either:

  • bundle a prebuilt liblattice from LATTICE_BUNDLE_LIB_DIR / LATTICE_BUNDLE_LIB_PATH, or
  • build liblattice with Zig during the wheel build

For example, to bundle a staged installed library into a locally built wheel:

export LATTICE_BUNDLE_LIB_DIR=/tmp/lattice-install/lib
pip wheel . -w dist
pip install dist/latticedb-*.whl

At runtime, explicit library discovery overrides still work via LATTICE_LIB_PATH, LATTICE_PREFIX, and pkg-config.

Migration note: embedding helpers now live in the dedicated latticedb.embedding module. See ../../docs/client_api_migration.md for the preferred API names and deprecated compatibility aliases.

Installed-prefix workflow:

zig build install --prefix /tmp/lattice-install
export LATTICE_PREFIX=/tmp/lattice-install

LATTICE_PREFIX is searched under <prefix>/lib. On Windows, where zig build install puts lattice.dll in <prefix>/bin and only the import library in <prefix>/lib, <prefix>/bin is searched first, then <prefix>/lib.

Alternatively, discovery can use pkg-config:

export PKG_CONFIG_PATH=/tmp/lattice-install/lib/pkgconfig

Quick Start

import numpy as np
from latticedb import Database

with Database("knowledge.db", create=True, enable_vectors=True, vector_dimensions=4) as db:
    # Create nodes, edges, and index content
    db.create_node_fts_index("Person", "bio")

    with db.write() as txn:
        alice = txn.create_node(
            labels=["Person"],
            properties={"name": "Alice", "age": 30},
        )
        bob = txn.create_node(
            labels=["Person"],
            properties={"name": "Bob", "age": 25},
        )
        txn.create_edge(alice.id, bob.id, "KNOWS")

        # Writing the indexed property is what makes it searchable.
        txn.set_property(alice.id, "bio", "Alice works on machine learning research")
        txn.set_property(bob.id, "bio", "Bob studies deep learning and neural networks")

        # Store vector embeddings
        txn.set_vector(alice.id, "embedding", np.array([1.0, 0.0, 0.0, 0.0], dtype=np.float32))
        txn.set_vector(bob.id, "embedding", np.array([0.0, 1.0, 0.0, 0.0], dtype=np.float32))

        txn.commit()

    # Query with Cypher
    result = db.query("MATCH (n:Person) WHERE n.age > 20 RETURN n.name, n.age")
    for row in result:
        print(row)

    # Vector similarity search
    query_vec = np.array([0.9, 0.1, 0.0, 0.0], dtype=np.float32)
    for r in db.vector_search(query_vec, k=2):
        print(f"Node {r.node_id}: distance={r.distance:.4f}")

    # Full-text search
    for r in db.fts_search("Person", "bio", "machine learning"):
        print(f"Node {r.node_id}: score={r.score:.4f}")

    # Fuzzy search (typo-tolerant)
    for r in db.fts_search_fuzzy("Person", "bio", "machin lerning"):
        print(f"Node {r.node_id}: score={r.score:.4f}")

API Reference

Database

Database(
    path: str | Path,
    *,
    create: bool = False,        # Create if doesn't exist
    read_only: bool = False,     # Open in read-only mode
    cache_size_mb: int | None = None, # Page cache size; None = LATTICE_BUFFER_POOL_MB or 100
    enable_wal: bool = True,     # log commits so they survive a crash
    enable_adjacency_cache: bool = False, # Accepted; no effect on queries
    enable_vectors: bool | None = None, # Create a vector index if the file has none
    enable_vector: bool | None = None,  # Deprecated compatibility alias
    vector_dimensions: int = 128, # Vector dimensions (0 = the file's)
    lock: bool = True,           # Take a file lock (exclusive for read-write, shared for read-only)
    sync_mode: str | None = None,       # "full" or "normal"; None = LATTICE_SYNC_MODE or full
    full_fsync: bool | None = None,     # macOS F_FULLFSYNC; None = LATTICE_FULL_FSYNC or off
    vector_metric: str | None = None,   # "cosine", "euclidean" or "dot_product"
    vector_m: int | None = None,        # HNSW connections per node, 2..32 (default 16)
    vector_ef_construction: int | None = None, # HNSW build candidate list, 1..4096 (default 200)
    changefeed_retention: str | None = None, # "all", "off", "last:N", "age:7d"; None = the file's
)

Constructing a Database does not open it. Use it as a context manager (with Database(...) as db:) or call db.open() before using it.

A database file records its vector index: dimensions, metric, vector_m and vector_ef_construction. A database that has an index opens with it whether or not enable_vectors is set, so reopening needs no vector options at all. Any vector option you do pass (and vector_dimensions when enable_vectors is set) must match the file, or opening raises LatticeConfigMismatchError. The metric decides search distances, smallest first: cosine distance (vectors stored at unit length), L2 distance, or the negative dot product (vectors stored as given).

sync_mode="normal" returns from a commit once the operating system has it: the commit survives the process being killed, but a power cut or OS crash can lose the most recent commits. The default, "full", syncs the log on every commit.

A sync_mode or full_fsync you pass wins over the LATTICE_SYNC_MODE and LATTICE_FULL_FSYNC environment variables, which apply only when the option is left unset.

enable_wal=False logs nothing. Transactions, rollback, streams and the changefeed work as with the log, but a commit reaches the file at the next flush (close(), or when half the page cache holds changes) rather than when it returns.

changefeed_retention sets how much of the changefeed the file keeps (see Durable Streams and Changefeeds).

sync_mode, full_fsync, the three vector index options and changefeed_retention need a native library with lattice_open_v5; against an older one, setting any of them raises LatticeUnsupportedError.

read_only=True on a database that was not closed cleanly recovers it in memory: the handle sees every committed transaction and nothing is written to the files. A recovery that needs more than 64 MB plus four times the size of the log and journal raises LatticeFullError; open the database read-write once to recover it on disk.

Methods

  • open() / close() - Open/close the database (also works as context manager)
  • read() - Start a read-only transaction (context manager)
  • write() - Start a read-write transaction (context manager)
  • query(cypher, parameters=None) - Execute a Cypher query in its own transaction, read-write only if the query writes. If the commit fails, the transaction is rolled back before the error is raised, so the writer slot is free for the next write
  • get_nodes_by_label(label) - IDs of every node with a label
  • vector_search(vector, *, k=10, ef_search=64) - k-NN vector search
  • create_node_fts_index(label, prop) / drop_node_fts_index(label, prop) / has_node_fts_index(label, prop) - Manage full-text indexes on node properties
  • create_edge_fts_index(edge_type, prop) / drop_edge_fts_index(...) / has_edge_fts_index(...) - Manage full-text indexes on edge properties. A node index and a relationship index cannot share a name and property: the second raises LatticeAlreadyExistsError
  • fts_search(label, prop, query, *, limit=10) - Full-text search over one declared index
  • fts_search_fuzzy(label, prop, query, *, limit=10, max_distance=0, min_term_length=0) - Fuzzy full-text search (0 selects the defaults, 2 and 4)
  • create_node_property_index(label, property_key) / drop_node_property_index(...) - Manage explicit node property indexes
  • create_edge_property_index(edge_type, property_key) / drop_edge_property_index(...) - Manage explicit edge property indexes
  • read_stream(stream, *, after_sequence=0, limit=100, timeout_ms=0) - Read durable stream records by cursor
  • get_stream_offset(stream, consumer) - Read a committed consumer offset
  • changes(*, after_sequence=0, limit=100, timeout_ms=0) - Read the built-in graph changefeed. Raises LatticeChangesTrimmedError (a LatticeNotFoundError) when retention has dropped the events after after_sequence, and LatticeUnsupportedError when the policy is "off"
  • changefeed_status() - The changefeed's policy and range: ChangefeedStatus(retention, oldest_sequence, last_sequence), oldest_sequence None when it holds no events
  • trim_changefeed() - Apply the retention policy in full now; returns the number of events dropped
  • serialize() - Return the whole database as bytes
  • checkpoint(mode="truncate") - Fold the log into the database file now; returns CheckpointStats (see Checkpoints)
  • set_auto_checkpoint(max_wal_frames, min_interval_ms=0) - Set when commits checkpoint from now on; 0 frames switches automatic checkpoints off
  • cache_clear() - Clear the query cache
  • cache_stats() - Get cache hit/miss statistics

The module-level latticedb.deserialize(data, *, copy=True, ...) opens a database from bytes produced by serialize(); it takes the same options as Database apart from path, create and read_only, with the same meaning. Bytes that hold a vector index open with the configuration they record, and any vector option you set must match it (LatticeConfigMismatchError otherwise); enable_vectors with vector_dimensions, vector_metric, vector_m and vector_ef_construction creates and configures an index in bytes that have none. sync_mode, full_fsync, the vector metric, m and ef_construction, and changefeed_retention need a native library with lattice_deserialize_v5; against an older one, setting any of them raises LatticeUnsupportedError.

Transaction

Read Operations

  • get_node(node_id) - Get a node by ID, returns Node or None
  • node_exists(node_id) - Check if a node exists
  • get_property(node_id, key) - Get a property value
  • get_vector(node_id, key="embedding") - The node's vector as a float32 array, or None if it has none. Raises LatticeNotFoundError if the node does not exist. Under the cosine metric, the default, a committed vector reads back normalised to unit length ([3, 4] reads back as [0.6, 0.8]); an uncommitted one reads back as written.
  • get_outgoing_edges(node_id) - Get outgoing edges from a node
  • get_incoming_edges(node_id) - Get incoming edges to a node
  • get_outgoing_edges_by_type(node_id, edge_type, *, limit=0) / get_incoming_edges_by_type(...) - Edges of one type (0 means no limit)
  • get_nodes_by_label(label) - IDs of every node with a label, as this transaction sees them
  • query(cypher, parameters=None) - Run Cypher inside this transaction
  • vector_search(vector, *, k=10, ef_search=64) - k-NN search inside this transaction
  • fts_search(label, prop, query, *, limit=10) / fts_search_fuzzy(...) - Full-text search inside this transaction
  • find_nodes_by_label_property(label, property_key, value, limit=100) - Indexed node equality lookup
  • find_edges_by_type_property(edge_type, property_key, value, limit=100) - Indexed edge equality lookup
  • is_read_only / is_active - Transaction state

Write Operations

  • create_node(labels=[], properties=None) - Create a node
  • delete_node(node_id, *, detach=False) - Delete a node. A node that still has relationships raises LatticeHasRelationshipsError and nothing is deleted, as Cypher's DELETE does; detach=True deletes its relationships with it, as DETACH DELETE does. Deleting a node that does not exist does nothing.
  • set_property(node_id, key, value) - Set a property on a node. If a full-text index is declared for one of the node's labels and this property, the index is kept current.
  • set_vector(node_id, key, vector) - Set the node's vector embedding. A node has one vector, which Cypher reads as n.embedding; key must be "embedding" (or ""), and any other key raises LatticeUnsupportedError. A vector with NaN or infinite components raises LatticeInvalidArgError.
  • remove_vector(node_id, key="embedding") - Remove the node's vector. The node keeps its labels and properties, and vector search no longer returns it. Removing a vector the node does not have does nothing. Raises LatticeNotFoundError if the node does not exist.
  • batch_insert_vectors(label, vectors) - Insert vector-bearing nodes in one call
  • batch_insert(label, vectors) - Deprecated compatibility alias for batch_insert_vectors
  • create_edge(source_id, target_id, edge_type, properties=None) - Create an edge
  • delete_edge(source_id, target_id, edge_type) - Delete an edge
  • set_edge_property(edge_id, key, value) - Set an edge property by stable edge ID
  • get_edge_property(edge_id, key) - Get an edge property by stable edge ID
  • remove_edge_property(edge_id, key) - Remove an edge property by stable edge ID
  • publish_stream(stream, payload, kind="message") - Publish a durable stream record
  • publish_stream_get_sequence(stream, payload, kind="message") - Publish and return the record's sequence number
  • set_stream_offset(stream, consumer, sequence) - Commit a durable consumer offset
  • trim_stream(stream, through_sequence) - Delete stream records through a sequence
  • commit() / rollback() - Commit or rollback the transaction. A commit that raises LatticeTxnAbortedError has ended the transaction, and rolling it back afterwards does nothing; after any other failure it stays open, and leaving the with block rolls it back

Bulk Vector Insertion

Insert many nodes with vectors in a single efficient call:

import numpy as np
from latticedb import Database

with Database("vectors.db", create=True, enable_vectors=True, vector_dimensions=128) as db:
    with db.write() as txn:
        vectors = np.random.rand(1000, 128).astype(np.float32)
        node_ids = txn.batch_insert_vectors("Document", vectors)
        print(f"Created {len(node_ids)} nodes")
        txn.commit()

Property Indexes

Property indexes are explicit and durable. Create them outside an active write transaction; lookup fails instead of silently scanning when the requested index does not exist. The lookup methods find equal values; Cypher also reads the indexes for ranges, STARTS WITH and ORDER BY ... LIMIT.

db.create_node_property_index("Person", "email")

with db.read() as txn:
    node_ids = txn.find_nodes_by_label_property(
        "Person", "email", "alice@example.com", limit=10
    )

# Inline Cypher equality can use the same index.
rows = db.query(
    "MATCH (p:Person {email: $email}) RETURN p",
    {"email": "alice@example.com"},
)
results = db.fts_search("Person", "bio", "machine learning", limit=10)
for r in results:
    print(f"Node {r.node_id}: score={r.score:.4f}")

Fuzzy Search (Typo-Tolerant)

# Finds "machine learning" even with typos
results = db.fts_search_fuzzy("Person", "bio", "machne lerning", limit=10)

# Control fuzzy matching sensitivity
results = db.fts_search_fuzzy(
    "Person",
    "bio",
    "machne",
    limit=10,
    max_distance=2,      # Max edit distance (default: 2)
    min_term_length=4,   # Min term length for fuzzy matching (default: 4)
)

Embeddings

LatticeDB includes a built-in hash embedding function and an HTTP client for external embedding services. For new code, prefer the dedicated latticedb.embedding module. The package root still exposes deprecated compatibility aliases.

Hash Embeddings (Built-in)

Deterministic, no external service needed. Useful for testing or simple keyword-based similarity:

from latticedb.embedding import hash_embed

vec = hash_embed("hello world", dimensions=128)
print(vec.shape)  # (128,)

HTTP Embedding Client

Connect to Ollama, OpenAI, or compatible APIs:

from latticedb.embedding import EmbeddingClient, EmbeddingApiFormat

# Ollama (default). The endpoint is the full URL the client POSTs to.
with EmbeddingClient("http://localhost:11434/api/embeddings") as client:
    vec = client.embed("hello world")

# OpenAI-compatible API
with EmbeddingClient(
    "https://api.openai.com/v1/embeddings",
    model="text-embedding-3-small",
    api_format=EmbeddingApiFormat.OPENAI,
    api_key="sk-...",
) as client:
    vec = client.embed("hello world")

Edge Traversal

with db.read() as txn:
    outgoing = txn.get_outgoing_edges(node_id)
    for edge in outgoing:
        print(f"{edge.source_id} --[{edge.edge_type}]--> {edge.target_id}")

    incoming = txn.get_incoming_edges(node_id)
    for edge in incoming:
        print(f"{edge.source_id} --[{edge.edge_type}]--> {edge.target_id}")

Cypher Queries

# Pattern matching
result = db.query("MATCH (n:Person) RETURN n.name")

# With parameters
result = db.query(
    "MATCH (n:Person) WHERE n.name = $name RETURN n",
    parameters={"name": "Alice"},
)

# Vector similarity in Cypher
result = db.query(
    "MATCH (n:Document) WHERE n.embedding <=> $vec < 0.5 RETURN n.title",
    parameters={"vec": query_vector},
)

# Full-text search in Cypher
result = db.query(
    'MATCH (n:Document) WHERE n.content @@ "machine learning" RETURN n.title'
)

# Data mutation
db.query("CREATE (n:Person {name: 'Charlie', age: 35})")
db.query("MATCH (n:Person {name: 'Charlie'}) SET n.age = 36")
db.query("MATCH (n:Person {name: 'Charlie'}) DETACH DELETE n")

Query Cache

# Get cache statistics
stats = db.cache_stats()
print(f"Entries: {stats['entries']}, Hits: {stats['hits']}, Misses: {stats['misses']}")

# Clear the cache
db.cache_clear()

Checkpoints

A commit is durable once it is in the log (the -wal file beside the database). A checkpoint writes the pages the log's commits changed into the database file and can then empty the log. By default a commit runs one once the log holds 1000 frames (one frame per page, 4096 bytes); the LATTICE_AUTO_CHECKPOINT_FRAMES environment variable sets another default (0 for none), and set_auto_checkpoint wins over it. Closing a database always folds the log into the file.

db.set_auto_checkpoint(0)          # commits never checkpoint; the log grows
# ... a burst of commits ...
stats = db.checkpoint("truncate")  # write the changed pages, then empty the log
print(stats.pages_flushed, stats.duration_ns, stats.checkpoint_lsn, stats.wal_truncated)

db.set_auto_checkpoint(4000, min_interval_ms=1000)  # every 4000 frames, at most once a second

Modes: "passive" writes the changed pages unless one is in use (then it writes nothing and reports 0 pages) and leaves the log in place; "full" writes every changed page and leaves the log in place; "truncate" (the default) does what "full" does and then empties the log, the only mode that bounds its size. Any other mode raises ValueError. checkpoint raises LatticeReadOnlyError on a read-only database and LatticeLockTimeoutError if a transaction already has records in the log; set_auto_checkpoint has no effect on a read-only database and raises ValueError for a negative argument.

The interval is a trade-off. A larger one means fewer checkpoints, each a longer pause for the commit that runs it, a longer -wal file and more to replay after a crash. A smaller one means shorter pauses, more often.

Both need a native library with lattice_checkpoint; against an older one they raise LatticeUnsupportedError.

Durable Streams and Changefeeds

Streams are durable named event logs stored inside the database file. Records are published in write transactions, sequence numbers are per stream, and reads use an explicit cursor. Reads do not acknowledge records; commit offsets separately when your consumer has processed a batch.

from latticedb import Database

with Database("events.db", create=True) as db:
    with db.write() as txn:
        txn.publish_stream("jobs", {"id": 1, "status": "queued"}, kind="job.queued")
        txn.commit()

    records = db.read_stream("jobs", after_sequence=0, limit=100, timeout_ms=0)

    with db.write() as txn:
        txn.set_stream_offset("jobs", "worker-a", records[-1].sequence)
        txn.trim_stream("jobs", records[-1].sequence - 1)
        txn.commit()

db.changes() reads the reserved __lattice_changes stream. It emits semantic graph events such as node.insert, node.property_set, edge.delete, and edge.property_remove, with payloads represented as normal Python values.

A transaction's events describe its net effect (a property set several times is one event, from its value before the transaction to its last value) and come in an order that can be replayed as it comes: the edges it deletes, then the nodes that exist after it, then the edges that exist after it, then the nodes it deletes, each group by ascending id. So an edge is created after both its nodes and deleted before either. See the changefeed guide for the details and for retention policies.

Supported Property Types

  • None - Null value
  • bool - Boolean
  • int - 64-bit integer; a value outside the signed 64-bit range raises OverflowError
  • float - 64-bit float
  • str - UTF-8 string
  • bytes - Binary data
  • NumPy ndarray (float32) - Vector embeddings
  • list - List of any of these values, nested to any depth
  • dict with str keys - Map of any of these values, nested to any depth

Error Handling

from latticedb import Database, LatticeError, LatticeNotFoundError, LatticeIOError

try:
    with Database("nonexistent.db") as db:
        pass
except LatticeNotFoundError:
    print("Database not found")
except LatticeIOError:
    print("I/O error")
except LatticeError as e:
    print(f"Error: {e}")

Every exception carries the C error code as .code. Among the more specific ones: LatticeHasRelationshipsError (a plain delete_node of a node with relationships), LatticeConfigMismatchError (open options that contradict the file's vector index), LatticeNeedsNewerWriterError (a writable open of a file that a newer release has marked as not writable by this one; it still opens with read_only=True), LatticeVersionMismatchError (a file in a format too new for this release to read at all, read-only or not), LatticeNotFoundError (also create_edge when either end does not exist) and LatticeDatabaseLockedError (another process holds the file).

A failed Cypher query raises LatticeQueryError, which says what failed and where:

from latticedb import Database, LatticeQueryError

with Database("graph.db", create=True) as db:
    try:
        db.query("RETURN 1/0")
    except LatticeQueryError as e:
        print(e)                    # Division by zero: 1 / 0
        print(e.code)               # -1
        print(e.stage)              # execution
        print(e.diagnostic_code)    # DivisionByZero
        print(e.location)           # {'line': 1, 'column': 9, 'length': 1}

stage is "parse", "semantic", "plan" or "execution". Parse and semantic failures (an unknown function is unknown_function) have code -6 and execution failures -1, except that a DELETE of a node with relationships has code -17 and a relationship created to a node deleted earlier in the query -4, as delete_node and create_edge report them. A storage failure under a query has code -2 and an allocation failure -13; location is None when the failure does not belong to one place in the query.

Requirements

  • Python 3.9+
  • NumPy (a required dependency)
  • The native LatticeDB library (liblattice.dylib / liblattice.so / lattice.dll), bundled in the published wheels

License

MIT

Metadata

Release files for latticedb 0.18.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for latticedb 0.18.0
File Size Uploaded Provenance Actions
latticedb-0.18.0.tar.gz 73.6 kB With provenance Details for latticedb-0.18.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for latticedb 0.18.0
File Actions
latticedb-0.18.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for latticedb-0.18.0-py3-none-win_arm64.whl
latticedb-0.18.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for latticedb-0.18.0-py3-none-win_amd64.whl
latticedb-0.18.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for latticedb-0.18.0-py3-none-manylinux_2_17_x86_64.whl
latticedb-0.18.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for latticedb-0.18.0-py3-none-manylinux_2_17_aarch64.whl
latticedb-0.18.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for latticedb-0.18.0-py3-none-macosx_11_0_arm64.whl
latticedb-0.18.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for latticedb-0.18.0-py3-none-macosx_10_9_x86_64.whl

Total release size: 16.4 MB

Release files / latticedb-0.18.0.tar.gz

Download URL latticedb-0.18.0.tar.gz
Size 73.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0f2f4616b1c1c20f3f8a50a8dff42a10dd8b6a6f270319a20868d46892a737b6
BLAKE2b-256 checksum
How to use checksums
f7fd863b206372908bee74489adfd2fef63cee47d80cbb6175ca2271ceba7cb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / latticedb-0.18.0-py3-none-win_arm64.whl

Download URL latticedb-0.18.0-py3-none-win_arm64.whl
Size 1.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
6d85422fe74dbcc33eed94d3996e4248bf82fce01e3bf9d0439ec31a37619025
BLAKE2b-256 checksum
How to use checksums
e66ce8a2dce1b30bff6533a612e62598117b87f576990312b3a131ce406d3bfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / latticedb-0.18.0-py3-none-win_amd64.whl

Download URL latticedb-0.18.0-py3-none-win_amd64.whl
Size 1.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
54dee0b0fb2cb7f75bac61d7e4b2db2ff1a14d7c7e555dcb27a33bc4ea14ed94
BLAKE2b-256 checksum
How to use checksums
bb120da063c2cf5079599e375dfb884a4968dfa69cb85f5616430e590aff074a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / latticedb-0.18.0-py3-none-manylinux_2_17_x86_64.whl

Download URL latticedb-0.18.0-py3-none-manylinux_2_17_x86_64.whl
Size 5.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c17b403d6c429aa5e0a41375b259599d8e68c7bcd4905e78c0e931a8831a5aaf
BLAKE2b-256 checksum
How to use checksums
3a013774ac19300edaeeb58cba7ba762d18c9d29fa3fcfca53d116e8cfc212d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / latticedb-0.18.0-py3-none-manylinux_2_17_aarch64.whl

Download URL latticedb-0.18.0-py3-none-manylinux_2_17_aarch64.whl
Size 5.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9fceef00e2c8c0ddd37ea09364e8b3807c7f0081b90226fa3b72c01b3de74192
BLAKE2b-256 checksum
How to use checksums
d3216b3285c1dfb4fb45c7572a700ccf3332d9b8043631eb95b010075d5b4c6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / latticedb-0.18.0-py3-none-macosx_11_0_arm64.whl

Download URL latticedb-0.18.0-py3-none-macosx_11_0_arm64.whl
Size 1.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7dec576d362fe34c3dc2e895cbd405b77deab1574becee78ab3b47a7ef50825b
BLAKE2b-256 checksum
How to use checksums
6eba6044ca10dcb149ae1d7691e6a1da047fa34c5a6100d7ad26a59a26461d16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / latticedb-0.18.0-py3-none-macosx_10_9_x86_64.whl

Download URL latticedb-0.18.0-py3-none-macosx_10_9_x86_64.whl
Size 1.4 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
9786a07719c22aff92272b16f77248c7076f041135b09f460967f218c478e879
BLAKE2b-256 checksum
How to use checksums
14b3febce91d07049bd50bf67b5329048837232bb3ece6066f8c77d5a6269394
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Security for latticedb 0.18.0

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

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for latticedb-0.18.0.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 Nov 16, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.18.0 This release

7 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page