gncxml
gncxml - extract entries from GnuCash data file to pandas.DataFrame
Installation
pip install gncxml
Usage (Command Line)
usage: gncxml [-h] [-l] [--csv] TYPE [FILE]
gncxml - print entries in GnuCash data file as data frame
positional arguments:
TYPE type of entries to print (account | commodity | price | split |
transaction)
FILE GnuCash data file (XML format)
options:
-h, --help show this help message and exit
-l, --long list in long format
--csv print in csv format
Usage (Python Module)
import sys
import gncxml
try:
book = gncxml.Book("mybook.gnucash")
except OSError as err:
sys.exit(err)
# Extract splits as pandas.DataFrame
df = book.list_splits()
print(df[df["trn_date"] >= "2023-07-01"].to_csv())
See also: examples/module_usage.ipynb
License
Copyright 2017-2022 LiosK
Licensed under the Apache License, Version 2.0.
Metadata
Release files for gncxml 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gncxml-0.8.0.tar.gz | 11.3 kB | Without provenance | Details for gncxml-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gncxml-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for gncxml-0.8.0-py3-none-any.whl |
Total release size: 24.1 kB
Release files / gncxml-0.8.0.tar.gz
| Download URL | gncxml-0.8.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d987a09691255a0a5c753ed453412a2216e6d4977537131d3141150d6b4ab1f3
|
|
BLAKE2b-256 checksum How to use checksums |
ddb7cb5c0b40e822a8f16c81e36c0b6b2219fb9526be24520c9ad78600298710
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.6 Darwin/25.5.0
|
Release files / gncxml-0.8.0-py3-none-any.whl
| Download URL | gncxml-0.8.0-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37400dfc5254313a6fdbe9f8d816ca0b23b65b5aefbd781a53753303cc3597ab
|
|
BLAKE2b-256 checksum How to use checksums |
d41a00009f6626a04150b23e0d0969e0923f84a5fca70e8fb1597aaa390e6a25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.6 Darwin/25.5.0
|
Security for gncxml 0.8.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.