Skip to main content

Werk24 Client to read PDF- and Image-based Technical Drawings / Engineering Drawings

Project description

Werk24 Client

pypi

  • 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

import sys
import asyncio
from werk24 import W24TechreadClient, W24AskVariantOverallDimensions, Hook

from werk24 import Hook, W24TechreadClient,W24AskVariantMeasures

# get the drawing_bytes
document_bytes = ...

# 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.4.1b1.tar.gz (123.6 kB view details)

Uploaded Source

Built Distribution

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

werk24-0.4.1b1-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

Details for the file werk24-0.4.1b1.tar.gz.

File metadata

  • Download URL: werk24-0.4.1b1.tar.gz
  • Upload date:
  • Size: 123.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for werk24-0.4.1b1.tar.gz
Algorithm Hash digest
SHA256 b0920570543bcfe5ce547903492969e338f7d3e2a48c2e75d5007d156c043727
MD5 b418227e75bb119c52a4dd3b760e8112
BLAKE2b-256 7682a11986ce26c06b4616affac55381c172f4f84d4d698140d228cd3e1a4466

See more details on using hashes here.

File details

Details for the file werk24-0.4.1b1-py3-none-any.whl.

File metadata

  • Download URL: werk24-0.4.1b1-py3-none-any.whl
  • Upload date:
  • Size: 57.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for werk24-0.4.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 af76a773c9b20882752d5e92f43468fac9ff972fcf833d6073cdce4454dbcb82
MD5 9ea43a06573229e5a32fdcabce1fc4c0
BLAKE2b-256 b508d2e1814f6e3a4125dba7ff43f754a59594bc6925518a8476129ffe705823

See more details on using hashes here.

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