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.1

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.1
File Size Uploaded Provenance Actions
swindl-3.2.1.tar.gz 149.8 kB With provenance Details for swindl-3.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 206.0 kB

Release files / swindl-3.2.1.tar.gz

Download URL swindl-3.2.1.tar.gz
Size 149.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1a881a7f75240610fb03c7188a6365f56d59dc55a5118f30ff1b64c7bab6751d
BLAKE2b-256 checksum
How to use checksums
ad4d46200fda6af3997e6324c174f4b38873503118930a525dc45d5127aac144
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 log

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

Download URL swindl-3.2.1-py3-none-any.whl
Size 56.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26e9dd3d49528b4c0d5695bba4820881c1ab4c3cabdf8bf526f1ac3b81cdf964
BLAKE2b-256 checksum
How to use checksums
5bb9b12bfc7d6f53627ba920b7f14ac56db9744b7c254c782bff2c59890321bb
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 log

Security for swindl 3.2.1

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.1.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 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