Bakasur is your friendly demon that helps you analyse your Thuisbezorgd order history and visualise patterns.
Project description
Bakasur
Bakasur (/buh-KAA-soor/) is your friendly demon who helps you analyse your Thuisbezorgd order history and visualise it.
Disclaimer
This tool requires you to log in using your Thuisbezorgd credentials. Upon correct input, you will recieve
a email with a verification code from Thuisbezorgd. Once the details are added, bakasur will create a thuisbezorgd_token.json
file in your current working directory which will store the authToken and refreshToken received from the login request.
These tokens will help in authenticating the Thuisbezorgd API in the subsequent runs of this tool.
If you are concerned about the security of the tokens they are on your local filesystem and you can also review
the code to check that there are no evil intentions here. Your username and password are not stored.
How to use this tool
This tool uses a number of packages such as typer, rich, datapane. To avoid any conflicts with your current installed
site-packages, it is preferable to create a virtual environment and then install this tool.
- Create a virtual environment
virtualenv venvand activate itsource venv/bin/activate - Install Bakasur using
pip install bakasur - Once it is installed you can now type in
bakasurin your terminal and get started
Tool specifics
When you first log in to Thuisbezorgd using bakasur it creates a sqlite database in your current working directory thuisbezrgd.db.
The database stores all your orders and their details in tables orders and items respectively. During subsequent runs
of the tool, your most recent orders are inserted into the database
Requires:
- Python v3.7.1+
- Thuisbezorgd account (duh!)
Contribution
Give this tool a try and if you find any bugs or issues with it then feel free to open an issue or start a discussion. Feature requests, Bug fixes are most welcome.
License
Important
This tool is intended for personal use. A fun hobby project for demo. I am not responsible if you tweak the code and violate any Thuisbezorgd Terms and Conditions.
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
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 bakasur-1.3.2.tar.gz.
File metadata
- Download URL: bakasur-1.3.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Linux/5.15.0-87-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7b3a904789afbea1215139b05a23ed8061c58159be79db1f9cef16ee263c1a7
|
|
| MD5 |
7ec55a86182f9d09cb06100069101ba3
|
|
| BLAKE2b-256 |
ea9545bcb2108551d2e4e6abcf9275773b298ccb54163ebe3961b99d194cda93
|
File details
Details for the file bakasur-1.3.2-py3-none-any.whl.
File metadata
- Download URL: bakasur-1.3.2-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Linux/5.15.0-87-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c07c2aa4c126e887f7f8b9aa9842e7a896bd231135f4224147af739e11afb0a3
|
|
| MD5 |
d77d8afded6691b597707cd4acb80a05
|
|
| BLAKE2b-256 |
8e1556e3fc0d37db706c36fcc3948273855683beb474e6bd0d4bf71b36f9c0b1
|