DHI / DHI/python-package-development
File structure
- 主要语言
- Jupyter Notebook
- 星标
- 8
- 派生
- 1
- 平均合并
- 4 分钟
- 30 天内合并 PR
- 1
描述
* 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)

贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with the linked Python Packaging User Guide discussion and the scikit-learn ensemble tree to compare src and flat layouts and test placement. Done means the course documents a recommended file structure, its module and import-resolution relationship, guidance for module-level __init__.py files, and a position on placing tests inside modules.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100