duck.setup.makeblueprintยถ

Module for creating blueprint directory structure.

Module Contentsยถ

Functionsยถ

create_blueprint_py

Creates a blueprint.py file in provided directory for the provided blueprint.

ignore_pycache

Ignore pycache directories during copy.

makeblueprint

Create a Duck blueprint directory structure in provided base_dir.

Dataยถ

BLUEPRINT_TEMPLATE

APIยถ

duck.setup.makeblueprint.BLUEPRINT_TEMPLATEยถ

โ€˜lstrip(โ€ฆ)โ€™

duck.setup.makeblueprint.create_blueprint_py(blueprint_name: str, dest_directory)ยถ

Creates a blueprint.py file in provided directory for the provided blueprint.

Parameters:
  • blueprint_name โ€“ The blueprint name.

  • dest_directory โ€“ The destination directory.

duck.setup.makeblueprint.ignore_pycache(dir_path, contents)ยถ

Ignore pycache directories during copy.

duck.setup.makeblueprint.makeblueprint(name: str, base_dir: str, overwrite_existing: bool = False) โ†’ Noneยถ

Create a Duck blueprint directory structure in provided base_dir.