swindl – Seecr Web Index and Database Lib
The storage side of an SWL application: objects in
sjdbl's JSON files, searchable through
sil's index, as one Store; and the WebAdapter, which
converts and checks what comes in from a web form.
from sjdbl.field import Field
from swindl.store import Base, Store
from swindl.webadapter import Adapt, from_form
class Person(Base):
FIELDS = [Field.str("name"), Field.date("dob")]
ADAPTATIONS = [Adapt.date("dob")]
store = Store(data_dir, [Person])
person = store.create(Person, from_form(Person, form, ["name", "dob"]))
with store.transaction(): # stored and indexed together, or not at all
store.put(person, invoice)
store.delete(basket)
Crash safe: a transaction is in the files completely or not at all, and the index
catches up when the store is opened again. swindl-check tells whether the index
matches the files.
Install with pip install swindl. It needs Python 3.11 or newer; sjdbl, sil
(seecr-sil) and their dependencies come with it.
- swindl.seecr.nl: the website, with the references of swindl, sjdbl and sil online and as PDFs.
- reference: everything.
- guarantees: what is promised, what not, the limits, backups.
- WebAdapter: the WebAdapter in full.
- examples: runnable examples, and examples/collection: an application to keep track of a record (or LEGO) collection, built on SWL and swindl.
- changelog: what changed, and how to upgrade.
Metadata
Release files for swindl 3.2.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 |
|---|---|---|---|---|
| swindl-3.2.0.tar.gz | 149.7 kB | With provenance | Details for swindl-3.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swindl-3.2.0-py3-none-any.whl | Python 3 | none | any | Details for swindl-3.2.0-py3-none-any.whl |
Total release size: 205.9 kB
Release files / swindl-3.2.0.tar.gz
| Download URL | swindl-3.2.0.tar.gz |
|---|---|
| Size | 149.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a00c88a48201abbd302ec6b7f9bfec898a4922c1151dc68fc1f374b94a5b17e
|
|
BLAKE2b-256 checksum How to use checksums |
beda7a6e8979009aef030b43dd648b2d43c289c11386c6372f660b6d0d2b65b3
|
| 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 24, 2026.
Transparency logRelease files / swindl-3.2.0-py3-none-any.whl
| Download URL | swindl-3.2.0-py3-none-any.whl |
|---|---|
| Size | 56.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e45ac39fa2028c2d3c32572bf48e25c3c5fb160faa1affb1899add23d0a599b4
|
|
BLAKE2b-256 checksum How to use checksums |
541fe1b07fd4935031dd3945512123a5bf23d2f2d3f3d0347ae5d01984f95693
|
| 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 24, 2026.
Transparency logSecurity for swindl 3.2.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
Both files in this release have been uploaded with provenance metadata.
Attestation for swindl-3.2.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 24, 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.