SQLite-backed Tkinter shoe shop demo application
Project description
sqlite-sh
sqlite-sh is a small educational Tkinter desktop application backed by SQLite.
It includes a shoe shop catalog, role-based login, products, orders, database schema, and exam diagrams.
Install
pip install sqlite-sh
Run
shop
Build Windows exe
After installing the package in a Windows virtual environment:
pip install --upgrade sqlite-sh pyinstaller
pyinstaller --noconfirm --windowed --name shop --collect-all sqlite_sh --icon ".venv\Lib\site-packages\sqlite_sh\assets\Icon.ico" ".venv\Lib\site-packages\sqlite_sh\pyinstaller_entry.py"
Run the built app:
dist\shop\shop.exe
Detailed usage is also installed inside the package as sqlite_sh/USAGE.md.
On first import/run, the packaged seed database is copied to:
~/.sqlite_sh/shop.db
You can override the writable database folder:
SQLITE_SH_HOME=/path/to/folder shop
Admin credentials
Login: 94d5ous@gmail.com
Password: uzWC67
Included files
The installed package contains:
assets/with icons and images;data/shop.dbseed SQLite database;database.sqlschema;algorithm_flowchart_gost.pdf;db_uml_diagram.pdf.
Product photos can be stored as PNG files. If the database still contains a
name like 1.jpg, the app also tries 1.png with the same base name.
To find the installed package folder:
python -c "import sqlite_sh, pathlib; print(pathlib.Path(sqlite_sh.__file__).parent)"
Build locally
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
Upload flow
TestPyPI first:
python -m twine upload --repository testpypi dist/*
PyPI:
python -m twine upload dist/*
Easy DB diagram
Create a browser-ready HTML/SVG database diagram without extra tools:
sqlite-sh-diagram
This writes db_diagram.html, which can be opened directly in Edge or any modern browser. Mermaid output is still available:
sqlite-sh-diagram --format mermaid -o db_diagram.mmd
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqlite_sh-0.1.3.tar.gz.
File metadata
- Download URL: sqlite_sh-0.1.3.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee1abe5c8086ce63e5362472c6c66f27658bc8c749e33221a00bf69b148df895
|
|
| MD5 |
d83cf13c9a5d7fd7a9b91b25982b8fe7
|
|
| BLAKE2b-256 |
0cf42a166b37f5c8a62c99dfb7a3f1032dd21e5488ef2e6eda21752cc0d4c2a1
|
File details
Details for the file sqlite_sh-0.1.3-py3-none-any.whl.
File metadata
- Download URL: sqlite_sh-0.1.3-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa480f9a8b6db96dd929013472bd66061e507e8e36173dcac5e1642c62121afc
|
|
| MD5 |
f7879da13a8b26ad9515c9a7aa4bd840
|
|
| BLAKE2b-256 |
d8a2c26353b2d3f1e09a3b84e96e247052fe20603c44ae5816cc175aeb0f20cf
|