klayout/src/pymod
Thomas Ferreira de Lima 4d4f4b643b Added python stubs with type hinting and documentation. (#1125)
* Added python stubs with type hinting and documentation.

The documentation was extracted by inspecting the docstrings within each class and methods.
This should enable type hinting and checking by IDEs like VSCode.
The stubs were automatically generated, and have not been manually curated. (TODO)

* created tl ArgType to python type translator

* Fixing a pyaModule.cc bug

* almost finished stubgen

* fixing little bug in classes defined within classes

* Release version of the stubgen script. Good enough for release.

* Adding notes

* Including stubs when installing from source

* typechecking bugfix: missed checking is_iter()

* Cleaning up unused code for merge review

* Including stubs when installing from source (part deux)

* Putting the GenericDeviceExtractor name setting into the right place.

* Updating python stubs

Co-authored-by: Matthias Koefferlein <matthias@koefferlein.de>
2022-09-01 00:41:42 +02:00
..
QtCore Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtCore5Compat Updated copyright for 2022 for remaining files. 2022-01-07 22:22:31 +01:00
QtDesigner Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtGui Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtMultimedia Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtNetwork Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtPrintSupport Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtSql Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtSvg Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtUiTools Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtWidgets Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtXml Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
QtXmlPatterns Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
ant Modifications to enable building of Qt-less canvas in setup.py 2022-05-12 01:53:16 +02:00
bridge_sample Merge branch 'qt6' 2022-01-06 21:48:02 +01:00
db Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
distutils_src Added python stubs with type hinting and documentation. (#1125) 2022-09-01 00:41:42 +02:00
edt [CONSIDER MERGING] fixed a typo in gsiDeclBasic.cc which might cause a duplicate GSI class duplicatge registration assertion 2022-05-12 23:42:06 +02:00
img [CONSIDER MERGING] fixed a typo in gsiDeclBasic.cc which might cause a duplicate GSI class duplicatge registration assertion 2022-05-12 23:42:06 +02:00
lay WIP: some fixes at unit test level 2022-05-15 21:47:15 +02:00
lib Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
lym Modifications to enable building of Qt-less canvas in setup.py 2022-05-12 01:53:16 +02:00
rdb Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
tl Qt4 compatibility 2022-05-16 00:07:31 +02:00
unit_tests WIP: some fixes at unit test level 2022-05-15 21:47:15 +02:00
__init__.py.noqt WIP: added lib module to qmake-based python module build 2019-04-03 01:07:22 +02:00
__init__.py.qt4 #730: providing a new Qt module named QtUiTools for QUiLoader class s… (#735) 2021-02-25 21:29:21 +01:00
__init__.py.qt5 #730: providing a new Qt module named QtUiTools for QUiLoader class s… (#735) 2021-02-25 21:29:21 +01:00
__init__.py.qtless Modifications to enable building of Qt-less canvas in setup.py 2022-05-12 01:53:16 +02:00
pymod.pri Fixed MSVC builds ... 2018-10-22 23:48:15 +02:00
pymod.pro Fixed qmake-based builds after changing setup.py 2022-05-14 00:00:35 +02:00
pymodHelper.h Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues) 2022-01-04 21:20:04 +01:00
stubgen.py Added python stubs with type hinting and documentation. (#1125) 2022-09-01 00:41:42 +02:00
typehint_stubs.md Added python stubs with type hinting and documentation. (#1125) 2022-09-01 00:41:42 +02:00