Skip to content

Distribution vs package naming #1200

Answered by cjolowicz
labdmitriy asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for asking an interesting question, and for writing the article! I particularly liked that you gathered data about existing naming practices from PyPI.

Personally, I prefer package names with hyphens because I find them easier to read. Hyphens have been a part of standard typography since Gutenberg.1

By contrast, we've had the underscore character only since the advent of typewriters. According to this thesis, it was a fixture of the keyboard by 1881, and used for underlining by backing up the carriage and typing over the previous letter. It became a part of ASCII in 1963, and the C programming language made it a legal character in identifiers in the 1970s. I think you'd be hard-pr…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by labdmitriy
Comment options

You must be logged in to vote
2 replies
@cjolowicz
Comment options

@labdmitriy
Comment options

Comment options

You must be logged in to vote
2 replies
@cjolowicz
Comment options

@labdmitriy
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants