how to make a python libary code example
Example 1: python upload to pip
1. Create files:
__init__.py setup.py README.md LICENSE
2. Check for setuptools and wheel:
pip install --user --upgrade setuptools wheel
3. Generate package:
py setup.py sdist bdist_wheel
4. Upload to pip:
twine upload dist/*
Example 2: python module
Simply, a module is a file consisting of Python code. A module can
define functions, classes and variables. A module can also include
runnable code that you can call with abitrary names attached to them.