https://github.com/sukhbinder/flask-exp-app
A simple flask expense app that I use for on my raspberry pi. Simple and uses csv as the data container.
https://github.com/sukhbinder/flask-exp-app
Last synced: 4 months ago
JSON representation
A simple flask expense app that I use for on my raspberry pi. Simple and uses csv as the data container.
- Host: GitHub
- URL: https://github.com/sukhbinder/flask-exp-app
- Owner: sukhbinder
- License: apache-2.0
- Created: 2024-11-09T04:01:26.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T06:21:34.000Z (8 months ago)
- Last Synced: 2025-01-22T14:41:37.736Z (6 months ago)
- Language: Python
- Size: 191 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flask-expense-app
[](https://pypi.org/project/flask-expense-app/)
[](https://github.com/sukhbinder/flask-expense-app/releases)
[](https://github.com/sukhbinder/flask-expense-app/actions/workflows/test.yml)
[](https://github.com/sukhbinder/flask-expense-app/blob/master/LICENSE)Flask expense app
## Installation
Install this tool using `pip`:
```bash
pip install flask-expense-app
```
## UsageFor help, run:
```bash
flask-exp--help
```You can also use:
```bash
python -m flask-exp --help
```Expense data looks like this:
```csv
DATE,WHERE,AMOUNT,TAGS,HOW
2024-11-08,FLIPKART,449,"Milk,curd,chocolate ,cheeses",UPI_SIMI
2024-11-08,RELIANCEFRESH,199,"Paneer,milk,curd,pizza base",UPI_SIMI
2024-11-08,LOCAL SHOP,55,"Guava,coriander leaves",UPI_SIMI
2024-11-08,LOCALSHOP,246,Onion tomato okra beans brinjal karela ,UPI
2024-11-08,LOCALSHOP,100,4kg onions,UPI
2024-11-07,Peperfry,349,Bedsheet,UPI_SIMI
2024-11-07,LOCALSHOP,50,Xerox and pens,UPI
```
## Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
```bash
cd flask-expense-app
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```