Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

fastdxf

Use ezdxf's document API and extract modelspace line segments into NumPy arrays from the same Python package.

import fastdxf as dxf
from ezdxf.math import Vec3

doc = dxf.readfile("drawing.dxf")
doc.modelspace().add_line(Vec3(0, 0), Vec3(3, 4))
doc.saveas("edited.dxf")

segments = dxf.read_lines("edited.dxf")
starts, ends = segments[:, 0], segments[:, 1]

readfile, read, new, and the other public top-level ezdxf names come from the installed ezdxf package. These functions retain ezdxf's signatures, document and entity classes, and exceptions. Use the usual ezdxf.* imports for submodules.

read_lines(path) returns a read-only, C-contiguous float64 array with shape (N, 2, 3). Each row holds the WCS start and end of a LINE directly in modelspace, in layout order. An empty selection has shape (0, 2, 3). The native reader targets ASCII R12, R2007, R2010, R2013 and R2018. Binary DXF, other versions, and layouts the native reader cannot resolve use ezdxf's reader. Use readfile for editing or inspecting the complete document.

Install the release candidate

The 0.1.0rc1 wheels target CPython 3.12 on Linux x86-64 (glibc 2.28+), Windows x86-64 and macOS on Apple silicon. Download the artifact for your platform from a successful candidate workflow run, extract the wheel and pass its path to pip. Candidate builds

python -m pip install /path/to/fastdxf-0.1.0rc1-cp312-cp312-win_amd64.whl

With a Rust toolchain and Python 3.11+ installed, you can also build from the source archive with python -m pip install fastdxf-0.1.0rc1.tar.gz, or run python -m pip install . from a checkout.

Maintainers can rehearse a release or publish a tagged build. Release instructions

LINE extraction performance

Mixed drawing Direct modelspace LINEs fastdxf Faster of the two iterdxf readers Speedup
R2010, 7.54 MB 11,556 45.31 ms 888.59 ms 19.61×
R2018, 2.17 MB 2,039 8.68 ms 189.17 ms 21.80×

These are the PR3 release-wheel measurements on Linux x86-64, Core i9-13900H, CPython 3.12.3 and ezdxf 1.4.5 with C extensions. Times cover opening the file through returning the NumPy array, using one warm-up and the median of five rotated trials. The indexed iterdxf measurement includes building the index. All methods matched the ordered endpoint bits from ezdxf. Benchmark details and reproduction

Metadata

Release files for fastdxf 0.1.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastdxf 0.1.0rc1
File Size Uploaded Provenance Actions
fastdxf-0.1.0rc1.tar.gz 9.3 kB With provenance Details for fastdxf-0.1.0rc1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fastdxf 0.1.0rc1
File Interpreter ABI Platform Actions
fastdxf-0.1.0rc1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for fastdxf-0.1.0rc1-cp312-cp312-win_amd64.whl
fastdxf-0.1.0rc1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for fastdxf-0.1.0rc1-cp312-cp312-manylinux_2_28_x86_64.whl
fastdxf-0.1.0rc1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for fastdxf-0.1.0rc1-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 765.6 kB

Release files / fastdxf-0.1.0rc1.tar.gz

Download URL fastdxf-0.1.0rc1.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1b4a7060ddcba683e714528f5ce097bbc974a2ee670c2350c378bdf16597e639
BLAKE2b-256 checksum
How to use checksums
b8fc24c96fa82e8cf4f693423fec96c1d26c2cad5eb93b186b553527f0bfeaa3
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 Dec 1, 2026.

Transparency log

Release files / fastdxf-0.1.0rc1-cp312-cp312-win_amd64.whl

Download URL fastdxf-0.1.0rc1-cp312-cp312-win_amd64.whl
Size 168.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
aeb41e61e0daa33a6a9c5e45548bd3247439dde363b9dc9982dec354cbf6596c
BLAKE2b-256 checksum
How to use checksums
d2cd358b8c9057c4ad0643a2c3561cf16001aa8655146d7a6d3d509c05a2ae10
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 Dec 1, 2026.

Transparency log

Release files / fastdxf-0.1.0rc1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL fastdxf-0.1.0rc1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 312.3 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
85a00651cd202d7ea07afc7923c2498e916a9d35483d92e9421e960e7d699934
BLAKE2b-256 checksum
How to use checksums
dad5879e37ff6cd8fb4004a80be4e022a84c3628c75bc27ff0d6d3eec705698a
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 Dec 1, 2026.

Transparency log

Release files / fastdxf-0.1.0rc1-cp312-cp312-macosx_11_0_arm64.whl

Download URL fastdxf-0.1.0rc1-cp312-cp312-macosx_11_0_arm64.whl
Size 275.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2e221187a646cdbfcc0c411c91baafd8135e74568a303b3e06d57aa442f85e59
BLAKE2b-256 checksum
How to use checksums
733d38c78eb1ef051f3269a180eddab1a068a90bcef7db1291fbecd50be81f81
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 Dec 1, 2026.

Transparency log

Security for fastdxf 0.1.0rc1

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.

Select from 4 files

Attestation for fastdxf-0.1.0rc1.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 Dec 1, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page