fava-envelope


Namefava-envelope JSON
Version 0.5.9 PyPI version JSON
download
home_pagehttps://github.com/polarmutex/fava-envelope
SummaryNone
upload_time2024-07-05 17:25:00
maintainerNone
docs_urlNone
authorBrian Ryall
requires_python>=3.8
licenseMIT
keywords fava budget envelope
VCS
bugtrack_url
requirements attrs babel beancount beautifulsoup4 bottle cachetools certifi chardet charset-normalizer cheroot click fava flask flask-babel google-api-core google-api-python-client google-auth google-auth-httplib2 googleapis-common-protos httplib2 idna iniconfig itsdangerous jaraco-functools jinja2 lxml markdown2 markupsafe more-itertools packaging pluggy ply protobuf py pyasn1 pyasn1-modules pyparsing pytest python-dateutil python-magic pytz requests rsa simplejson six soupsieve tomli uritemplate urllib3 werkzeug
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": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "fava, budget, envelope",
    "author": "Brian Ryall",
    "author_email": "Unknown <me@brianryall.xyz>",
    "download_url": "https://files.pythonhosted.org/packages/02/36/caf7aebf6792dc694546210dc6667e89e0e2ff6d97472068f9fcd6115555/fava_envelope-0.5.9.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": null,
    "version": "0.5.9",
    "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": "0c56e4594d90e7c36d1d08424021bfac8cb5905af9fecf87891c1ee31ba4a158",
                "md5": "16ba97544eff3aaf7d280a61e2a9a52a",
                "sha256": "5d1a3fa99b124c2a0e998d9f91fa3fd82e8229f0145502c92157efda9dfe403b"
            },
            "downloads": -1,
            "filename": "fava_envelope-0.5.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "16ba97544eff3aaf7d280a61e2a9a52a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 10334,
            "upload_time": "2024-07-05T17:24:58",
            "upload_time_iso_8601": "2024-07-05T17:24:58.463265Z",
            "url": "https://files.pythonhosted.org/packages/0c/56/e4594d90e7c36d1d08424021bfac8cb5905af9fecf87891c1ee31ba4a158/fava_envelope-0.5.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0236caf7aebf6792dc694546210dc6667e89e0e2ff6d97472068f9fcd6115555",
                "md5": "9757bcea5eff0444e20c0fa796ff26e2",
                "sha256": "36c75de1329bbe9fa752186b4b5ef1b9c5bb53301b649801fdcc3f6aa3129234"
            },
            "downloads": -1,
            "filename": "fava_envelope-0.5.9.tar.gz",
            "has_sig": false,
            "md5_digest": "9757bcea5eff0444e20c0fa796ff26e2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9678,
            "upload_time": "2024-07-05T17:25:00",
            "upload_time_iso_8601": "2024-07-05T17:25:00.063310Z",
            "url": "https://files.pythonhosted.org/packages/02/36/caf7aebf6792dc694546210dc6667e89e0e2ff6d97472068f9fcd6115555/fava_envelope-0.5.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-05 17:25:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "polarmutex",
    "github_project": "fava-envelope",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "attrs",
            "specs": [
                [
                    "==",
                    "22.1.0"
                ]
            ]
        },
        {
            "name": "babel",
            "specs": [
                [
                    "==",
                    "2.10.3"
                ]
            ]
        },
        {
            "name": "beancount",
            "specs": [
                [
                    "==",
                    "2.3.5"
                ]
            ]
        },
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    "==",
                    "4.11.1"
                ]
            ]
        },
        {
            "name": "bottle",
            "specs": [
                [
                    "==",
                    "0.12.23"
                ]
            ]
        },
        {
            "name": "cachetools",
            "specs": [
                [
                    "==",
                    "5.2.0"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2023.7.22"
                ]
            ]
        },
        {
            "name": "chardet",
            "specs": [
                [
                    "==",
                    "5.0.0"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "2.1.1"
                ]
            ]
        },
        {
            "name": "cheroot",
            "specs": [
                [
                    "==",
                    "8.6.0"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.3"
                ]
            ]
        },
        {
            "name": "fava",
            "specs": [
                [
                    "==",
                    "1.22.3"
                ]
            ]
        },
        {
            "name": "flask",
            "specs": [
                [
                    "==",
                    "2.2.5"
                ]
            ]
        },
        {
            "name": "flask-babel",
            "specs": [
                [
                    "==",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "google-api-core",
            "specs": [
                [
                    "==",
                    "2.10.1"
                ]
            ]
        },
        {
            "name": "google-api-python-client",
            "specs": [
                [
                    "==",
                    "2.64.0"
                ]
            ]
        },
        {
            "name": "google-auth",
            "specs": [
                [
                    "==",
                    "2.12.0"
                ]
            ]
        },
        {
            "name": "google-auth-httplib2",
            "specs": [
                [
                    "==",
                    "0.1.0"
                ]
            ]
        },
        {
            "name": "googleapis-common-protos",
            "specs": [
                [
                    "==",
                    "1.56.4"
                ]
            ]
        },
        {
            "name": "httplib2",
            "specs": [
                [
                    "==",
                    "0.20.4"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "3.4"
                ]
            ]
        },
        {
            "name": "iniconfig",
            "specs": [
                [
                    "==",
                    "1.1.1"
                ]
            ]
        },
        {
            "name": "itsdangerous",
            "specs": [
                [
                    "==",
                    "2.1.2"
                ]
            ]
        },
        {
            "name": "jaraco-functools",
            "specs": [
                [
                    "==",
                    "3.5.2"
                ]
            ]
        },
        {
            "name": "jinja2",
            "specs": [
                [
                    "==",
                    "3.1.3"
                ]
            ]
        },
        {
            "name": "lxml",
            "specs": [
                [
                    "==",
                    "4.9.1"
                ]
            ]
        },
        {
            "name": "markdown2",
            "specs": [
                [
                    "==",
                    "2.4.5"
                ]
            ]
        },
        {
            "name": "markupsafe",
            "specs": [
                [
                    "==",
                    "2.1.1"
                ]
            ]
        },
        {
            "name": "more-itertools",
            "specs": [
                [
                    "==",
                    "8.14.0"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "21.3"
                ]
            ]
        },
        {
            "name": "pluggy",
            "specs": [
                [
                    "==",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "ply",
            "specs": [
                [
                    "==",
                    "3.11"
                ]
            ]
        },
        {
            "name": "protobuf",
            "specs": [
                [
                    "==",
                    "4.21.7"
                ]
            ]
        },
        {
            "name": "py",
            "specs": [
                [
                    "==",
                    "1.11.0"
                ]
            ]
        },
        {
            "name": "pyasn1",
            "specs": [
                [
                    "==",
                    "0.4.8"
                ]
            ]
        },
        {
            "name": "pyasn1-modules",
            "specs": [
                [
                    "==",
                    "0.2.8"
                ]
            ]
        },
        {
            "name": "pyparsing",
            "specs": [
                [
                    "==",
                    "3.0.9"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "7.1.3"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    "==",
                    "2.8.2"
                ]
            ]
        },
        {
            "name": "python-magic",
            "specs": [
                [
                    "==",
                    "0.4.27"
                ]
            ]
        },
        {
            "name": "pytz",
            "specs": [
                [
                    "==",
                    "2022.4"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "rsa",
            "specs": [
                [
                    "==",
                    "4.9"
                ]
            ]
        },
        {
            "name": "simplejson",
            "specs": [
                [
                    "==",
                    "3.17.6"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    "==",
                    "1.16.0"
                ]
            ]
        },
        {
            "name": "soupsieve",
            "specs": [
                [
                    "==",
                    "2.3.2.post1"
                ]
            ]
        },
        {
            "name": "tomli",
            "specs": [
                [
                    "==",
                    "2.0.1"
                ]
            ]
        },
        {
            "name": "uritemplate",
            "specs": [
                [
                    "==",
                    "4.1.1"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "1.26.18"
                ]
            ]
        },
        {
            "name": "werkzeug",
            "specs": [
                [
                    "==",
                    "3.0.1"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "fava-envelope"
}
        
Elapsed time: 0.67236s