Skip to main content

PEP 561 type stubs generator for pybind11 modules

Project description

master status pypi package coverage

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

This version

0.9.1

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.9.1.tar.gz (12.2 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.9.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybind11-stubgen-0.9.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3

File hashes

Hashes for pybind11-stubgen-0.9.1.tar.gz
Algorithm Hash digest
SHA256 c97fab1f9cd3b726c8e9999645c12a1eefcf4591e2a7d3dfc6ef2a0838404ab2
MD5 691901cf314440677032128fa369205c
BLAKE2b-256 f49bd0f675d4def448b35c0758489f9b956d04b1e249ba508b69af697a36326f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybind11_stubgen-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3

File hashes

Hashes for pybind11_stubgen-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76dd7fe57d391147b5f07a3461119583fd6874842fc8ba84425f15c665c0e58e
MD5 afd0e9c3cb929fb19eccd49e52158218
BLAKE2b-256 cd6b74e79bae0bd79acc7259443b010e01a1dba79e7c2e48223c553d4519c78f

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