No description
| .gitignore | ||
| exampe_config.ini | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| transaction_summary.py | ||
Income Statement Script
This Python script retrieves transaction data from the Firefly III API and generates an income statement in tabular format.
Installation
-
Clone this repository to your local machine:
git clone https://git.rollenspiel.monster/RollenspielMonster/einfache-buchfuehrung.git -
Navigate to the directory:
cd einfache-buchfuehrung -
Rename
exampe_config.initoconfig.iniand adapt it to your environment:cd exampe_config.ini config.ini nano config.ini -
Install the requirements:
pip install -r requirements.txt
Usage
Run the script with the following command:
transaction_summary.py [-h] [-f] [-v] DATE
Process some arguments.
positional arguments:
DATE Date in format yyyy or yyyy-mm
options:
-h, --help show this help message and exit
-f, --file Output to file
-v, --debug Enable debug mode
Example
To generate an income statement for transactions in March 2024:
python3 transaction_summary.py 2024-03
Notes
- Ensure you have an API key for accessing the transaction data. Update the
config.inifile with your API key. - You can customize the table widths in the
config.inifile according to your preference.
Dependencies
- Python 3
- configparser
License
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.