Automated Processing of Technical Drawings
翻译准备中
正在加载完整 README。
查看完整 README ↗Unlock manufacturing intelligence from technical drawings with AI.
Werk24 provides AI-powered solutions for extracting and interpreting technical drawings. This Python client enables easy interaction with the Werk24 API for processing technical drawings efficiently. The API gives you access to the following structured data:
👉 Visit werk24.io to learn more or request a demo.
Harness Werk24 for:
Pip installation
pip install werk24 # install the library
werk24 init # paste your API token; it is saved to ~/.werk24 and found from any folder
Calling the API needs an API token and is billed pay as you go. Sign up for the Werk24 API, then create a token on the API tokens page of the Werk24 console. werk24 init asks for the token and stores it for the client. On a server or in CI, set the W24TECHREAD_AUTH_TOKEN environment variable instead.
To see what Werk24 reads from a drawing before you sign up, try the free browser demo.
To let the CLI show the sheet and view images it receives (werk24 techread --ask-sheet-images / --ask-view-images), install the images extra, which adds Pillow:
pip install "werk24[images]"
Without it, those options do not show the images and still print the other results.
The client uses the first token it finds, in this order:
token argument: Werk24Client(token="...")..werk24 in the folder the script is started from.~/.werk24 in your home folder. This is where werk24 init saves the token.werk24_license.txt in the folder the script is started from.~/werk24_license.txt in your home folder.W24TECHREAD_AUTH_TOKEN.The environment variable suits CI jobs and containers, where no token file
exists. On a machine that has a token file, the file is used instead. When no
token is found, the error lists every place the client looked. werk24 health-check shows which token is in use and where it was read from.
The werk24 library uses a flexible dependency management strategy designed to minimize conflicts with other packages in your environment. We specify minimum versions for dependencies based on required features and security fixes, but avoid restrictive upper bounds that can cause installation conflicts.
Each minimum version requirement exists for a specific reason:
cryptography>=44.0.0 require minimum versions that include critical security patchesWe follow these principles:
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗