Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T06:21:34.000Z (2 months ago)
- Last Synced: 2024-11-09T06:26:52.640Z (2 months ago)
- Language: Python
- Size: 0 Bytes
- 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
[![PyPI](https://img.shields.io/pypi/v/flask-expense-app.svg)](https://pypi.org/project/flask-expense-app/)
[![Changelog](https://img.shields.io/github/v/release/sukhbinder/flask-expense-app?include_prereleases&label=changelog)](https://github.com/sukhbinder/flask-expense-app/releases)
[![Tests](https://github.com/sukhbinder/flask-expense-app/actions/workflows/test.yml/badge.svg)](https://github.com/sukhbinder/flask-expense-app/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](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
```![Demo of the App](demo.gif)
## 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
```