Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/l-vamsi-krishna/todo
Flask & CLI based ToDo application built with python
https://github.com/l-vamsi-krishna/todo
cli database flask flask-sqlalchemy python3 sqlite todo
Last synced: 26 days ago
JSON representation
Flask & CLI based ToDo application built with python
- Host: GitHub
- URL: https://github.com/l-vamsi-krishna/todo
- Owner: l-vamsi-krishna
- Created: 2022-06-28T12:45:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-24T06:39:41.000Z (about 2 years ago)
- Last Synced: 2024-07-30T20:54:43.649Z (4 months ago)
- Topics: cli, database, flask, flask-sqlalchemy, python3, sqlite, todo
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todo
[![Python application](https://github.com/l-vamsi-krishna/todo/actions/workflows/python-app.yml/badge.svg)](https://github.com/l-vamsi-krishna/todo/actions/workflows/python-app.yml)![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Django)
A Simple Todo application, which persists/updates/deletes to database.
It is updated to use sql alchemy to perform db operations, instead of sqlite connectors & cursors.
It uses autopep8 to implement pep 8 coding standards.It can be used on CLI.
Run below command inside venv, to interact within CLI.
```
python todo/cli/todo.py
```
![CLI](/assets/cli.jpg)Flask GUI connects to the same database to perform db tasks.
Run below command to start flask web server.
```
python -m todo.web.app
```
The above command, considers top level directory in sys.path, hence relative imports work.![Home Page](/assets/home.jpg)
# Contributions
I would be very happy for any contribution.# Next Steps
1. Currently Flask GUI just retrieves the data, need to provide option to update/delete the data.
2. Use Bootstrap to beautify GUI.