Skip to main content

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 .

or from PyPI:

uv tool install cwapi3d-starter

Using pip:

# Run from the project root
pip install .

From Source (Development)

  1. Clone the repository:

    git clone https://github.com/Brunner246/cwapi3d-starter.git
    cd cwapi3d-starter
    
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cwapi3d_starter-0.2.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cwapi3d_starter-0.2.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file cwapi3d_starter-0.2.0.tar.gz.

File metadata

  • Download URL: cwapi3d_starter-0.2.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

Hashes for cwapi3d_starter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 88a5405a71a034b64544736dc72d872cd6461e2827a63601e4ee956489de7619
MD5 dd292267d065f487a15dbccf6c0da646
BLAKE2b-256 4aafa02b150a23f9d730127c2efcb7c91dcab5725d9757bceab5f71db708db24

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwapi3d_starter-0.2.0.tar.gz:

Publisher: publish.yml on Brunner246/cwapi3d-starter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cwapi3d_starter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cwapi3d_starter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f8f0b0e7edd73f43c02bc0d355b6c49cd689b4496363b90e550cbddc0b46513
MD5 b56cf322c3da40d030b4598ad74ca183
BLAKE2b-256 174a930af5a89fba3c8c5ba45c431101b3334968a55ca790438b98c2370d4c30

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwapi3d_starter-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Brunner246/cwapi3d-starter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page