xyberos-faiss
FAISS VectorStore plugin — RFC-0019, M4. A purely local, no-server vector
store backed by FAISS. Passes the
same parity scenarios as the stdlib SqliteVectorStore (the M4 Definition of
Done).
Install
pip install xyberos-faiss # from PyPI
pip install "xyberos-faiss[vectors]" # pulls in faiss-cpu
# development (editable, from this repo):
pip install -e ./faiss
pip install faiss-cpu # or: pip install xyberos[vectors]
faiss-cpuwheels are available on PyPI for Linux/macOS; on Windows use a conda env or run the parity tests on a platform with wheels — the tests skip cleanly when the module is absent.
Usage
from xyberos import create_app
from xyberos_faiss import FaissPlugin
app = create_app()
app.load_plugin(FaissPlugin())
store = app.resolve("vector_store")
store.upsert("ns", "doc-1", [1.0, 0.0, 0.0, 0.0], {"text": "alpha"})
hits = store.query("ns", [1.0, 0.0, 0.0, 0.0], top_k=3)
Design
- Each namespace is an in-memory
faiss.IndexFlatIPover L2-normalized vectors, so inner-product scores equal cosine similarity (higher = more relevant, matching theVectorStorecontract). dimis optional and auto-detected from the first upsert (FAISS_DIMenv honored).faissis imported lazily; a clearProviderErroris raised when it is missing.
Tests
pip install pytest
pytest tests/ # unit + parity + plugin tests
Parity tests run the exact scenarios the SqliteVectorStore reference passes;
they skip cleanly when faiss-cpu is not importable on the current platform.
Ship location
[vectors] extra (faiss-cpu already added to pyproject.toml).
Metadata
Release files for xyberos-faiss 0.1.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 |
|---|---|---|---|---|
| xyberos_faiss-0.1.2.tar.gz | 7.2 kB | With provenance | Details for xyberos_faiss-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xyberos_faiss-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for xyberos_faiss-0.1.2-py3-none-any.whl |
Total release size: 12.8 kB
Release files / xyberos_faiss-0.1.2.tar.gz
| Download URL | xyberos_faiss-0.1.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8014715c89d9ddcbb22efd68460cb24a32e8026af59f900e1f032e2abe6195e5
|
|
BLAKE2b-256 checksum How to use checksums |
da8a3bf22fde28f72731aecb763e29633e3ec7cd98d7a65eefbd3bd5c4c2a284
|
| 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 Oct 11, 2026.
Transparency logRelease files / xyberos_faiss-0.1.2-py3-none-any.whl
| Download URL | xyberos_faiss-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7996b5c43fc9c3c61a03d87913eea9b4b9d7ab5428ce9ba865edb06c7d045676
|
|
BLAKE2b-256 checksum How to use checksums |
daab0f0f6c2d59b241c49d8f2d76e1c30958793b42aa86d72a5e9049af6c370d
|
| 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 Oct 11, 2026.
Transparency logSecurity for xyberos-faiss 0.1.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for xyberos_faiss-0.1.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 Oct 11, 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.