A starting template for your project, following a modern Python project structure.
hello_world_project/
├── src/hello_world_project/
│ ├── main.py
│ ├── utils.py
│ ├── example_module.py
│ └── __init__.py
├── tests/
│ └── test_example_module.py
├── pyproject.toml
├── requirements.txt
├── setup.cfg
└── README.md
python -m venv venv
source venv/bin/activate # macOS/Linuxpip install -e .Alternatively, you can temporarily point PYTHONPATH to src.
python -m hello_world_project.mainRun all tests:
python -m unittest discover -s tests