Skip to main content

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 GitHub last commit License: MIT Run on Repl.it pre-commit.ci status

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.

Release files for fava-envelope 0.5.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fava-envelope 0.5.9
File Size Uploaded
fava_envelope-0.5.9.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fava-envelope 0.5.9
File Interpreter ABI Platform
fava_envelope-0.5.9-py3-none-any.whl Python 3 none any Details

Total release size: 20.0 kB

Release files / fava_envelope-0.5.9.tar.gz

Download URL fava_envelope-0.5.9.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
36c75de1329bbe9fa752186b4b5ef1b9c5bb53301b649801fdcc3f6aa3129234
BLAKE2b-256 checksum
How to use checksums
0236caf7aebf6792dc694546210dc6667e89e0e2ff6d97472068f9fcd6115555
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure

Release files / fava_envelope-0.5.9-py3-none-any.whl

Download URL fava_envelope-0.5.9-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d1a3fa99b124c2a0e998d9f91fa3fd82e8229f0145502c92157efda9dfe403b
BLAKE2b-256 checksum
How to use checksums
0c56e4594d90e7c36d1d08424021bfac8cb5905af9fecf87891c1ee31ba4a158
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure

Release history Release notifications | RSS feed

This release

0.5.9 This release

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page