create_project¶
Module: flowerpower
The create_project function loads an existing FlowerPower project. It is also available as the FlowerPower alias. To create a new project, use initialize_project or FlowerPowerProject.new().
| Parameter | Type | Description | Default |
|---|---|---|---|
name |
str \| None |
Project name. If None, the current directory name is used. |
None |
base_dir |
str \| None |
Directory to load from. | Current working directory |
storage_options |
dict \| BaseStorageOptions \| None |
Filesystem storage options. | None |
fs |
AbstractFileSystem \| None |
fsspec-compatible filesystem instance. | None |
hooks_dir |
str |
Directory for project hooks. | settings.HOOKS_DIR |
Returns: FlowerPowerProject
Raises: FileNotFoundError if the project does not exist at base_dir.