Skip to main content
License Python versions Documentation Status

delb-existdb is a Python database interface for eXist-db, it was initially named snakesist until its 0.3 release. It supports basic CRUD operations and uses delb’s models to represent documents and nodes. It’s available at the Python Package Index as delb-existdb package.

delb-existdb allows you to access individual documents from the database using a delb.Document object, either by simply passing a URL:

>>> from delb import Document

>>> manifest = Document(
...     "existdb://admin:@localhost:8080/exist/db/manifestos/dada_manifest.xml"
... )
>>> [header.full_text for header in manifest.xpath("//head")]
["Hugo Ball", "Das erste dadaistische Manifest"]

or by passing a relative path to the document along with a database client that is bound to an eXist documents collection which you can subsequently reuse:

>>> from delb_existdb import ExistClient

>>> exist_client = ExistClient(
...     host="localhost",
...     port=8080,
...     user="admin",
...     password="",
...     collection="/db/manifestos"
... )
>>> dada_manifest = Document("dada_manifest.xml", existdb_client=exist_client)
>>> [header.full_text for header in dada_manifest.xpath("//head")]
["Hugo Ball", "Das erste dadaistische Manifest"]
>>> communist_manifest = Document(
...     "communist_manifest.xml", existdb_client=exist_client
... )
>>> communist_manifest.xpath("//head").first.full_text
"Manifest der Kommunistischen Partei"

and not only for accessing individual documents, but also for querying nodes across multiple documents:

>>> [header.node.full_text for header in exist_client.xpath("//*:head")]
["Hugo Ball", "Das erste dadaistische Manifest", "Manifest der Kommunistischen Partei", "I. Bourgeois und Proletarier.", "II. Proletarier und Kommunisten", "III. Sozialistische und kommunistische Literatur", "IV. Stellung der Kommunisten zu den verschiedenen oppositionellen Parteien"]

You can of course also modify and store documents back into the database or create new ones and store them.

Your eXist-db instance

delb-existdb leverages eXist’s RESTful API for database operations. This means that allowing database queries using POST requests on the RESTful API is a requirement in the used eXist-db instance. eXist allows this by default, so if you haven’t configured your instance otherwise, don’t worry about it.

We aim to directly support all most recent releases from each major branch. Yet, there’s no guarantee that releases older than two years will be kept as a target for tests. Pleaser refer to the values tool.hatch.envs.tests.matrix.existdb_version in the pyproject.toml for what’s currently considered.

Metadata

Release files for delb-existdb 0.4

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

Source distribution (sdist)

Source distribution for delb-existdb 0.4
File Size Uploaded
delb_existdb-0.4.tar.gz 46.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for delb-existdb 0.4
File Interpreter ABI Platform
delb_existdb-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 60.0 kB

Release files / delb_existdb-0.4.tar.gz

Download URL delb_existdb-0.4.tar.gz
Size 46.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1bd38af65d5e3d972b5bec34ef1cc199991eb079a23bc4685a3447a7a7e45d43
BLAKE2b-256 checksum
How to use checksums
8ccfad2d82d0135efad7c5b6f70c05f21f5a953c51952498d3e68202312c7e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 15, 2026.

Transparency log

Release files / delb_existdb-0.4-py3-none-any.whl

Download URL delb_existdb-0.4-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6652e18ef544b49c91603ca9feb9209891d8a8f4d72c79591ed2d84db0457d56
BLAKE2b-256 checksum
How to use checksums
583fae2811723f285a21758b2ce68d3469bddc82c6da7a4c50aad8e4da097ef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

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