Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

PEP 561 type stubs generator for pybind11 modules

Project description

master status pypi package coverage


Generates stubs for python modules

There are several tweaks to target specifically modules compiled using pybind11

Currently supports only python3

Issues/PR are welcome


From github:

python -m pip install git+


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybind11-stubgen, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size pybind11-stubgen-0.2.1.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page