dynamodb-haystack
Requirements
DynamoDB's native vector search (SearchVectors, vector indexes) is only available in
boto3 >= 1.43.66, which requires Python 3.10+. Both are enforced by this package's metadata.
Limitations
- Metadata filters are evaluated client-side:
filter_documents,count_documentsand the filter-based bulk operations scan the whole table, and embedding retrieval filters the at most 100 nearest candidates that DynamoDB'sSearchVectorsreturns (top_kcannot exceed 100). - Only cosine similarity is supported for now.
- A DynamoDB item is limited to 400 KB, which bounds a document's content, metadata and embedding.
Running the integration tests
The integration tests run against real AWS — there is no local DynamoDB emulator that supports vector indexes. They are skipped unless you opt in:
export AWS_DEFAULT_REGION=<your-region>
export HAYSTACK_DYNAMODB_INTEGRATION_TESTS=1
hatch run test:integration
You also need credentials (any standard boto3 credential source) with permission to
CreateTable, DeleteTable, DescribeTable, ListTables, the item-level operations, and
SearchVectors. Each test class creates one table named haystack_test_<run id>_<class> and
deletes it afterwards; a session-scoped safety net sweeps any table of the same run whose delete
was rejected while its index was still settling. Expect the suite to create and destroy real,
billable tables.
Contributing
Refer to the general Contribution Guidelines.
Metadata
Release files for dynamodb-haystack 2.0.0
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 |
|---|---|---|---|---|
| dynamodb_haystack-2.0.0.tar.gz | 30.3 kB | With provenance | Details for dynamodb_haystack-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dynamodb_haystack-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for dynamodb_haystack-2.0.0-py3-none-any.whl |
Total release size: 50.9 kB
Release files / dynamodb_haystack-2.0.0.tar.gz
| Download URL | dynamodb_haystack-2.0.0.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bda612544c79b2a71a4583b57709340912e44638fab4e15f76f531909024eb49
|
|
BLAKE2b-256 checksum How to use checksums |
d2efa743e5e59876a8e5af9998cc22572341e9be9feccb9f96b034ca0176536a
|
| 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 19, 2026.
Transparency logRelease files / dynamodb_haystack-2.0.0-py3-none-any.whl
| Download URL | dynamodb_haystack-2.0.0-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97a28e7f89a8b744db08c75fa6ea32141e386616404c9c876b4190b1880d957f
|
|
BLAKE2b-256 checksum How to use checksums |
f81167da3644d80700127d4213abe78d20029e46ad701c16a43269345c62126e
|
| 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 19, 2026.
Transparency logSecurity for dynamodb-haystack 2.0.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 2 files in this release have been uploaded with provenance metadata.
Attestation for dynamodb_haystack-2.0.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 Oct 19, 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.