Below you will find pages that utilize the taxonomy term “Python”
February 27, 2023
Unit Tests in Python
What are unit tests? A unit is a small piece of code - a method or a function in a Python class or module that needs to be tested. A unit test is an automated test written to verify the functionality of a small piece of code. Unit tests try to verify the functionality of the code by supplying different inputs and checking to see whether the execution of the code results in expected outputs.
February 19, 2023
Python Tool - Poetry
What is Poetry? Poetry is a Python dependency management and packaging tool. Poetry offers a lock file for dependency management which helps pin the exact version of libraries the project needs so the correct library stack is used wherever the project is installed. Poetry has a system requirement of Python 3.7+.
How is it different from the PIP tool? Poetry is built on top of another popular Python dependency management tool - PIP and extends PIP’s feature set.