Skip to main content

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

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.db seed SQLite database;
  • database.sql schema;
  • algorithm_flowchart_gost.pdf;
  • db_uml_diagram.pdf.

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

sqlite_sh-0.1.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlite_sh-0.1.1-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file sqlite_sh-0.1.1.tar.gz.

File metadata

  • Download URL: sqlite_sh-0.1.1.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

Hashes for sqlite_sh-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e8b80636302460e6478df5d84dd98c1e8772d6a4a00bbdc48f80e23c605a5ea
MD5 89085ae2aa99a07434560f436820b9ae
BLAKE2b-256 7101a1e393ced91dd4d73c7fada3d4390f8737e1b78b2c0e08d48b10eb9d47d8

See more details on using hashes here.

File details

Details for the file sqlite_sh-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sqlite_sh-0.1.1-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

Hashes for sqlite_sh-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00ef80a42dafc78ae7e2f5ec86b29a48a78639293ac580d8413f22c78ab9c5d2
MD5 9d0c15d76359494ec871e31cb2ed984f
BLAKE2b-256 0383a65319b60b0cf81e8287dfb750166e92d2bb9e68dfd284a30edc36e21cb4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page