Desktop shop application
Project description
Desktop Shop
This is a mock shop application, running completely offline on a desktop. The graphical interface connects with a generated, local database of customers, products and transactions (Python / SQLite3). As the application runs completely offline, it does away with any networking or server complexity and showcases a bare implementation of an application interfacing with a production database.
Disclaimer
Any personal information shown in the gui or stored in the database is not related to any natural people. All information was generated automatically. Any names or other user data which coincide with real individuals are pure coincidence.
Getting started
Run the shop application by installing the package using pip, then calling it:
python -m pip install desktop_shop
python -m desktop_shop
Note that the first time the package is called, it automatically generates a fresh database filled with random data. This make take a few seconds.
⚠️ State of the repository ⚠️
This repository is unlikely to receive new features in the future, although maintenance and small fixes will still be done.
This means that some features that are missing now will stay missing (but feel free to submit a pull request to add them!), and non-optimal aspects of the codebase or the application are unlikely to get fixed. Some of these include:
- No admin panel
- A user cannot see the transactions that he has placed in the past
- The application asking for gender is a violation of the EU GDPR, as this user data is not required with the application as is (the same potentially applies to collecting date of birth).
- The interface to the database is not ideal, as typing is missing for the most part, it is somewhat internally inconsistent, and is using lists or tuples instead of objects.
Contributions
To contribute to this repository, please read the contribution guidelines.
Python
Written in Python 3.8.3.
License
This repository is open-source software available under the MIT License.
Contact
Please raise an issue for code changes. To reach out, please send an email to richard@baltrusch.net.
Project details
Release history Release notifications | RSS feed
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
Hashes for desktop_shop-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6360b1740c95330256772450422e15d1fba294d45319f3ef00a4333bd582e458 |
|
MD5 | 991ce79c4bed05ea4d82374743ed8f49 |
|
BLAKE2b-256 | 1028429e80cf1d5b93721957a41e2489ecf26527b1f8ed17ac0ef763b1ddbf18 |