Code Monkey home page Code Monkey logo

bakasur's Introduction

Bakasur

PyPI version


Bakasur (/buh-KAA-soor/) is your friendly demon who helps you analyse your Thuisbezorgd order history and visualise it.

Dashboard

Terminal

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 venv and activate it source venv/bin/activate
  • Install Bakasur using pip install bakasur
  • Once it is installed you can now type in bakasur in 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.8.0+
  • 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


MIT 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.

d-kold

bakasur's People

Contributors

d-kold avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.