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.8.7

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybind11-stubgen-0.8.7.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.3

File hashes

Hashes for pybind11-stubgen-0.8.7.tar.gz
Algorithm Hash digest
SHA256 79e24009137cd51ef7201c5b9f4d0d072824b260cff751ec8200a8886e06adbf
MD5 472b3e0222eda7b5af4f4bb6b4f3bc8e
BLAKE2b-256 841f68a4e89616b5ed5df62fe9eb4e1b2b91f8e1b80604ad91ac44ee5b77d64d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybind11_stubgen-0.8.7-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.3

File hashes

Hashes for pybind11_stubgen-0.8.7-py3-none-any.whl
Algorithm Hash digest
SHA256 723cfcf8049f6ed391708b1aa30699f2f9720d8a18fff868c4333c6f5752b604
MD5 cafe8e14cd9532c821cec58155a27c63
BLAKE2b-256 e9a7383b6f4c248f5a7bd32557e5ecdac66279e15be5a33d95e95919d7478afe

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