Skip to main content

Desktop shop application

Project description

Unit tests Pylint License: MIT

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.

Screenshot of the application GUI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

desktop_shop-1.0.2.tar.gz (23.9 kB view hashes)

Uploaded Source

Built Distribution

desktop_shop-1.0.2-py3-none-any.whl (30.4 kB view hashes)

Uploaded Python 3

Supported by

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