What is the difference between a package and a distribution? #2903
Answered
by
simonbraun8
lukasmiller3
asked this question in
Q&A
-
|
What is the difference between a package and a distribution? |
Beta Was this translation helpful? Give feedback.
Answered by
simonbraun8
Feb 1, 2026
Replies: 1 comment
-
|
A:A package is a directory with modules and init.py. A distribution is a versioned archive (like a wheel or source distribution) that contains one or more packages. Distributions are what you install with pip, packages are what you import in code. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lukasmiller3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A:A package is a directory with modules and init.py. A distribution is a versioned archive (like a wheel or source distribution) that contains one or more packages. Distributions are what you install with pip, packages are what you import in code.