Skip to main content

firn

Vector + full-text search on object storage, embeddable in-process. No server, no infrastructure to stand up.

import firn

db = firn.connect()                 # local ./firn_data
# ...or object storage:
# db = firn.connect(storage_url="s3://bucket",
#                   access_key=..., secret_key=...)

db.add([
    {"id": 1, "vector": [0.1, 0.2, 0.3], "text": "the quick brown fox"},
    {"id": 2, "vector": [0.4, 0.5, 0.6], "text": "a lazy dog sleeps"},
])

hits = db.search("fox")                            # full-text (BM25)
hits = db.search(vector=[0.1, 0.2, 0.3])           # nearest-neighbour
hits = db.search("fox", vector=[0.1, 0.2, 0.3])    # hybrid (fused)
hits = db.search(vector=[0.1, 0.2, 0.3], filter="id > 1")  # with a prefilter
for hit in hits:
    print(hit.id, hit.score, hit.text)

Each row carries a vector (your embedding) and optional text. Search by vector, by text, or both at once (reciprocal-rank fused). Storage is a local directory or any S3-compatible object store (AWS, Tigris, R2, MinIO, …) or GCS.

Apache-2.0. Part of Firn.

Release files for firn 0.2.3

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

Source distribution (sdist)

Source distribution for firn 0.2.3
File Size Uploaded
firn-0.2.3.tar.gz 203.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for firn 0.2.3
File Interpreter ABI Platform
firn-0.2.3-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
firn-0.2.3-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details
firn-0.2.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.10 abi3 macOS 11.0+ ARM64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64 Details

Total release size: 197.6 MB

Release files / firn-0.2.3.tar.gz

Download URL firn-0.2.3.tar.gz
Size 203.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a44ee54ad94a1bdceb5da2ee304591a9df45d40be552e284f586ed46ff90ecc4
BLAKE2b-256 checksum
How to use checksums
fe6f345991bab2bd305fefd32768f420fbef1de1496bfbfa51daaf48d82ad7ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 3, 2026.

Transparency log

Release files / firn-0.2.3-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL firn-0.2.3-cp310-abi3-manylinux_2_28_x86_64.whl
Size 52.2 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
bf43ac20828559a3d39de4e6c832dc25f3d86f22941a10d71111ab3a8b91a0ab
BLAKE2b-256 checksum
How to use checksums
a45a4c13c44f64dac9a1e6d01d97629481dfd1687bc0dd4d98ab518241fa00f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 3, 2026.

Transparency log

Release files / firn-0.2.3-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL firn-0.2.3-cp310-abi3-manylinux_2_28_aarch64.whl
Size 49.0 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
3ffb5e241a25483f68e1d2f0bc0a993f52ddeab1faf94387a35f2ec2c4e74ef9
BLAKE2b-256 checksum
How to use checksums
74324f0df69a484d8794085a229361c31c2483975c6693a4a09c4ae483c3fdae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 3, 2026.

Transparency log

Release files / firn-0.2.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL firn-0.2.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 96.1 MB
Tags CPython 3.10 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6faaddeadd3d847300d2a2cbd8e49ead8577ecc482f7ee8ddbe041b625806ddd
BLAKE2b-256 checksum
How to use checksums
825e9739cc5974639ac36f7a4d2beabd297eb7c86ea1d51505e922a62e0b94cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.3 This release

4 release files

0.2.2

4 release files

0.2.1

4 release files

0.2.0

4 release files

0.1.0

4 release files

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