Skip to content

pda.create_project

create_project(
name: 'str',
*,
description: 'str | None' = None,
labels: 'Sequence[str]' = (),
visibility: "Literal['private', 'organization']" = 'private',
role: "Literal['editor', 'viewer'] | None" = None,
module_path: 'str' = './pflibs',
create_template: 'bool' = True,
) -> 'Project'

Create a new PDA project from current PhotonForge configuration.

Args

  • name: Project name.
  • description: Optional project description.
  • labels: Project labels.
  • visibility: Initial sharing visibility.
  • role: Initial sharing role for non-private visibility.
  • module_path: Root path where modules are unpacked.
  • create_template: Whether to generate a starter module.

Returns

Loaded project object.

The initial project includes exported config dependencies and an optional template Python module directory.

Important

Setting public visibility is not allowed, as it shares the contents and all dependencies with all users in the platform. Please contact support if you want to share a public library.