No project description provided
Project description
Firefly Reports
Generate email reports using Firefly's API. There is a wiki which will have more information.
Firefly
Firefly is a free and open source personal finance manager. Firefly Reports adds the ability to get email reports to help keep track of your spending.
Quickstart
To install, you can use pipx:
$ pipx install firefly_reports
or use uv:
$ uv tool install firefly_reports
If using pip, I would suggest using a virtual environment.
After installing, you can use --help to get the inputs:
Usage: firefly_reports [OPTIONS] CONFIG_FILE
Options:
--start_date [%Y-%m-%d]
--end_date [%Y-%m-%d]
--help Show this message and exit.
By default the start date will be a week from when the program is run and the end date will be the day of the program is run.
Copy example_config.toml to your PC and update the following:
[email]
server = "smtp.gmail.com"
port = 587
starttls = true # Use STARTTLS
authentication = true # Login with username and password
user = "your_email_address@gmail.com"
password = "password"
from = "your_email_address@gmail.com"
to = ["email1@example.com","email2@example.com"]
[firefly]
url = "http://firefly_instance:8085"
access_token = "your_api_access_token_key"
I verified that using Gmail works but haven't checked other email providers. Look at Firefly's documentation to get your access token.
Reports
Currently only one report is supported. This report will include the following:
- Categories (income and expenses).
- Total amount spent between the start and end dates.
- Total amount earned between the start and end dates.
- Total amount spent so far for the calendar year.
- Total amount earned so far for the calendar year.
Development
The recommended way is to use uv:
$ git clone git@github.com:cetyler/firefly_reports.git
$ uv venv --python 3.13
Using Python 3.13
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate
$ source .venv/bin/activate
$ uv sync --dev
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file firefly_reports-0.3.1.tar.gz.
File metadata
- Download URL: firefly_reports-0.3.1.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc186a2dd715650c1ea719fa400fd109c4583c55a020c583405fd92f4f54e0c7
|
|
| MD5 |
2b5b2609302ee38b856c3ea3290619f0
|
|
| BLAKE2b-256 |
64e459f333d5d00d976af6146e08612f0d5a1c12c46fc0ba3b6be5192250f0dc
|
File details
Details for the file firefly_reports-0.3.1-py3-none-any.whl.
File metadata
- Download URL: firefly_reports-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc64efd30db2e0e7cec6e0a48d6f70580e8ff3014a2cd1c943548d7d71cf75d0
|
|
| MD5 |
643450b4060bde24c731a44334057412
|
|
| BLAKE2b-256 |
e734f7de160c56934114505030a19888575ece34696e6d8e8f3bf8b8392d49c3
|