Gdstk (GDSII Tool Kit) is a C++/Python library for creation and manipulation of GDSII and OASIS files.
Python module for creating GDSII stream files, usually CAD layouts.
A simple Python package for creating or reading GDSII/OASIS layout files.