make python-*Python commands
Python targets use uv for reproducible package setup, generation, testing, linting, images, integration checks, and standalone packaging.
When to use
Use this reference when generating, reviewing or operating a Service Architect project.
Behavior
- Generic workspace targets include these commands whenever Python services or Modules exist.
- Service and Module Makefiles remain independently usable after packaging.
Python workspace commands
Language-specific root targets.
make python-toolsWorkspaceVerify or install the pinned Python and uv toolchain.
make python-initWorkspaceCreate/synchronize environments and generate required bindings.
make python-buildWorkspaceBuild every generated Python service and Module package.
make python-testWorkspaceRun generated Python test suites.
make python-lintWorkspaceRun configured Python lint and type checks.
make python-formatWorkspaceFormat generated and preserved Python sources.
make python-genWorkspaceGenerate schema and transport bindings.
make python-docker-buildWorkspaceBuild production Python service images.
make python-docker-dev-buildWorkspaceBuild source-oriented development images.
make python-integration-testWorkspaceRun the generated cross-service Python scenario.
make python-packageWorkspacePackage all Python services as standalone repositories.
make python-package-<service-name>ServicePackage one service; the target suffix is derived from Service.name.
make python-cleanWorkspaceRemove Python build, cache, and environment artifacts.
Standalone Python service commands
Targets inside a generated Python service.
make init / buildServiceSynchronize the environment, generate bindings, and build the package.
make testServiceRun the service test suite.
make lint / fmtServiceRun configured lint/type checks or format sources.
make cleanServiceRemove generated Python build and cache artifacts.
make docker-build / docker-upServiceBuild and start the standalone production image.
make docker-build-dev / docker-up-devServiceBuild and start the development image.
make debugServiceStart the service with the generated Python debugger configuration.
make docker-down / docker-down-dev / docker-cleanServiceStop production/development Compose or remove volumes.
make helpServicePrint the standalone command list.
Python Module commands
Targets inside a generated user-defined Module package.
make generateModuleGenerate owned protobuf or OpenAPI bindings when present.
make buildModuleGenerate bindings and build the Python package.
make testModuleRun Module tests.
make lint / fmtModuleCheck or format Module sources.
make cleanModuleRemove package build and cache artifacts.
make helpModulePrint the Module command list.
Python workflow
make python-init
make python-lint
make python-test
make python-docker-build
make python-package-<service-name>