DHI / DHI/python-package-development

File structure

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
8
Forks
1
Avg merge
4m
Merged PRs (30d)
1

Description

* Add a suggested file structure and the connection to modules and import resolution.
* [src layout vs flat layout](https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/)
* What belongs in a module level `__init__py`, should it be empty?
* Consider if placing the tests inside the modules make sense (see e.g. https://github.com/scikit-learn/scikit-learn/tree/main/sklearn/ensemble)
![Image](https://github.com/user-attachments/assets/c54e11b6-3989-4ee4-a7d5-f494cc9d575a)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.