11. Create files:
2 __init__.py setup.py README.md LICENSE
32. Check for setuptools and wheel:
4 pip install --user --upgrade setuptools wheel
53. Generate package:
6 py setup.py sdist bdist_wheel
74. Upload to pip:
8 twine upload dist/*
1A package is basically a directory with Python files and a file with the name __init__.py
1from pakage_name.module_name import function_name
2# now we can directly use function
3
4################################## OR ########################################
5
6from pakage_name import module_name
7# now we have to use module_name.function_name
1Simply, a module is a file consisting of Python code. A module can
2define functions, classes and variables. A module can also include
3runnable code that you can call with abitrary names attached to them.