Skip to main content

piecash2, a python library to work with [GnuCash](https://www.gnucash.org/) books

Project description


piecash2

codecov CI

A python library to work with GnuCash books, a successor of the piecash library, built on top of SQLAlchemy 2.

Install it from PyPI

pip install piecash2

Usage

from piecash2 import open_book

# open the gnucash book (sqlite3 file)
Session = open_book("mybook.gnucash")
# retrieve the module
piecash = Session.module

with Session() as session:
    # query all accounts in the
    for account in session.query(piecash.Account).all():
        print(account.name)

Development

Read the CONTRIBUTING.md file.

Project details


Download files

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

Source Distribution

piecash2-0.1.3.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

piecash2-0.1.3-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page