Gdspy is a Python module for creating GDSII stream files, usually CAD layouts.
https://github.com/heitzmann/gdspy
stable