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¶
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.
Preferably install a virtual environment in
venv/
Open a terminal (cmd in Windows)
Type
pip install virtualenv
orpython3 -m pip install virtualenv
(Linux) /python -m pip install virtualenv
(Windows)Type
virtualenv venv
(precise the version of python to use if needed)
- Install requirements in the virtual environment:
source tools/venv/Scripts/activate
(Windows) orsource tools/venv/bin/activate
(Linux)pip install - requirements.txt
You’re done!