Skip to main content

swindl – Seecr Web Index and Database Lib

Tests PyPI

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.

MIT licensed, see LICENSE. By Seecr.

Metadata

Release files for swindl 3.2.2

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

Source distribution (sdist)

Source distribution for swindl 3.2.2
File Size Uploaded Provenance Actions
swindl-3.2.2.tar.gz 150.2 kB With provenance Details for swindl-3.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swindl 3.2.2
File Interpreter ABI Platform Actions
swindl-3.2.2-py3-none-any.whl Python 3 none any Details for swindl-3.2.2-py3-none-any.whl

Total release size: 206.4 kB

Release files / swindl-3.2.2.tar.gz

Download URL swindl-3.2.2.tar.gz
Size 150.2 kB
Tags Source
SHA-256 checksum
How to use checksums
470266f43e1cbb822407e572b64dab6fdc0df63d689b7832f272622936487e76
BLAKE2b-256 checksum
How to use checksums
a7e1dbf144cd25169a652781efaa430e345855d11a24ead901c3a97426e93926
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 28, 2026.

Transparency log

Release files / swindl-3.2.2-py3-none-any.whl

Download URL swindl-3.2.2-py3-none-any.whl
Size 56.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6d192608e7ed53c05fde0edce1a06821c04c7bdd5de5358305a703e7d62ab05
BLAKE2b-256 checksum
How to use checksums
1077c130d717322cf64bf030494c05f7f08bca722b89763193e6acd24e2855f5
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 28, 2026.

Transparency log

Security for swindl 3.2.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for swindl-3.2.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 Nov 28, 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.

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