Python Project File Structure¶
1. Overall Structure¶
2. Directory Details¶
All files that are part of the project. The directory should be named after the project itself, and should be the git repo root directory.
All python source modules, separated into packages where there is shared functionality. In PyCharm, the src folder must be marked as the “Sources Root” directory by right-clicking on it and selecting Mark Directory As > Sources Root.
Git data model and git command API.
All of the .ui interface files generated by qt-designer. It contains a subfolder, called ‘resources’ that contains all resources referenced from .ui files or from code.
All of the documentation generated for this project. Within it are two subfolders, ‘api’ and ‘guide’. ‘api’ contains API documentation (i.e. docs culled from sources), whereas the ‘guide’ folder contains our main documentation guide.