duck.env¶
Module for getting or setting Duck environment.
Module Contents¶
Functions¶
Returns the current project’s name. |
|
Returns |
|
Sets the testing environment for Duck. Useful before Duck setup. |
API¶
- duck.env.get_project_name() str[source]¶
Returns the current project’s name.
The project name is determined from the directory containing the application’s entry point.
- Returns:
The current project name.
- Return type:
str