Skip to main content

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

Project description

Werk24 Client

pypi Tests | cpython 3.7, 3.8, 3.9

  • 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.io. 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.io/docs/index.html

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.6.3.tar.gz (432.3 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.6.3-py3-none-any.whl (444.2 kB view details)

Uploaded Python 3

File details

Details for the file werk24-0.6.3.tar.gz.

File metadata

  • Download URL: werk24-0.6.3.tar.gz
  • Upload date:
  • Size: 432.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for werk24-0.6.3.tar.gz
Algorithm Hash digest
SHA256 af979d1134514349487c219ba979dd5d13f826b3cc4fb6f449d60e5ac8402bee
MD5 38a998a783fb37fafa8ca7482fcda826
BLAKE2b-256 2ba1840d4007beacdcd185b016a5058084efc8c1692dc750b6d479fab8115dc6

See more details on using hashes here.

File details

Details for the file werk24-0.6.3-py3-none-any.whl.

File metadata

  • Download URL: werk24-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 444.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for werk24-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94c02b1e58292e03e0e86f4191d0d7f50e4e89b5125c541a366805a3ff87ade6
MD5 85c7625347ccc37698c5b5d159f1ccd7
BLAKE2b-256 1847920df9883b88f476b657b02454ad8ad783cf0001aa81dae5d3b228aeace5

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