General Python project structure

Project/
|-- bin/
|   |-- abc.py
|
|-- deploy/
|   |-- site.yml
|
|-- foo/
|   |-- tests/
|   |   |-- __init__.py
|   |   |-- test_main.py
|   |  
|   |-- app1
|   |   |-- __init__.py
|   |   |-- admin.py
|   |   |-- apps.py
|   |   |-- models.py
|   |   |-- views.py
|   |  
|   |-- app2
|   |  
|   |-- __init__.py
|   |-- settings.py
|   |-- urls.py
|   |-- wsgi.py
|   |-- nginx.conf
|   |-- foo.service
|
|-- docs/
|   |-- conf.py
|   |-- abc.rst
|
|-- setup.py
|-- manage.py
|-- requirements.txt
|-- README

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback: dig +short txt issue.imzye.com
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Buy Me a Coffee