Skip to main content

QuickBooks® Desktop

Read QuickBooks Desktop (.qbw) company files in Python, without QuickBooks or a database server.

Python API · Rust API · Examples

Installing

pip install qbw

Requires Python 3.11 or newer.

Using

from datetime import date
import qbw

with qbw.Company.open("company.qbw") as company:
    print(company.info().name)

    for account in company.accounts(active_only=True):
        print(account.full_name, account.account_type)

    sheet = company.balance_sheet(date(2024, 6, 30))
    print("Assets:", sheet.assets.total.amount)
    print("Net income:", sheet.equity.net_income.amount)

Arrow, Polars, and DuckDB

Export accounts, names, items, transactions, open items, stock, and general ledger postings to Apache Arrow:

import duckdb
import polars as pl
import qbw

with qbw.Company.open("company.qbw") as company:
    accounts = pl.from_arrow(company.accounts_arrow())

    ledger = company.ledger_arrow(batch_size=8192)
    totals = duckdb.sql(
        """
        SELECT account_name, SUM(home_amount) AS balance
        FROM ledger
        GROUP BY account_name
        ORDER BY balance DESC
        """
    ).fetchall()

Metadata

Release files for qbw 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for qbw 0.1.0
File Actions
qbw-0.1.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for qbw-0.1.0-cp311-abi3-win_amd64.whl
qbw-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl CPython 3.11 abi3 Linux glibc 2.34+ x86-64 Details for qbw-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl
qbw-0.1.0-cp311-abi3-manylinux_2_34_aarch64.whl CPython 3.11 abi3 Linux glibc 2.34+ ARM64 Details for qbw-0.1.0-cp311-abi3-manylinux_2_34_aarch64.whl
qbw-0.1.0-cp311-abi3-macosx_11_0_x86_64.whl CPython 3.11 abi3 macOS 11.0+ x86-64 Details for qbw-0.1.0-cp311-abi3-macosx_11_0_x86_64.whl
qbw-0.1.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for qbw-0.1.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 11.4 MB

Release files / qbw-0.1.0-cp311-abi3-win_amd64.whl

Download URL qbw-0.1.0-cp311-abi3-win_amd64.whl
Size 2.1 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
393cf7232aac467f9f982aae23a135830167d6276c581904d2267ee22b1de055
BLAKE2b-256 checksum
How to use checksums
e781850d7c524a80ec7eb5df11649a95e6f3acc792b5a9438cbea116f4cb6662
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 24, 2026.

Transparency log

Release files / qbw-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL qbw-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl
Size 2.5 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
4b83e45cef61cdc22406aa554864465c254241ecd91ee9fb2e6256ce1a35e865
BLAKE2b-256 checksum
How to use checksums
54386ce5c37f687dd80f29d9ce6c0f5c8c32f82d4b78dbbddd15610ec7b468fb
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 24, 2026.

Transparency log

Release files / qbw-0.1.0-cp311-abi3-manylinux_2_34_aarch64.whl

Download URL qbw-0.1.0-cp311-abi3-manylinux_2_34_aarch64.whl
Size 2.4 MB
Tags CPython 3.11 Linux glibc 2.34+ ARM64 abi3
SHA-256 checksum
How to use checksums
fad0b4acf7f18a4db49552eb0f1a1bb5fe35023f99dfcda683866da60addb1db
BLAKE2b-256 checksum
How to use checksums
c61c700c55f262c6d306235166d7023507466d1a8487d67bc5d2c0bd164badb8
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 24, 2026.

Transparency log

Release files / qbw-0.1.0-cp311-abi3-macosx_11_0_x86_64.whl

Download URL qbw-0.1.0-cp311-abi3-macosx_11_0_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
679f0829a14e708e4998aeb377143bc0bfda1a2553cefcb27454e50e3f6d4f87
BLAKE2b-256 checksum
How to use checksums
b0614153e39fdfa338f3142252d9ef78fc1cf7f8d6be8441c90399b2bbe74a5a
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 24, 2026.

Transparency log

Release files / qbw-0.1.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL qbw-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f0da1dc78bf7921753430847ea08c5e98175ad9fd6385cc4d3560c799d29cc3d
BLAKE2b-256 checksum
How to use checksums
4733dbcdb5bfef461c5cc8dc049032aab180813b0d132f17190562e390697b61
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 24, 2026.

Transparency log

Security for qbw 0.1.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 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for qbw-0.1.0-cp311-abi3-win_amd64.whl

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 24, 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.1.0 This release

5 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