Skip to main content

celerp-qbw

A read-only parser for QuickBooks .qbw files, based on OpenQBW (Apache-2.0). It adds reading the table rows of Enterprise 23 and 24 company files. The import name stays openqbw. This package is not affiliated with or endorsed by the OpenQBW project.

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

Install

pip install celerp-qbw

Python 3.10 or later. Wheels (abi3) are published for Linux, macOS and Windows.

To build from a clone instead:

pip install maturin
cd celerp-qbw/crates/openqbw-py
maturin develop --release

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

Quick start

import openqbw

# Strict is the default and raises at the first record it cannot decode.
# Real files often need lenient mode, which skips and lists those records.
r = openqbw.open("/path/to/file.qbw", lenient=True)
print(r.page_count, "pages,", r.file_size, "bytes")

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

lines = r.line_items()
for li in lines[:3]:
    # value is a decimal.Decimal, or None when the field was not decoded; it
    # is never 0 for "unknown". It is not established as the line amount, and
    # source_table is a position-based, unverified attribution.
    print(li.qb_id_parent, li.value, li.value_undecoded, li.source_table, li.flags)
for w in lines.warnings:
    print("warning:", w.kind, w.message)

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

# Each skipped record is listed.
for rej in lines.rejected:
    print(rej.kind, rej.page_number, rej.page_offset, rej.message)

API

openqbw.open(path, *, lenient=False) -> Reader

Reads are strict: a record or page that cannot be decoded with confidence raises (the message says to open the file with lenient=True). With lenient=True such records are skipped, listed in each result's rejected, and an openqbw.OpenQBWWarning is issued.

Reader attributes: path, lenient, page_count, file_size, created_unix_seconds (the stored count taken as UTC), attribution_gap.

LineItem.txn_date_days_since_unix is a converted date, best effort: the offset is fitted to one sample and not checked against a date known from another source. The raw value is txn_date_raw. LineItem.value_undecoded is None or one of zero_length, digit_over_99, exponent_out_of_range or sector_boundary.

Reader methods, each returning a ScanReport:

  • tables() - Table rows of the SYSTABLE catalog
  • indexes() - Index rows of the SYSINDEX catalog
  • line_items() - LineItem records, attributed to source tables by page position (unverified)
  • transactions() - Transaction headers

A ScanReport is a sequence of its items and also has rejected (a list of Rejected: kind, page_number, page_offset, message) and warnings (a list of ReadWarning: kind, message). Records have attributes, a flags list naming the reasons a record deserves less trust, and to_dict().

Exceptions: OpenQBWError (a ValueError) is the base class. OpenQBWIOError (also an OSError) means the file could not be read; FormatError means it is not a supported company file or a page is damaged; RecordError (a FormatError) means a record could not be decoded; ContentError (a FormatError) means the content is not readable. Every exception has kind, page_number and page_offset.

Type stubs (.pyi) and py.typed ship with the package.

Tests

pip install pytest
pytest crates/openqbw-py/tests

Metadata

Release files for celerp-qbw 0.3.0

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

Source distribution (sdist)

Source distribution for celerp-qbw 0.3.0
File Size Uploaded Provenance Actions
celerp_qbw-0.3.0.tar.gz 169.1 kB With provenance Details for celerp_qbw-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for celerp-qbw 0.3.0
File Actions
celerp_qbw-0.3.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for celerp_qbw-0.3.0-cp310-abi3-win_amd64.whl
celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl
celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_aarch64.whl
celerp_qbw-0.3.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for celerp_qbw-0.3.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
celerp_qbw-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for celerp_qbw-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
celerp_qbw-0.3.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for celerp_qbw-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
celerp_qbw-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for celerp_qbw-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 4.1 MB

Release files / celerp_qbw-0.3.0.tar.gz

Download URL celerp_qbw-0.3.0.tar.gz
Size 169.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9c1446ffdb10729471745e806a2354d618d38c7dff87d22500eb0979b2f1c8d7
BLAKE2b-256 checksum
How to use checksums
f57d5063a1c2149a888fe71155eddca02caa55057d84dfe59c7be2ae49e29239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / celerp_qbw-0.3.0-cp310-abi3-win_amd64.whl

Download URL celerp_qbw-0.3.0-cp310-abi3-win_amd64.whl
Size 446.9 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
291d6f21f20578a07c6c8c86785d16484da8f6b5749e5afa84ced53402afb8e6
BLAKE2b-256 checksum
How to use checksums
843cbb0570110d1ef1a56591db7ddd35896cb4933cb6a0a3a1d0f2a6fce60444
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 743.4 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
8671d094b274747151f96ce2077792f452a376ca76d1e13efc24425385ceb5ad
BLAKE2b-256 checksum
How to use checksums
99e1964704b69229b5fecd768c83ac1a16efa407ec61f5e1e32f62d6b4a7ffc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL celerp_qbw-0.3.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 693.2 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
83227d2cae20a3f13bbb832559b41ab81f1c1bcf550145df2aedd417952f0f24
BLAKE2b-256 checksum
How to use checksums
16c8e8a022997925fdc21523b28a97514b1fbb87e613f180f39e2d4d08a903e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / celerp_qbw-0.3.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL celerp_qbw-0.3.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 538.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
6d526eec6f63fcecd8491baa6e86905c6a80d67ffaf844edea0b37232bd03e4c
BLAKE2b-256 checksum
How to use checksums
a30b65423cc07e109d93e93d1420b72837bc85bacb20d32beabf4453b279b5eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / celerp_qbw-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL celerp_qbw-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 515.0 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
cba27fe2155b6f47700963a96173badbf9ab6c9f620d8ff9040fed0c6d997d07
BLAKE2b-256 checksum
How to use checksums
a4064eca7a908bcf47bc77e571be3b770e6a028115d1eee375eed82461e55832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / celerp_qbw-0.3.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL celerp_qbw-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
Size 470.4 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
27e0bc6f5f30c74e013094080ead26e29609e18accbb221b80b304d2428c953f
BLAKE2b-256 checksum
How to use checksums
dcb288d126c2a53160dedf2b0935ecc42d0c5b5037cf8192eab1057aac1163e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Release files / celerp_qbw-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL celerp_qbw-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 500.6 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
df3ebd80477a2bb2c1310fc05438c8f0e4a04a628504e4450599a5c49be2cf87
BLAKE2b-256 checksum
How to use checksums
de92b82df038b6e55b07e82e7403da5dc30bbf816b21cfbd79358af39393e944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 30, 2026.

Transparency log

Security for celerp-qbw 0.3.0

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for celerp_qbw-0.3.0.tar.gz

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 Nov 30, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

8 release files Full provenance

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