Python Poetry: Streamlining Dependency Management

Python Poetry: Streamlining Dependency Management

When managing Python projects that rely on external packages, it's vital to ensure the precise compatibility of each package version. Updates can occasionally lead to unexpected changes in package behavior. Python Poetry, a dependable package manager, empowers you to precisely define, install, and harmonize external packages within your projects. This approach ensures that you consistently operate with the correct dependency versions across all machines
Read more
Cooking with ARDUINO and Python
Python Libraries and Frameworks

Python Libraries and Frameworks

MACHINE LEARNING

  1. NumPy is a powerful Python library for numerical and scientific computing that provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays efficiently.

  2. TensorFlow is an open-source machine learning framework developed by Google that enables the creation and training of deep learning models through the use of computational graphs and a wide range of neural network layers and optimizers.

  3. Theano was an open-source numerical computation library for Python that was widely used for deep learning and scientific computing but has been largely replaced by more modern deep learning frameworks like TensorFlow and PyTorch.

Read more
Finding An Effective Python Environment

Finding An Effective Python Environment

Python Version Management Tools

pyenv

pyenv is a polular and marture open-source tool used in the Python development ecosystem on MacOS. (It is pyenv-win on windows). It allows developers to manage multiple Python installations on their system and easily switch between different Python versions. This is especially useful when you’re working on various Python projects that may have different version requirements.

1
2
3
4
5
6
7
8
9
10
11
12
$ pyenv verison
* system
3.7.9
3.8.13
$ python --version
Python 3.10.0
$ pyenv install 3.12.0 # this command takes time
$ pyenv versions
* system
3.7.9
3.8.13
3.12.0
Read more