Registry / type-stubs / cadquery-ocp-proxy

cadquery-ocp-proxy

JSON →
library7.9.3.1.1pypypiunverified

Proxy package that tracks the cadquery_ocp / cadquery_ocp_novtk version to avoid version mismatches. Version 7.9.3.1, released monthly alongside CadQuery OCP. Use this package to pin the OCP version in your CadQuery projects.

pip install cadquery-ocp-proxy
INSTALL
IMPORT
SIG · CADQUERY-OCP-PROXY
C
cadquery-ocp-proxy
type-stubspythonv7.9.3.1.1
Install
1.4s avg
Import
Disk
15MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v7.9.3.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 1.4s
py 3.11
✓ —
✓ 1.5s
py 3.12
✓ —
✓ 1.4s
py 3.13
✓ —
✓ 1.5s
py 3.9
✕ build_error
✕ build_error
15MB installed
● package 15MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ocp_vscode
from ocp_vscode import show, show_object
This proxy enables correct OCP imports for visualization with ocp_vscode.
cadquery
import cadquery as cq
from cadquery_ocp import *
Directly importing from cadquery_ocp is fragile; use cadquery as the public API.

Basic usage: import cadquery as usual. This proxy ensures the correct OCP version is installed.

import cadquery as cq # Create a simple box box = cq.Workplane("XY").box(1, 1, 1) # Export to STL cq.exporters.export(box, "box.stl")
Debug
Known issues
gotchaDo NOT import directly from cadquery_ocp or cadquery_ocp_novtk. Always import cadquery for your modeling code.
fix
Use `import cadquery as cq` and work with the public CadQuery API.
affects: all
gotchaThis proxy does not pin an exact version of cadquery_ocp; it only tracks the version. Version mismatches can occur if multiple packages require different OCP versions.
fix
Use a requirements.txt or pip freeze to pin both cadquery and cadquery-ocp-proxy to known compatible versions.
affects: all
Upgrade
Version history
7.9.3.1.1latest on PyPI · released May 28, 2026
Audit
Dependencies
cadquery_ocprequiredRequired at runtime, version tracked by this proxy
Agent activity
45 hits · last 30 days
node
40
OpenAI (training)
1
Resources
cadquery-ocp-proxy — pip install cadquery-ocp-proxy · libregistry