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.10.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

pybind11_stubgen-0.10.2-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybind11-stubgen-0.10.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for pybind11-stubgen-0.10.2.tar.gz
Algorithm Hash digest
SHA256 344d569afdf6f89b7cc0e246dac5d4f03a4cd37a886c7eac1538f39e4108840d
MD5 8bad9271ab34184d88912f843b59b012
BLAKE2b-256 61f49faf812ad623a414c8be2cd1bd87818925bbe7c6e52ee2e4af69cca28931

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pybind11_stubgen-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d533ee99b07fb88417102e10b54a151969acd50fe74b8120837812eff77ff6ca
MD5 0a07716712ca516d39b68900e97a4f61
BLAKE2b-256 e68734cf5aff8124e4a5a8fc2c12255f6f31845a838c57484a9893ea8fbff760

See more details on using hashes here.

Supported by

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