Skip to main content

dbf_light

https://github.com/idlesign/dbf_light

release lic coverage

Description

Light and easy DBF reader

No fancy stuff, just DBF reading for most common format versions.

  • Uses namedtuple for row representation and iterative row reading to minimize memory usage;
  • Works fine with cyrillic (supports KLADR and CBRF databases);
  • Reads .dbf from zip files.

API

from dbf_light import Dbf


with Dbf.open('some.dbf') as dbf:

    for field in dbf.fields:
        print('Field: %s' % field)

    print('Rows (%s):' % dbf.prolog.records_count)

    for row in dbf:
        print(row)

# Read `some.dbf` from zip (ignoring filename case):
with Dbf.open_zip('some.dbf', 'here/myarch.zip', case_sensitive=False) as dbf:
    ...

CLI

Requires click package (can be installed with: pip install dbf_light[cli]).

$ dbf_light describe myfile.dbf
$ dbf_light show myfile.dbf

Metadata

Release files for dbf_light 1.0.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 dbf_light 1.0.1
File Size Uploaded Provenance Actions
dbf_light-1.0.1.tar.gz 7.1 kB Without provenance Details for dbf_light-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 16.3 kB

Release files / dbf_light-1.0.1.tar.gz

Download URL dbf_light-1.0.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d62a50c8bc365dde37c58ae7c144f8e13e98bc4f862cfab32beb4390eb4c4383
BLAKE2b-256 checksum
How to use checksums
4c25da15544131beccf91c699b595bd0e01138eb5991bc27e091eac9f60759d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / dbf_light-1.0.1-py3-none-any.whl

Download URL dbf_light-1.0.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
568f60934e6111e2e224e3644dbdc02b27536f98b6189445a54035a0bcc8a42b
BLAKE2b-256 checksum
How to use checksums
a73fc6108b874a4d8804cfeded6111650d1079e4cb04cba4446dfe0262ca746b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for dbf_light 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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