# mozman/ezdxf

Python interface to DXF

Repository: https://github.com/mozman/ezdxf
Canonical: https://ross.abutalabs.com/products/ezdxf
Homepage: https://ezdxf.mozman.at
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-26T05:16:52+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3510, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1422, forks 268 (observed 2026-08-28T04:04:40.784249+00:00)

## What it is
ezdxf is a Python package for creating, reading, modifying and writing DXF (AutoCAD) documents across DXF versions R12 through R2018, including ASCII and binary formats. It preserves third-party content, ships optional C-extensions for speed, and includes add-ons for rendering, streaming huge files, and a CLI for inspecting DXF files.

## Use cases
- create dxf files programmatically in python
- read and edit autocad dxf drawings without losing content
- convert dxf files to png, pdf or svg images
- process huge dxf files larger than memory
- inspect and audit dxf files from the command line
- extract entities from cad drawings for analysis
- generate parametric dxf entities from python code

## When to choose
- you need to programmatically create, edit or parse DXF files in Python
- you must preserve unknown third-party DXF tags when round-tripping documents
- you need to render or convert DXF drawings to images or vector formats
- you work with very large DXF files that don't fit in memory

## When to avoid
- you need a GUI CAD editor rather than a programming library
- you need to write DWG files (ezdxf handles DXF only)
- you need read/write support for DXF versions older than R12

## Facets
- artifact type: library
- maturity: stable
- function: parser, file-system, data-visualization, cli
- domain: files, developer-tools, graphics
- platform: python, cross-platform, cli
- tags: dxf, cad, autocad, caddrawing, geometry, rendering, automation

## Member repositories
- mozman/ezdxf (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.784249+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:42.441197+00:00, confidence not recorded.
  - readme: https://github.com/mozman/ezdxf (fetched 2026-08-28T04:04:40.784249+00:00, sha bdffb7eaae51)
  - homepage: https://ezdxf.mozman.at (fetched 2026-08-29T11:50:11.599291+00:00, sha d3c51dac670a)
  - site_page: https://ezdxf.mozman.at/docs (fetched 2026-08-29T11:50:11.603768+00:00, sha 30292f4a0fe1)
  - site_page: https://ezdxf.mozman.at/notes (fetched 2026-08-29T11:50:11.607106+00:00, sha e8fece9ce1a8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
