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

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.8.8.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.8.8-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybind11-stubgen-0.8.8.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.3

File hashes

Hashes for pybind11-stubgen-0.8.8.tar.gz
Algorithm Hash digest
SHA256 cfe7e83e23028cb9a09b593e7a7b97028878508aacc51281fcd475d14fab07d5
MD5 6cdd3166f3d9bd912d801cbd741311de
BLAKE2b-256 7da2bba4679a3fde15424a48e8a33f47d9186176d47a2636ecad453f8d9cbd09

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pybind11_stubgen-0.8.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c8a2b6add5d15604c69f31839a24fb9942c34cbddb0fc01126a66279ad29e7da
MD5 2d4e2616e0d65e0399122734d71d6b44
BLAKE2b-256 e5c0cab9b92d421719a25c0515ad2329162980b43db2adec21a6b768d3a5e946

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