piecash2


Namepiecash2 JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/sdementen/piecash2/
Summarypiecash2, a python library to work with [GnuCash](https://www.gnucash.org/) books
upload_time2024-06-26 17:52:18
maintainerNone
docs_urlNone
authorsdementen
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ---
# piecash2

[![codecov](https://codecov.io/gh/sdementen/piecash2/branch/main/graph/badge.svg?token=piecash2_token_here)](https://codecov.io/gh/sdementen/piecash2)
[![CI](https://github.com/sdementen/piecash2/actions/workflows/main.yml/badge.svg)](https://github.com/sdementen/piecash2/actions/workflows/main.yml)

A python library to work with [GnuCash](https://www.gnucash.org/) books, a successor of the [piecash](https://github.com/sdementen/piecash) library, built on top of SQLAlchemy 2.

## Install it from PyPI

```bash
pip install piecash2
```

## Usage

```py
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](CONTRIBUTING.md) file.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sdementen/piecash2/",
    "name": "piecash2",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "sdementen",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/c7/4c/6592dd21120ee092ec16e060fe9d4346e021a3975417f9214534b66b57e2/piecash2-0.1.3.tar.gz",
    "platform": null,
    "description": "---\n# piecash2\n\n[![codecov](https://codecov.io/gh/sdementen/piecash2/branch/main/graph/badge.svg?token=piecash2_token_here)](https://codecov.io/gh/sdementen/piecash2)\n[![CI](https://github.com/sdementen/piecash2/actions/workflows/main.yml/badge.svg)](https://github.com/sdementen/piecash2/actions/workflows/main.yml)\n\nA python library to work with [GnuCash](https://www.gnucash.org/) books, a successor of the [piecash](https://github.com/sdementen/piecash) library, built on top of SQLAlchemy 2.\n\n## Install it from PyPI\n\n```bash\npip install piecash2\n```\n\n## Usage\n\n```py\nfrom piecash2 import open_book\n\n# open the gnucash book (sqlite3 file)\nSession = open_book(\"mybook.gnucash\")\n# retrieve the module\npiecash = Session.module\n\nwith Session() as session:\n    # query all accounts in the\n    for account in session.query(piecash.Account).all():\n        print(account.name)\n```\n\n## Development\n\nRead the [CONTRIBUTING.md](CONTRIBUTING.md) file.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "piecash2, a python library to work with [GnuCash](https://www.gnucash.org/) books",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/sdementen/piecash2/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "87f5a1507db864f8bd2e47f828168ea478fa57d73c648cb25d6e84541fbadeae",
                "md5": "f9ad05f1c36ac5beefaf8a280932fae6",
                "sha256": "6f8b483a7760ffafd3b8d947721db824136f1da39c5bedf157a86d59db02308e"
            },
            "downloads": -1,
            "filename": "piecash2-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f9ad05f1c36ac5beefaf8a280932fae6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 11011,
            "upload_time": "2024-06-26T17:52:09",
            "upload_time_iso_8601": "2024-06-26T17:52:09.239755Z",
            "url": "https://files.pythonhosted.org/packages/87/f5/a1507db864f8bd2e47f828168ea478fa57d73c648cb25d6e84541fbadeae/piecash2-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c74c6592dd21120ee092ec16e060fe9d4346e021a3975417f9214534b66b57e2",
                "md5": "d164810b74bd80ce80712c7bc06508ab",
                "sha256": "9542a79f5b13ec476fc402aaaa2f514d43f5bc73b5f76e3e4d95ecf838b3ba2f"
            },
            "downloads": -1,
            "filename": "piecash2-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "d164810b74bd80ce80712c7bc06508ab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12037,
            "upload_time": "2024-06-26T17:52:18",
            "upload_time_iso_8601": "2024-06-26T17:52:18.564387Z",
            "url": "https://files.pythonhosted.org/packages/c7/4c/6592dd21120ee092ec16e060fe9d4346e021a3975417f9214534b66b57e2/piecash2-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-26 17:52:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sdementen",
    "github_project": "piecash2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "piecash2"
}
        
Elapsed time: 0.44928s