Last active
September 6, 2018 02:49
-
-
Save wyllie/f6c3c12f5199ef869a1a512923b03fae to your computer and use it in GitHub Desktop.
Python Package Layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repo_name/ | |
README.md - yeah, do us a favor and give us a quick overview of what this is and how to use it | |
PackageName/ | |
ModuleName/ | |
__init__.py | |
module_file_1.py | |
module_file_2.py | |
... | |
AnotherModule/ | |
__init__.py | |
amod1.py | |
... | |
bin/ | |
script_1.py | |
script_2.py | |
tests/ | |
conftest.py - this is used to configure pytest (e.g., add fixture defs) | |
ModuleName/ | |
test_module1.py | |
test_module2.py | |
fixtures/ | |
- test fixtures can all be in one directory | |
support/ | |
- any files that are used globally can be placed here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment