Let’s suppose there’s a company abc
that makes a library abc
.
I’d like to make a Python package that interfaces with abc
.
I could just call it abc
. However, that seems selfish to take that name in case the company itself wants to publish a package using that name.
Alternatively, I could incorporate my username:
dharmatech_abc
Or:
dharmatech.abc
Question
If I go the username approach, which of the above is more idiomatic in Python packaging? Underscore or .
?
If I decide to publish my package to pypi, and I went with the .
approach, would the package be called dharmatech.abc
?
If I go with the .
approach, and I have other packages that also start with my username, will it be a problem that multiple separate packages all contribute to that dharmatech
top level namespace?
1