I am confused between libraries and packages of python. Modules are python files with .py extension and when we combine different modules in some folder then it becomes a package. A combination of packages will make a library.
Pypi is python package manager so as the name suggests it contains packages, not libraries. But as I saw on the internet many people saying that biopython is a library although it is present in PyPi.
Can anyone solve my query?
These terms are generally used by the public interchangeably and one would be called pedantic for correcting others one way or another, so there's no strict definition IMO.
My thinking is that unless you can
import Biopython
, it is a library (collection) of individual packages that you import.I think this is a question for the Stack Exchange community though, as it concerns software architecture nomenclature.