Skip to main content

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

Project description

Werk24 Client

pypi pypi Tests | 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.0b1.tar.gz (431.2 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.0b1-py3-none-any.whl (443.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: werk24-0.6.0b1.tar.gz
  • Upload date:
  • Size: 431.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

File hashes

Hashes for werk24-0.6.0b1.tar.gz
Algorithm Hash digest
SHA256 f2829a7b3b3ad9402c7fc6171c2895db113a9690bd58c91f39f502fd590da466
MD5 01354723109c773ec5157e8dcb02699f
BLAKE2b-256 03a2c91731323746ed8321e25bb21e6e5e6fb8142f2fbfe2e0abedb8080b42a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: werk24-0.6.0b1-py3-none-any.whl
  • Upload date:
  • Size: 443.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

File hashes

Hashes for werk24-0.6.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d7a835b7844debaee4f509c781ab474bc2b99abaf55ea42b2384d67571e94a0
MD5 e4fa962c00cb1deb9c4ad2c9f4a022f5
BLAKE2b-256 829fd738320e27a26396525a77affc2ea3f0417df14b616ba16482566fd1fd8d

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