Is there a convention(or even a PEP) on how to structure a python project for example on GitHub? More specifically python-specific files(I know about the README.md, licence, .gitignore-files).
I've googled the whole morning and found different approaches. Most of them use:
One used a makefile some other added a .travis.yml for travis and so on... . And they split their project directories in different folders like data and APP.
My Questions:
Thank you in advance for your help
This is likely dependent on what you are building. The article I linked in my comment breaks out different layouts like so:
CLI Layouts:
Web App Layouts:
While link only answers are discouraged here, I think its counter productive to rehash the whole article but the "Installable Single Package" layout has worked for me and looks like this (borrowed from the same article):
helloworld/
│
├── helloworld/
│ ├── __init__.py
│ ├── helloworld.py
│ └── helpers.py
│
├── tests/
│ ├── helloworld_tests.py
│ └── helpers_tests.py
│
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt
└── setup.py
NOTE: If you have a data directory, I would put it at the same level as tests