Files
rdkit/Code/GraphMol/Descriptors
Paolo Tosco 2b4202867e Add Python modules to generate stubs and automatically patch docstrings (#6919)
* - added gen_rdkit_stubs Python module to generate rdkit-stubs
- added patch_rdkit_docstrings Python module to patch existing C++ sources to fix docstrings missing self parameter and add named parameters taken from C++ signatures where possible
- added rdkit-stubs/CMakeLists.txt to build rdkit-stubs as part of the RDKit build
- added an option to CMakeLists.txt to enable building rdkit-stubs as part of the RDKit build (defaults to OFF)

* fixed CMakeLists.txt, rdkit-stubs/CMakeLists.txt and a doctest

* - added missing cmp_func parameter
- fixed case with overloads with optional parameters
- do not trim params if expected_param_count == -1
- add dummy parameter names if we could not find any
- keep into account member functions when making up parameter names
- address __init__ and make_constructor __init__ functions
- fix incorrectly assigned staticmethods

* patched sources

* address residual few remarks

---------

Co-authored-by: ptosco <paolo.tosco@novartis.com>
2023-11-30 04:54:18 +01:00
..
2021-02-22 13:32:17 +01:00
2019-04-16 12:05:47 -04:00
2019-04-16 12:05:47 -04:00
2023-08-19 08:20:06 +02:00
2023-11-15 06:45:42 +01:00
2018-07-25 09:14:17 +02:00
2017-10-12 06:42:15 +02:00
2021-10-20 04:25:27 +02:00
2019-04-16 12:05:47 -04:00
2019-04-16 12:05:47 -04:00
2023-02-09 08:31:39 +01:00
2021-08-09 04:58:01 +02:00
2023-01-14 08:54:30 -05:00
2020-05-25 09:40:01 +02:00
2019-04-16 12:05:47 -04:00
2019-04-16 12:05:47 -04:00
2023-04-05 19:10:58 +02:00
2019-04-16 12:05:47 -04:00
2021-05-27 07:30:06 -04:00
2023-08-11 06:04:55 +02:00
2022-07-11 11:20:03 +02:00
2019-04-16 12:05:47 -04:00
2019-04-16 12:05:47 -04:00
2021-10-20 04:25:27 +02:00
2022-11-01 04:14:26 +01:00
2021-02-22 13:32:17 +01:00
2023-08-19 08:20:06 +02:00
2019-04-16 12:05:47 -04:00
2019-04-16 12:05:47 -04:00