Project scaffolding for cwapi3d Python projects
Project description
cwapi3d-starter
Project scaffolding CLI for cwapi3d users.
Prerequisites
- uv installed.
- Python 3.12+
Installation
Global Installation (User)
You can install the tool globally to use it anywhere on your system.
Using uv (Recommended):
# Run from the project root
uv tool install .
Using pip:
# Run from the project root
pip install .
From Source (Development)
-
Clone the repository:
git clone https://github.com/Brunner246/cwapi3d-starter.git cd cwapi3d-starter
-
Install dependencies:
uv sync
Usage
If installed globally
Once installed, you can run the cwapi3d-starter command directly from anywhere:
cwapi3d-starter <project_name> --directory <target_directory>
If running from source
To generate a new project using the CLI from the source:
uv run cwapi3d-starter <project_name> --directory <target_directory>
Or simply:
uv run cwapi3d-starter <project_name> # Directory defaults to <project_name> in current folder
Example
# Generate a project named "my_script" in the specified directory
# Note: name and directory name need to be the same name for the generated project to work correctly.
uv run cwapi3d-starter my_script --directory "D:\cadwork\userprofil_2026\3d\API.x64\my_script"
This will generate a ready-to-use project structure for developing Python scripts using the cwapi3d Python stubs for cadwork 3d, including:
- Virtual environment setup (
uv) - VS Code configuration (
settings.json) - Sample code (
main.py,example_geometry.py) - Python package structure
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cwapi3d_starter-0.1.0.tar.gz.
File metadata
- Download URL: cwapi3d_starter-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b042becd6c1fc02e9c0ffee6f1625d8adb534cd461a329d27e17af5e5dda431
|
|
| MD5 |
d6e20e2a9b6e5bac33d358599106538f
|
|
| BLAKE2b-256 |
5fcfae3423c3b0430539047cbfb693a4cc6a28693b38bd1d06079237e8808024
|
Provenance
The following attestation bundles were made for cwapi3d_starter-0.1.0.tar.gz:
Publisher:
publish.yml on Brunner246/cwapi3d-starter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cwapi3d_starter-0.1.0.tar.gz -
Subject digest:
7b042becd6c1fc02e9c0ffee6f1625d8adb534cd461a329d27e17af5e5dda431 - Sigstore transparency entry: 1082839438
- Sigstore integration time:
-
Permalink:
Brunner246/cwapi3d-starter@04f8a83ade2edfd51b7627b83c0d796a5d3996a3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Brunner246
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@04f8a83ade2edfd51b7627b83c0d796a5d3996a3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cwapi3d_starter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cwapi3d_starter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
187a7b47a3ef0872585c4998bb2eeceff62477ffd94777d13d64e0c972d9c575
|
|
| MD5 |
2f23b45d7fab6bf01d43570fb7dd5c70
|
|
| BLAKE2b-256 |
d8bfb1279f384f4d301c9f601aca2e641dd1563dd808f52c1f21ec8d3c60098b
|
Provenance
The following attestation bundles were made for cwapi3d_starter-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Brunner246/cwapi3d-starter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cwapi3d_starter-0.1.0-py3-none-any.whl -
Subject digest:
187a7b47a3ef0872585c4998bb2eeceff62477ffd94777d13d64e0c972d9c575 - Sigstore transparency entry: 1082839536
- Sigstore integration time:
-
Permalink:
Brunner246/cwapi3d-starter@04f8a83ade2edfd51b7627b83c0d796a5d3996a3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Brunner246
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@04f8a83ade2edfd51b7627b83c0d796a5d3996a3 -
Trigger Event:
release
-
Statement type: