Python crud using MVC-style Tkinter.
- Using mysql-connect-python and Tkcalendar of non-native libraries, the rest all on the nail.
- Option to choose between MySQL and SQLite.
- Records search field by Name and ID.
- Python >=3.8
- Setuptools >= 42.0.2
- Wheel >= 0.33.6
- MariaDB(MySQL)>= 10.4.11-1
- SqLite >= 3.30
This project was created with PyCharm 2019.3, so we would recommend using the project with PyCharm. If you do not want to, you can start the project as follows:
Developer:
$ git clone https://github.com/snakypy/snakypy-tkcrud.git
$ cd tkcrud
$ python -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
$ bin/setup -i
$ tkcrud-run
User:
$ pip install snakypy-tkcrud --user
$ tkcrud-run
When you run the project for the first time, it will create database access settings in the "$HOME/.config/tkcrud/config/config.json" directory. Open this file with any text editor, and choose between MySQL and SQLite for database. Example:
For SQLite:
{
"connection": {
"dbname": "sqlite",
"mysql": {
"user": "",
"password": "",
"host": "",
"database": "",
"raise_on_warnings": true
},
"sqlite": {
"filename": "database.sqlite"
}
}
}
For MySQL:
{
"connection": {
"dbname": "mysql",
"mysql": {
"user": "root",
"password": "123",
"host": "localhost",
"database": "tkcrud",
"raise_on_warnings": true
},
"sqlite": {
"filename": ""
}
}
}
If you liked my work, buy me a coffee ☕ 😃
The project is available as open source under the terms of the MIT License © William Canin
Stored in the organization: Snakypy
- Name: William C. Canin
- Country: Brazil - SP
- E-Mail: william.costa.canin@gmail.com
- GitHub: William Canin
- Personal page: William Canin