Skip to content

Installation

From PyPI

The simplest way to install ezdwg:

pip install ezdwg

Optional Dependencies

Plotting (matplotlib):

pip install "ezdwg[plot]"

DWG to DXF conversion (ezdxf backend):

pip install "ezdwg[dxf]"

Both extras:

pip install "ezdwg[plot,dxf]"

From Source

Building from source requires a Rust toolchain (stable) and Python >= 3.10.

git clone https://github.com/monozukuri-ai/ezdwg.git
cd ezdwg
maturin develop
pip install -e .

Rust Toolchain

Install Rust via rustup if you don't have it. ezdwg uses PyO3 and maturin to build the native extension.

Requirements

  • Python >= 3.10
  • Supported platforms: Linux, macOS, Windows