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
To get a copy of this repository, simply open up git bash in an empty folder and use the command:
$ git clone https://github.com/rbaltrusch/desktop_shop
To install all python dependencies, run the following in your command line:
python -m pip install -r requirements.txt
Run the shop application by installing the desktop_shop package locally, generating the random database (this can take a few seconds) and calling the desktop_shop package:
python -m pip install -e .
python "desktop_shop/database.py" generate --fast
python -m desktop_shop
To run tests, run the run_tests script in the tests directory:
python "tests/run_tests.py" --all
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.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daaf2192b05dd2bb86b38f4e3a00abc91065f26973cddfd05708c808e5461c9b |
|
MD5 | 27ab8419ea0bb68d1a97cd2504e5b3e8 |
|
BLAKE2b-256 | 13654a800010b06ed8e906ee4f5ccd4ec78d80a8dd455a8490de3b15e73de638 |