Werk24 Client to read PDF- and Image-based Technical Drawings / Engineering Drawings
Project description
Werk24 Client
- Understand the content of your PDF- and image-based Technical Drawings with a simple API call.
Werk24 offers an easy to use API to extract information from PDF- and image-based Technical Drawings. With the API are able to obtain:
- Thumbnails of the Page / Canvas / Sectionals (Cuts and Perspectives)
- Measures incl. tolerances
- Geometric Dimensioning and Tolerancing Frames
Check our website at https://www.werk24.biz. The project is persistently improved. Get in touch with us to obtain your API key.
Installation
Pip installation
pip install werk24
Documentation
See https://werk24.github.io/docs/
CLI
To get a first impression, you can run the CLI:
usage: w24cli techread [-h] [--ask-techread-started] [--ask-page-thumbnail]
[--ask-sheet-thumbnail] [--ask-sectional-thumbnail]
[--ask-variant-measures]
input_files
Example
from werk24 import Hook, W24TechreadClient, W24AskVariantMeasures
async def read_measures_from_drawing(document_bytes:bytes) -> None:
# define what you want to learn about the drawing, and what function
# should be called when a response arrives
hooks = [Hook(ask=W24AskVariantMeasures(), function=print)]
# make the call
client = W24TechreadClient.make_from_env()
async with client as session:
await session.read_drawing_with_hooks(document_bytes,hooks)
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
werk24-0.5.0rc3.tar.gz
(429.0 kB
view hashes)
Built Distribution
werk24-0.5.0rc3-py3-none-any.whl
(439.6 kB
view hashes)
Close
Hashes for werk24-0.5.0rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b72726919409593e13c9603cba7aea3e994551f5c761e64d99b29ed2c4827cc |
|
MD5 | 8208e52e7e4cfd0f6c18f330fa1951a9 |
|
BLAKE2b-256 | 3bd044672c22fb00c9abcbee6e44f22dfac13c863f3cfea84f19b5c8a8cf105f |