Python bindings for OpenQBW (QuickBooks .qbw file reader)
Project description
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.mdandSPECIFICATION.mdfor 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 rowsindexes()— SYSINDEX entriesline_items()— invoice line items, attributed to source tablestransactions()— transaction headers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openqbw-0.1.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: openqbw-0.1.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 181.7 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dc72f46e99c0303bee7c1fb48a380af99e24a8cb979ee0afa930b68cf397d67
|
|
| MD5 |
719122406b18ebb95a856d3393d173a8
|
|
| BLAKE2b-256 |
698a0f0e6c8d0a53831c223ede5cf62f04e3525c6eaa16bfe96f7925d5dc50c6
|
Provenance
The following attestation bundles were made for openqbw-0.1.0-cp39-abi3-win_amd64.whl:
Publisher:
release.yml on Sigilweaver/OpenQBW
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openqbw-0.1.0-cp39-abi3-win_amd64.whl -
Subject digest:
6dc72f46e99c0303bee7c1fb48a380af99e24a8cb979ee0afa930b68cf397d67 - Sigstore transparency entry: 1674349042
- Sigstore integration time:
-
Permalink:
Sigilweaver/OpenQBW@39bca80efcff9a959bea657a39b1e1c4ae98e2fa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Sigilweaver
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@39bca80efcff9a959bea657a39b1e1c4ae98e2fa -
Trigger Event:
push
-
Statement type:
File details
Details for the file openqbw-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: openqbw-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 277.8 kB
- Tags: CPython 3.9+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ee98c049e7a7444fd0dbb778bcf84b04b0aab53399521856ee8711cd6d9482
|
|
| MD5 |
436c70e0b568324164144315e868c0a6
|
|
| BLAKE2b-256 |
43ab2f72c9ef24bbb479c17568f9c533a1059be67724776d8d272b056459dee4
|
Provenance
The following attestation bundles were made for openqbw-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl:
Publisher:
release.yml on Sigilweaver/OpenQBW
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openqbw-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
10ee98c049e7a7444fd0dbb778bcf84b04b0aab53399521856ee8711cd6d9482 - Sigstore transparency entry: 1674349056
- Sigstore integration time:
-
Permalink:
Sigilweaver/OpenQBW@39bca80efcff9a959bea657a39b1e1c4ae98e2fa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Sigilweaver
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@39bca80efcff9a959bea657a39b1e1c4ae98e2fa -
Trigger Event:
push
-
Statement type:
File details
Details for the file openqbw-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: openqbw-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 249.6 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
682070d0d80ad256df39752dea38d7e971f4b20729797e83d53f754a03b2a93f
|
|
| MD5 |
ff5d9ba3016b031d4255b994bb2abb87
|
|
| BLAKE2b-256 |
affea7e32f1c2620dbea53f19c98d0558fbb0dae3337f70dbf299ddb8767a81d
|
Provenance
The following attestation bundles were made for openqbw-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on Sigilweaver/OpenQBW
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openqbw-0.1.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
682070d0d80ad256df39752dea38d7e971f4b20729797e83d53f754a03b2a93f - Sigstore transparency entry: 1674349075
- Sigstore integration time:
-
Permalink:
Sigilweaver/OpenQBW@39bca80efcff9a959bea657a39b1e1c4ae98e2fa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Sigilweaver
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@39bca80efcff9a959bea657a39b1e1c4ae98e2fa -
Trigger Event:
push
-
Statement type: