From b4420c02d4da7852f449720e7dfe30b8f01f20a0 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Thu, 7 Dec 2023 20:53:38 +0100 Subject: [PATCH] Update README.md Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- workflow/python_pure/README.md | 67 ++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/workflow/python_pure/README.md b/workflow/python_pure/README.md index 4b577c9..77ecc3e 100644 --- a/workflow/python_pure/README.md +++ b/workflow/python_pure/README.md @@ -10,6 +10,73 @@ Image1.png Select "Add python.exe to Path" and then press "Install Now". +We need to update pip first: + +python.exe -m pip install --upgrade pip + +### Numba + +pip install numpy + +pip install numba + +|Package|| +|---|---| +|numba|[Numba is an open source JIT compiler that translates a subset of Python and NumPy code into fast machine code.](https://numba.pydata.org/)| + +## Basic Packages you want to install + +pip3 install numpy scipy pandas flake8 pep8-naming black matplotlib seaborn ipython jupyterlab mypy dataclasses-json dataconf ipympl pywavelets scikit-image opencv-python scikit-learn tqdm argh sympy jsmin pybind11 pybind11-stubgen pigar asciichartpy natsort ipykernel + +|Package|| +|---|---| +|numpy|[The fundamental package for scientific computing with Python](https://numpy.org/)| +|scipy|[Fundamental algorithms for scientific computing in Python](https://scipy.org/)| +|pandas|[pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool](https://pandas.pydata.org/)| +|flake8|[Your Tool For Style Guide Enforcement](https://flake8.pycqa.org/en/latest/)| +|pep8-naming|[Check your code against PEP 8 naming conventions](https://pypi.org/project/pep8-naming/)| +|black|[The uncompromising code formatter](https://black.readthedocs.io/en/stable/index.html)| +|matplotlib|[Visualization with Python](https://matplotlib.org/)| +|seaborn|[seaborn: statistical data visualization](https://seaborn.pydata.org/)| +|ipython|[IPython provides a rich architecture for interactive computing](https://ipython.org/)| +|jupyterlab|[JupyterLab is the latest web-based interactive development environment for notebooks, code, and data.](https://jupyter.org/)| +|mypy|[Mypy is an optional static type checker for Python that aims to combine the benefits of dynamic (or "duck") typing and static typing.](http://mypy-lang.org/")| +|dataclasses-json|[Easily serialize Data Classes to and from JSON](https://github.com/lidatong/dataclasses-json)| +|dataconf|[Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict support](https://github.com/zifeo/dataconf)| +|ipympl|[Matplotlib Jupyter Integration](https://github.com/matplotlib/ipympl)| +|pywavelets|[PyWavelets is open source wavelet transform software for Python.](https://pywavelets.readthedocs.io/en/latest/)| +|scikit-learn|[Simple and efficient tools for predictive data analysis](https://scikit-learn.org/)| +|scikit-image|[Image processing in Python](https://scikit-image.org/)| +|opencv-python|[Open Source Computer Vision Library](https://opencv.org/)| +|tqdm|[A Fast, Extensible Progress Bar for Python and CLI](https://github.com/tqdm/tqdm)| +|argh|[Building a command-line interface?](https://pythonhosted.org/argh/) Found yourself uttering “argh!” while struggling with the API of argparse? Don’t want to lose its power but don’t need the complexity?| +|sympy|[SymPy is a Python library for symbolic mathematics.](https://www.sympy.org/en/index.html)| +|jsmin|[JavaScript minifier](https://github.com/tikitu/jsmin/)| +|pybind11|[Seamless operability between C++11 and Python](https://github.com/pybind/pybind11)| +|pybind11-stubgen|For mypy| +|pigar|[A tool to generate requirements.txt for Python project, and more than that.](https://github.com/damnever/pigar)| +|asciichartpy|[Nice-looking lightweight console ASCII line charts](https://github.com/kroitor/asciichart)| +|natsort|[Simple yet flexible natural sorting in Python.](https://github.com/SethMMorton/natsort)| +|ipykernel|IPython Kernel for Jupyter| + +### PyTorch + +[Check here](https://pytorch.org/get-started/locally/#start-locally) for a installation configurator. + +#### CPU only + +pip3 install torch torchvision torchaudio torchtext + +#### NVidia GPU + +pip3 install torch torchvision torchaudio torchtext --index-url https://download.pytorch.org/whl/cu121 + +|Package|| +|---|---| +|torch|| +|torchvision|| +|torchaudio|| +|torchtext||