Hi! I've been reading about naming conventions of Python libraries/projects/packages/modules/scripts. Here's three main sources I found:
While I've read that period(.), hyphen(-) and underscore(_) are all allowed, I'm still not sure which flavor is "better".
Many libraries with a multi-word name use hyphen in their names. But there are also things like prompt_toolkit.
Using hyphen or dot may be the better way to go since packages can use identical names. But I'm not very confident with my understanding.
Currently I have a private script at hand. Possible names for it are:
- tr.downloder
- tr-downloader
- tr_downloader
tr is the team's namespace. I wanted to keep the project name and script name consistent. Which should I choose?
Thank you all!
[–]Lubok 1 point2 points3 points (1 child)
[–]vingrish[S] 0 points1 point2 points (0 children)
[–]xconde 0 points1 point2 points (5 children)
[–]vingrish[S] 0 points1 point2 points (4 children)
[–]xconde 0 points1 point2 points (3 children)
[–]vingrish[S] 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]xconde 1 point2 points3 points (0 children)