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.11.0.tar.gz (12.8 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.11.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybind11-stubgen-0.11.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for pybind11-stubgen-0.11.0.tar.gz
Algorithm Hash digest
SHA256 23d5ac3285942a3558d5d978c15a0a894b8be2b88355c864bed1923f2d45aaaf
MD5 9d73a41d67001137272649b07412e0b9
BLAKE2b-256 5af7697d5287f70010671da3275686d18d8b8d1a96bc970ed7436243f9dba1db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybind11_stubgen-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for pybind11_stubgen-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6280f68461cb7d2c0ea13bbba80a95e6ce6d83dea9ec2b4265f06d7359147d71
MD5 c61ae2ddf31b7f876686ca700bf61052
BLAKE2b-256 533a6faef89fbd7c7e48d2c7d024997a974f7ccd7d6da949e7296a20cde7f52b

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