edrawings-kit
English | 日本語
A Rust core and Python bindings for reading eDrawings files (.eprt, .easm, and
.edrw). Extract container contents, supported HSF geometry, text and attributes,
and stored document structure, with diagnostics and source references.
HSF parsing uses hsf-core.
The eDrawings application and HOOPS SDK are not required at runtime.
This is a read-only parser with limited format support. It does not provide complete placement or rendering for arbitrary files, reconstruct editable CAD models or dimension definitions, or write CAD files. Read the support and limitations guide and check the status and diagnostics returned by each operation.
Installation
Use CPython 3.10 or later. Rust is not required when installing a compatible wheel. Replace the path below with the wheel for your platform:
python -m pip install "/path/to/edrawings_kit-<version>-<platform>.whl"
Installing from source requires Rust 1.88 or later:
git clone https://github.com/monozukuri-ai/edrawings-kit.git
cd edrawings-kit
python -m pip install .
Cargo downloads hsf-core from crates.io. A separate repository checkout is not required.
Python
import edrawings_kit as ed
info = ed.inspect_file("part.eprt")
for entry in info.entries:
print(entry.id, entry.name, entry.bytes, entry.crc_status)
doc = ed.read_file("part.eprt", limits=ed.Limits.desktop())
parsed = doc.parse_hsf(mode="partial")
print(parsed.summary.stages.hsf_syntax)
for diagnostic in parsed.summary.diagnostics:
print(diagnostic.code, diagnostic.message)
inspect_file() lists entries. CRC verification and HSF parsing are separate
operations. In partial mode, parsing returns the supported prefix when it reaches
an unsupported feature, so a successful call does not necessarily mean parsing is
complete. strict mode raises an exception for unsupported features. Corruption
and resource limit violations raise exceptions in both modes.
To parse product-specific User Data in supported files, explicitly select an experimental profile:
drawing = doc.read_drawing(user_data_profile="edrawings_be_envelope_v1")
print(drawing.summary.sheet_inventory)
print(drawing.summary.component_inventory)
print(drawing.summary.assessment.status)
This profile also does not guarantee complete rendering or placement. Unknown information and original bytes are preserved. See the Python API guide for geometry buffers, text, source references, and error handling.
For viewers, read_display() returns bodies as packed buffers and estimated
instance placements for one saved configuration, with colours and names:
display = doc.read_display()
print(display.summary.instance_count, display.summary.configurations.selection)
instances = display.instance_buffers() # matrices, body indices, colours, names
CLI
edrawings-kit info
edrawings-kit inspect part.eprt
edrawings-kit scene part.eprt --mode partial
edrawings-kit drawing drawing.edrw --user-data-profile edrawings_be_envelope_v1
edrawings-kit verify part.eprt --limits service
edrawings-kit extract part.eprt --entry entry:0 --output model.hsf
Results are UTF-8 JSON. Extraction requires an explicit destination and does not overwrite existing files. See the CLI reference for commands, options, and exit codes.
Documentation
- Python API guide
- Supported platforms, formats, and limitations
- Development and testing
- Building and verifying distributions
License
Apache-2.0. Dependency license texts and attribution notices are bundled. See NOTICE for details.
Metadata
Release files for edrawings-kit 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| edrawings_kit-0.2.3.tar.gz | 375.6 kB | With provenance | Details for edrawings_kit-0.2.3.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edrawings_kit-0.2.3-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for edrawings_kit-0.2.3-cp310-abi3-win_amd64.whl |
| edrawings_kit-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.34+ x86-64 | Details for edrawings_kit-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl |
| edrawings_kit-0.2.3-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for edrawings_kit-0.2.3-cp310-abi3-macosx_11_0_arm64.whl |
Total release size: 4.3 MB
Release files / edrawings_kit-0.2.3.tar.gz
| Download URL | edrawings_kit-0.2.3.tar.gz |
|---|---|
| Size | 375.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f7381d941274ddd265901dc10a7174569f8fcb6beb9ea40f5503237c0b8a69f
|
|
BLAKE2b-256 checksum How to use checksums |
31606e21a4231ec282a9f38abdf171d12bd8f6bdfc365cc70d567bad62280a3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / edrawings_kit-0.2.3-cp310-abi3-win_amd64.whl
| Download URL | edrawings_kit-0.2.3-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
efb8ad918bcd0b4d92f6224b00fbe8639bf7ba42297e873adc7206c9acd5e3f8
|
|
BLAKE2b-256 checksum How to use checksums |
2c5648124ceab699fa979d73d57b072eba254fb555bdade15e20c98cedd40682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / edrawings_kit-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl
| Download URL | edrawings_kit-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6307cb638b12112d3177c5afa1f221dc8d90762afb3c00f6f13748fe51513021
|
|
BLAKE2b-256 checksum How to use checksums |
aad5f0a25ddb472f572bfb484257536474ae65b573a91987216194c125fbbce7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / edrawings_kit-0.2.3-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | edrawings_kit-0.2.3-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e70e5a27202195badd683ecfcb8ea241c0c9aaec0a92be224a822c3417ab60b3
|
|
BLAKE2b-256 checksum How to use checksums |
7b2fafe2a10101d155da8ff9060576b56e81a9037e8bccf20829b57405815f7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for edrawings-kit 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for edrawings_kit-0.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.