whisk.project
¶
Module Contents¶
Classes¶
Abstracts project-level attributes into a class. |
- class whisk.project.Project(dir=os.getcwd(), module_dir=None)[source]¶
Abstracts project-level attributes into a class.
- module_dir[source]¶
Location of the project’s module directory as a pathlib.Path. This is derived from path if not provided.
- artifacts_dir[source]¶
Location of the project’s artifacts directory as a pathlib.Path. This is derived from path if not provided.
- classmethod from_module(cls, path)[source]¶
Takes a path from a generated project’s src/{{name}}/__init__.py file and returns a Project object Initialized w/that path.