PyDBISAM
PyDBISAM is a pure Python module to read and export data from DBISAM tables (from their .dat files). The scope of PyDBISAM is not to provide a full database framework but merely to provide the ability to read the table structure and the raw table data.
DBISAM is an on-disk database with one file per table. The file format is proprietary. The basic structure is documented here.
CLI Usage
PyDBISAM includes a simple CLI that can be used to dump the table structure or export the data to various formats (e.g.: CSV).
# pydbisam --dump-structure path/to/file.dat
# pydbisam --dump-csv path/to/file.dat
Code Usage
The PyDBISAM class can be used for read-only access to the tables.
from pydbisam import PyDBISAM
with PyDBISAM("path/to/file.dat") as db:
print(", ".join(db.fields()))
for row in db.rows():
print(", ".join(map(str, row)))
Similar Projects
- DBISAM-to-JSON
- Python 2/3 script to convert DBISAM to JSON (limited support for various column types).
Release files for pydbisam 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydbisam-1.2.1.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydbisam-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / pydbisam-1.2.1.tar.gz
| Download URL | pydbisam-1.2.1.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
900a16a2cfa584fe91f993b0054a32158a1047d57d0bc1477ef30e2eeb7d7e1d
|
|
BLAKE2b-256 checksum How to use checksums |
4354417fbcdb86d90f02ff58fa2ad2510517cea84e40cb7e54e24c690899a8ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Mar 25, 2025.
Transparency logRelease files / pydbisam-1.2.1-py3-none-any.whl
| Download URL | pydbisam-1.2.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94d681986b0dc4a79e77fd3fb7471acb5ceba3584c8e641eabde06788c662d01
|
|
BLAKE2b-256 checksum How to use checksums |
09d54df901fd4a298fcd6bd3b1375a29c01950820308c3539ae505f0fdb0f397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Mar 25, 2025.
Transparency log