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
5
u/_________KB_________ Aug 25 '20
The 'bin' directory stands for binaries and is usually the place where any compiled or built binaries are placed, or other scripts that are the main executable files for the project. Quite often a github repository won't have a bin folder because they expect you to build the project yourself from the source code, or the project could be written in an interpreted language like Python that doesn't really have built binaries.