Skip to main content

openqbw (Python)

Python bindings for OpenQBW, a read-only parser for QuickBooks .qbw files. Targets data-liberation and forensic workflows.

Prototype quality. See the parent repository's README.md and SPECIFICATION.md for what is and is not yet supported.

Install (from source)

pip install maturin
cd OpenQBW/crates/openqbw-py
maturin develop --release

This builds the extension and installs it into the active Python environment.

Quick start

import openqbw

r = openqbw.open("/path/to/file.qbw")
print(r.page_count, "pages,", r.file_size, "bytes")

for t in r.tables()[:5]:
    print(t["table_id"], t["name"])

for li in r.line_items()[:3]:
    print(li["invoice_id"], li["amount_cents"], li["source_table"])

for h in r.transactions()[:3]:
    print(h["qb_id"], h["txn_type"])

API

openqbw.open(path) -> Reader

Reader attributes:

  • path, page_count, file_size

Reader methods (each returns a list of dicts):

  • tables() - SYSTABLE catalog rows
  • indexes() - SYSINDEX entries
  • line_items() - invoice line items, attributed to source tables
  • transactions() - transaction headers

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openqbw-0.1.4.tar.gz (61.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

openqbw-0.1.4-cp39-abi3-win_amd64.whl (189.9 kB view details)

Uploaded CPython 3.9+Windows x86-64

openqbw-0.1.4-cp39-abi3-manylinux_2_34_x86_64.whl (289.1 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.34+ x86-64

openqbw-0.1.4-cp39-abi3-macosx_11_0_arm64.whl (265.4 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file openqbw-0.1.4.tar.gz.

File metadata

  • Download URL: openqbw-0.1.4.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openqbw-0.1.4.tar.gz
Algorithm Hash digest
SHA256 21f5c7ea5c53bad0c31db0835c0ab8d92f7c49f650f9925de2b115cfa74e2a97
MD5 d613ec0d269fe7f4eef9fedfbd1a8bb3
BLAKE2b-256 dc071ee3cdd87f53581d27865841f35ef00292db70100d3eb64f8a2217260c6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for openqbw-0.1.4.tar.gz:

Publisher: release.yml on Sigilweaver/OpenQBW

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openqbw-0.1.4-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: openqbw-0.1.4-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 189.9 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openqbw-0.1.4-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 456843cde7901bb2511c1d47b6ff875b62c845b01813d9f11e0363ce08c67478
MD5 192e98110f776936357404e0d98b0388
BLAKE2b-256 15401bd9d3937e2c9865abf0dd14bdc0d5b25153cd5e0442103459f00991a174

See more details on using hashes here.

Provenance

The following attestation bundles were made for openqbw-0.1.4-cp39-abi3-win_amd64.whl:

Publisher: release.yml on Sigilweaver/OpenQBW

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openqbw-0.1.4-cp39-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for openqbw-0.1.4-cp39-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 639f7cfaee78a517bfa0d87d9ec9fc88e3d87dff3d52d388f1704f802a1d4024
MD5 866491c25e86354bea53c5b9677d0cf4
BLAKE2b-256 1323a7eb4f4cbf724083140a5a85b74eeab4a33d2b5fc48b13329b16ff31a270

See more details on using hashes here.

Provenance

The following attestation bundles were made for openqbw-0.1.4-cp39-abi3-manylinux_2_34_x86_64.whl:

Publisher: release.yml on Sigilweaver/OpenQBW

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openqbw-0.1.4-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openqbw-0.1.4-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 30a9d3f612d7bce2747dfff922857949a6f67ef2be141b8d1dd1848788e354e0
MD5 41d9fb54b56e16f7e4e7073aa12c8259
BLAKE2b-256 b098d669f2af44a7b255349dc00b475605324495aea6a304ad436c03e65f62f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for openqbw-0.1.4-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on Sigilweaver/OpenQBW

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.4 This release

4 files

0.1.3

4 files

0.1.2

4 files

0.1.0

3 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