movefaster / pybind11-stubgen

Generates stubs for python modules (targeted to C++ extensions compiled via pybind11)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

About

Generates stubs for python modules

There are several tweaks to target specifically modules compiled using pybind11

Currently supports only python3

Issues/PR are welcome

Install

From github:

python -m pip install git+https://github.com/sizmailov/pybind11-stubgen.git

Usage

pybind11-stubgen [-h] [-o OUTPUT_DIR] \
                 [--root_module_suffix ROOT_MODULE_SUFFIX] \
                 [--no-setup-py] \
                 [--log-level LOG_LEVEL] \
                 MODULE_NAME [MODULE_NAME ...] \

About

Generates stubs for python modules (targeted to C++ extensions compiled via pybind11)

License:Other


Languages

Language:Python 98.3%Language:Shell 1.7%