Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```
## Usage

For 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
```