fava-envelope


Namefava-envelope JSON
Version 0.5.8 PyPI version JSON
download
home_pagehttps://github.com/polarmutex/fava-envelope
Summary
upload_time2023-09-17 20:24:25
maintainer
docs_urlNone
authorBrian Ryall
requires_python>=3.8
licenseMIT
keywords fava budget envelope
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fava-envelope

A beancount fava extension to add a envelope budgeting capability to fava and beancount. It is developed as an fava plugin and CLI.

![PyPI](https://img.shields.io/pypi/v/fava-envelope?color=success&label=pypi%20package)
![GitHub last commit](https://img.shields.io/github/last-commit/bryall/fava-envelope)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Run on Repl.it](https://repl.it/badge/github/bryall/fava-envelope)](https://repl.it/github/bryall/fava-envelope)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/polarmutex/fava-envelope/master.svg)](https://results.pre-commit.ci/latest/github/polarmutex/fava-envelope/master)

## Repl.it
Click the repl.it link to be able to see the plugin in action
1. Click the link
2. Click Run
3. When the web pane opens, click the open in new tab ( have not figurec ouf why it is not showing in the initial window )
4. Click the "Fava Envelope" link in fava to see the plugin

## Installation via pip
```
python -m pip install fava-envelope
```

## TODO

* add example file for screenshots and testing
* Add testing
* add charts

## Running fava-envelope

## Load the Extension
Add this to your beancount journal, and start fava as normal
```
2000-01-01 custom "fava-extension" "fava_envelope" "{}"
```

You should now see 'Envelope' in your fava window. You must set up a budget (see below), or else Fava will report a 404 error.

## Setting up budget

### Set the budget start date
start date in the format <4 digit year>-<2 digit month>
```
2020-01-01 custom "envelope" "start date" "2020-01"
```

### Budget months ahead
If you want to see future months (to budget ahead), set this parameter
```
2020-01-01 custom "envelope" "months ahead" "2"
```
The default is 0

## Set up Budget Accounts
You will need to specify the Assets and Liabilities you want included in your budget (For example ignoring Investment accounts). you can use regular expression in these statements
```
2020-01-01 custom "envelope" "budget account" "Assets:Checking"
2020-01-01 custom "envelope" "budget account" "Liabilities:Credit-Cards:*"
```

### Set up mappings
By default fava-envelope will use the Assets/Liabilities/Income/Expenses buckets that are not listed in the budget accounts. this directive allows you to map them to another bucket
```
2020-01-01 custom "envelope" "mapping" "Expenses:Food:*" "Expenses:Food"
```

### Allocate money to a bucket
```
2020-01-31 custom "envelope" "allocate" "Expenses:Food" 100.00
```

### Set up operating currency
The envelopes will read the operating currency from the core beancount option.
```
option "operating_currency" "EUR"
```
It will default to USD if this option is not set. Only a single currency is supported for the budget.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/polarmutex/fava-envelope",
    "name": "fava-envelope",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "fava budget envelope",
    "author": "Brian Ryall",
    "author_email": "Unknown <me@brianryall.xyz>",
    "download_url": "https://files.pythonhosted.org/packages/f1/03/10069ef61f9775aeba5c1ddcb148bec8675ab7c15eec1dba8828ff79387b/fava_envelope-0.5.8.tar.gz",
    "platform": null,
    "description": "# fava-envelope\n\nA beancount fava extension to add a envelope budgeting capability to fava and beancount. It is developed as an fava plugin and CLI.\n\n![PyPI](https://img.shields.io/pypi/v/fava-envelope?color=success&label=pypi%20package)\n![GitHub last commit](https://img.shields.io/github/last-commit/bryall/fava-envelope)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Run on Repl.it](https://repl.it/badge/github/bryall/fava-envelope)](https://repl.it/github/bryall/fava-envelope)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/polarmutex/fava-envelope/master.svg)](https://results.pre-commit.ci/latest/github/polarmutex/fava-envelope/master)\n\n## Repl.it\nClick the repl.it link to be able to see the plugin in action\n1. Click the link\n2. Click Run\n3. When the web pane opens, click the open in new tab ( have not figurec ouf why it is not showing in the initial window )\n4. Click the \"Fava Envelope\" link in fava to see the plugin\n\n## Installation via pip\n```\npython -m pip install fava-envelope\n```\n\n## TODO\n\n* add example file for screenshots and testing\n* Add testing\n* add charts\n\n## Running fava-envelope\n\n## Load the Extension\nAdd this to your beancount journal, and start fava as normal\n```\n2000-01-01 custom \"fava-extension\" \"fava_envelope\" \"{}\"\n```\n\nYou should now see 'Envelope' in your fava window. You must set up a budget (see below), or else Fava will report a 404 error.\n\n## Setting up budget\n\n### Set the budget start date\nstart date in the format <4 digit year>-<2 digit month>\n```\n2020-01-01 custom \"envelope\" \"start date\" \"2020-01\"\n```\n\n### Budget months ahead\nIf you want to see future months (to budget ahead), set this parameter\n```\n2020-01-01 custom \"envelope\" \"months ahead\" \"2\"\n```\nThe default is 0\n\n## Set up Budget Accounts\nYou will need to specify the Assets and Liabilities you want included in your budget (For example ignoring Investment accounts). you can use regular expression in these statements\n```\n2020-01-01 custom \"envelope\" \"budget account\" \"Assets:Checking\"\n2020-01-01 custom \"envelope\" \"budget account\" \"Liabilities:Credit-Cards:*\"\n```\n\n### Set up mappings\nBy default fava-envelope will use the Assets/Liabilities/Income/Expenses buckets that are not listed in the budget accounts. this directive allows you to map them to another bucket\n```\n2020-01-01 custom \"envelope\" \"mapping\" \"Expenses:Food:*\" \"Expenses:Food\"\n```\n\n### Allocate money to a bucket\n```\n2020-01-31 custom \"envelope\" \"allocate\" \"Expenses:Food\" 100.00\n```\n\n### Set up operating currency\nThe envelopes will read the operating currency from the core beancount option.\n```\noption \"operating_currency\" \"EUR\"\n```\nIt will default to USD if this option is not set. Only a single currency is supported for the budget.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.5.8",
    "project_urls": {
        "Changelog": "https://github.com/polarmutex/fava-envelope/master/CHANGELOG.md",
        "Documentation": "https://github.com/polarmutex/fava-envelope",
        "Homepage": "https://github.com/polarmutex/fava-envelope",
        "Repository": "https://github.com/polarmutex/fava-envelope"
    },
    "split_keywords": [
        "fava",
        "budget",
        "envelope"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b2698562f00e83ac1f87ca8e260ff7d571ac30cc69b6ed05a4f2548d0459183",
                "md5": "7bb5b07189b096a4b4b000777d213f06",
                "sha256": "2ed3eb497faa413bb24b2231de6f75601e73c10b90a65773562d9e20461523c9"
            },
            "downloads": -1,
            "filename": "fava_envelope-0.5.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7bb5b07189b096a4b4b000777d213f06",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 10274,
            "upload_time": "2023-09-17T20:24:24",
            "upload_time_iso_8601": "2023-09-17T20:24:24.297409Z",
            "url": "https://files.pythonhosted.org/packages/8b/26/98562f00e83ac1f87ca8e260ff7d571ac30cc69b6ed05a4f2548d0459183/fava_envelope-0.5.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f10310069ef61f9775aeba5c1ddcb148bec8675ab7c15eec1dba8828ff79387b",
                "md5": "9c6abee871a4d1d486b522b86b52f186",
                "sha256": "505fb90ff1b1876f0042c8196ca16fe6050d87b2ac46e4467b354fa09fca46d6"
            },
            "downloads": -1,
            "filename": "fava_envelope-0.5.8.tar.gz",
            "has_sig": false,
            "md5_digest": "9c6abee871a4d1d486b522b86b52f186",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9620,
            "upload_time": "2023-09-17T20:24:25",
            "upload_time_iso_8601": "2023-09-17T20:24:25.893801Z",
            "url": "https://files.pythonhosted.org/packages/f1/03/10069ef61f9775aeba5c1ddcb148bec8675ab7c15eec1dba8828ff79387b/fava_envelope-0.5.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-17 20:24:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "polarmutex",
    "github_project": "fava-envelope",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "fava-envelope"
}
        
Elapsed time: 0.11255s