Get started - python_utils

This repository contains multiple python utils, such as:

  • a simple tkinter GUI and enhanced message boxes,

  • a configuration manager,

  • file and dataframe managers,

  • a logger,

  • date utils,

  • various other models or utils.

Basic installation

  1. Install python 3.5+

  • For Windows, it is possible to install WinPython for examplehttps://winpython.github.io/

    Prefer not to use Anaconda as some issues have already occurred with pandas / numpy libraries.

  • For Linux distributions based on Debian, sudo apt-get install python3 should work as well.

  1. Preferably install a virtual environment in venv/

  • Open a terminal (cmd in Windows)

  • Type pip install virtualenv or python3 -m pip install virtualenv (Linux) / python -m pip install virtualenv (Windows)

  • Type virtualenv venv (precise the version of python to use if needed)

  1. Install requirements in the virtual environment:

    source tools/venv/Scripts/activate (Windows) or source tools/venv/bin/activate (Linux)

    pip install - requirements.txt

  2. You’re done!