Add ezdxf stubs

This commit is contained in:
jan 2026-02-16 18:04:16 -08:00
commit 0f49924aa6
4 changed files with 53 additions and 0 deletions

12
stubs/ezdxf/__init__.pyi Normal file
View file

@ -0,0 +1,12 @@
from typing import Any, TextIO, Iterable
from .layouts import Modelspace, BlockRecords
class Drawing:
blocks: BlockRecords
@property
def layers(self) -> Iterable[Any]: ...
def modelspace(self) -> Modelspace: ...
def write(self, stream: TextIO) -> None: ...
def new(version: str = ..., setup: bool = ...) -> Drawing: ...
def read(stream: TextIO) -> Drawing: ...