Skip to main content

PEP 561 type stubs generator for pybind11 modules

Project description

pypi package

About

Generates stubs for python modules

There are several tweaks to target specifically modules compiled using pybind11

Package targets python3 only. (In fact, it’s compatible with python2 but it’s not officially supported)

Issues/PR are welcome

Install

From PYPI:

python -m pip install pybind11-stubgen

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] \
                 [--ignore-invalid {signature,defaultarg,all} [{signature,defaultarg,all} ...]] \
                 [--skip-signature-downgrade] \
                 [--bare-numpy-ndarray] \
                 [--log-level LOG_LEVEL] \
                 MODULE_NAME [MODULE_NAME ...]

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pybind11-stubgen-0.14.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybind11_stubgen-0.14.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file pybind11-stubgen-0.14.0.tar.gz.

File metadata

  • Download URL: pybind11-stubgen-0.14.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pybind11-stubgen-0.14.0.tar.gz
Algorithm Hash digest
SHA256 1bb4de42cb5377fcc03c9a59be228719ae2a6e59a30ad777d79c5a912aa0926a
MD5 cb655613aca9dcc5e8795b0e37b3e46e
BLAKE2b-256 6431e4a58aea858b9982befc399819e0518b3460d1bbac09bf62ff19c1514b27

See more details on using hashes here.

File details

Details for the file pybind11_stubgen-0.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pybind11_stubgen-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3569a2b0de7396d149c3ecf489409b0ca5258c6f22b0dfcdd7ae2ac8f4707a42
MD5 3ecb0f664bde0d4eddc0a30bb2452561
BLAKE2b-256 4a6278bfffef40625aa3c765a5c3aab91ed64b7e58741a99aa0062da7f947df0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page