https://github.com/anupam-io/mysql-python-template
MySQL Python Ubuntu Template
https://github.com/anupam-io/mysql-python-template
database mysql mysql-connector-python mysql-database python
Last synced: 9 days ago
JSON representation
MySQL Python Ubuntu Template
- Host: GitHub
- URL: https://github.com/anupam-io/mysql-python-template
- Owner: anupam-io
- Created: 2022-02-04T14:46:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-28T07:44:34.000Z (about 3 years ago)
- Last Synced: 2025-04-03T05:26:48.250Z (3 months ago)
- Topics: database, mysql, mysql-connector-python, mysql-database, python
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MySQL Python Ubuntu Template
## Introduction
This is a template to develop MySQL based projects in Python using `mysql-connector-python`. You can fork this repo and start working instantly. I have creating a sample movie database and two basic queries for it.
## Directory Information
- `data/movies.csv`: Movie data in CSV format
- `DbStreamer/main.py`: main file containing database manipulating functions
- 1_make_schema.py: file containing schema building code
- 2_insert_entries.py: creating demo entries in the database
- Makefile## How to run?
- Install `mysql` in your machine
- Install `mysql-connector-python` in your Python
- `make`
- You can run `mysql` in terminal using `mysql -u root -p`## References
- [mysql-connector-python](https://pypi.org/project/mysql-connector-python/)
- [shruti-singh/CS432Database](https://github.com/shruti-singh/CS432Database)
- [akcgjc007/CS433-Project](https://github.com/akcgjc007/CS433-Project)
- [github/gitignore](https://github.com/github/gitignore/blob/main/Python.gitignore)
- [tiangechen/movies.csv](https://gist.github.com/tiangechen/b68782efa49a16edaf07dc2cdaa855ea)## How to contribute?
Feel free to create PR consisting of any updates in the repo!