Skip to content

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 me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try iOS App