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] \
                 [--non-stop] \
                 [--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.6.1.tar.gz (10.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pybind11-stubgen-0.6.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.3

File hashes

Hashes for pybind11-stubgen-0.6.1.tar.gz
Algorithm Hash digest
SHA256 afe441ef392f306d89973c905e97bd40360142a1015987942abb7e40613b58e2
MD5 e901c707f3b2d9d6cd392f91b96cd3d3
BLAKE2b-256 c8a089c5fc1fa243a632197e15d5aa3387d63747527743c99757c41c0a805da2

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