r/learnpython • u/DNEAVES • Aug 25 '20
How to read/understand a git repository?
I'm trying to learn how to make a python programs by looking through existing programs in a similar premise as what I'd like to achieve (learning by looking at examples). But one thing I'm having difficulty with is finding out how these github repos are organized.
So far (in the repo I have I'm viewing) I know that bin usually means terminal/command-line commands, docs is typically documentation (as one might expect), test is self explanatory, but some things I don't know is rpm and stubs, amongst others.
Is there a resource to learn how python/git programs are organized? And what to expect when looking through repos?
334
Upvotes
4
u/kramrm Aug 25 '20 edited Aug 25 '20
There isn’t one “right” way to organize a repo. (Though there are wrong ways). It also depends on the language(s) used. I don’t usually have a
binin my Python repos. For those, I generally have project info in the root folder and all the actual code insidesrc.