piecash2, a python library to work with [GnuCash](https://www.gnucash.org/) books
Project description
piecash2
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
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 Distribution
piecash2-0.1.3.tar.gz
(12.0 kB
view details)
Built Distribution
piecash2-0.1.3-py3-none-any.whl
(11.0 kB
view details)
File details
Details for the file piecash2-0.1.3.tar.gz
.
File metadata
- Download URL: piecash2-0.1.3.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9542a79f5b13ec476fc402aaaa2f514d43f5bc73b5f76e3e4d95ecf838b3ba2f |
|
MD5 | d164810b74bd80ce80712c7bc06508ab |
|
BLAKE2b-256 | c74c6592dd21120ee092ec16e060fe9d4346e021a3975417f9214534b66b57e2 |
Provenance
File details
Details for the file piecash2-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: piecash2-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f8b483a7760ffafd3b8d947721db824136f1da39c5bedf157a86d59db02308e |
|
MD5 | f9ad05f1c36ac5beefaf8a280932fae6 |
|
BLAKE2b-256 | 87f5a1507db864f8bd2e47f828168ea478fa57d73c648cb25d6e84541fbadeae |