I created a pypi package for an api to get the lessons from my school and uploaded it to pypi but when I install it, it doesn\'t get recognized. It works just fine locally when.
Your setup.py lists nothing to install. You must use packages=<a list of packages> or py_modules=<a list of .py modules>.
setup.py
packages=<a list of packages>
py_modules=<a list of .py modules>
See https://packaging.python.org/tutorials/packaging-projects/