pybind11

Seamless operability between C++11 and Python

https://github.com/pybind/pybind11

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    22 of 375 committers (5.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.7%) to scientific vocabulary

Keywords

bindings python

Keywords from Contributors

closember tensor distributed notebook qt ipython autograd repl spec-0 wx
Last synced: 6 months ago · JSON representation

Repository

Seamless operability between C++11 and Python

Basic Info
Statistics
  • Stars: 17,235
  • Watchers: 250
  • Forks: 2,215
  • Open Issues: 714
  • Releases: 37
Topics
bindings python
Created over 10 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Codeowners Security

README.rst

.. figure:: https://github.com/pybind/pybind11/raw/master/docs/pybind11-logo.png
   :alt: pybind11 logo

**pybind11 (v3)  — Seamless interoperability between C++ and Python**

|Latest Documentation Status| |Stable Documentation Status| |Gitter chat| |GitHub Discussions|

|CI| |Build status| |SPEC 4 — Using and Creating Nightly Wheels|

|Repology| |PyPI package| |Conda-forge| |Python Versions|

`Setuptools example `_
• `Scikit-build example `_
• `CMake example `_

.. start


**pybind11** is a lightweight header-only library that exposes C++ types
in Python and vice versa, mainly to create Python bindings of existing
C++ code. Its goals and syntax are similar to the excellent
`Boost.Python `_
library by David Abrahams: to minimize boilerplate code in traditional
extension modules by inferring type information using compile-time
introspection.

The main issue with Boost.Python—and the reason for creating such a
similar project—is Boost. Boost is an enormously large and complex suite
of utility libraries that works with almost every C++ compiler in
existence. This compatibility has its cost: arcane template tricks and
workarounds are necessary to support the oldest and buggiest of compiler
specimens. Now that C++11-compatible compilers are widely available,
this heavy machinery has become an excessively large and unnecessary
dependency.

Think of this library as a tiny self-contained version of Boost.Python
with everything stripped away that isn't relevant for binding
generation. Without comments, the core header files only require ~4K
lines of code and depend on Python (CPython 3.8+, PyPy, or GraalPy) and the C++
standard library. This compact implementation was possible thanks to some C++11
language features (specifically: tuples, lambda functions and variadic
templates). Since its creation, this library has grown beyond Boost.Python in
many ways, leading to dramatically simpler binding code in many common
situations.

Tutorial and reference documentation is provided at
`pybind11.readthedocs.io `_.
A PDF version of the manual is available
`here `_.
And the source code is always available at
`github.com/pybind/pybind11 `_.


Core features
-------------


pybind11 can map the following core C++ features to Python:

- Functions accepting and returning custom data structures per value,
  reference, or pointer
- Instance methods and static methods
- Overloaded functions
- Instance attributes and static attributes
- Arbitrary exception types
- Enumerations
- Callbacks
- Iterators and ranges
- Custom operators
- Single and multiple inheritance
- STL data structures
- Smart pointers with reference counting like ``std::shared_ptr``
- Internal references with correct reference counting
- C++ classes with virtual (and pure virtual) methods can be extended
  in Python
- Integrated NumPy support (NumPy 2 requires pybind11 2.12+)

Goodies
-------

In addition to the core functionality, pybind11 provides some extra
goodies:

- CPython 3.8+, PyPy3 7.3.17+, and GraalPy 24.1+ are supported with an
  implementation-agnostic interface (see older versions for older CPython
  and PyPy versions).

- It is possible to bind C++11 lambda functions with captured
  variables. The lambda capture data is stored inside the resulting
  Python function object.

- pybind11 uses C++11 move constructors and move assignment operators
  whenever possible to efficiently transfer custom data types.

- It's easy to expose the internal storage of custom data types through
  Pythons' buffer protocols. This is handy e.g. for fast conversion
  between C++ matrix classes like Eigen and NumPy without expensive
  copy operations.

- pybind11 can automatically vectorize functions so that they are
  transparently applied to all entries of one or more NumPy array
  arguments.

- Python's slice-based access and assignment operations can be
  supported with just a few lines of code.

- Everything is contained in just a few header files; there is no need
  to link against any additional libraries.

- Binaries are generally smaller by a factor of at least 2 compared to
  equivalent bindings generated by Boost.Python. A recent pybind11
  conversion of PyRosetta, an enormous Boost.Python binding project,
  `reported `_
  a binary size reduction of **5.4x** and compile time reduction by
  **5.8x**.

- Function signatures are precomputed at compile time (using
  ``constexpr``), leading to smaller binaries.

- With little extra effort, C++ types can be pickled and unpickled
  similar to regular Python objects.

Supported compilers
-------------------

1. Clang/LLVM 3.3 or newer (for Apple Xcode's clang, this is 5.0.0 or
   newer)
2. GCC 4.8 or newer
3. Microsoft Visual Studio 2022 or newer (2019 probably works, but was dropped in CI)
4. Intel classic C++ compiler 18 or newer (ICC 20.2 tested in CI)
5. Cygwin/GCC (previously tested on 2.5.1)
6. NVCC (CUDA 11.0 tested in CI)
7. NVIDIA PGI (20.9 tested in CI)

Supported Platforms
-------------------

* Windows, Linux, macOS, and iOS
* CPython 3.8+, Pyodide, PyPy, and GraalPy
* C++11, C++14, C++17, C++20, and C++23

About
-----

This project was created by `Wenzel
Jakob `_. Significant features and/or
improvements to the code were contributed by
Jonas Adler,
Lori A. Burns,
Sylvain Corlay,
Eric Cousineau,
Aaron Gokaslan,
Ralf Grosse-Kunstleve,
Trent Houliston,
Axel Huebl,
@hulucc,
Yannick Jadoul,
Sergey Lyskov,
Johan Mabille,
Tomasz Miąsko,
Dean Moldovan,
Ben Pritchard,
Jason Rhinelander,
Boris Schäling,
Pim Schellart,
Henry Schreiner,
Ivan Smirnov,
Dustin Spicuzza,
Boris Staletic,
Ethan Steinberg,
Patrick Stewart,
Ivor Wanders,
and
Xiaofei Wang.

We thank Google for a generous financial contribution to the continuous
integration infrastructure used by this project.


Contributing
~~~~~~~~~~~~

See the `contributing
guide `_
for information on building and contributing to pybind11.

License
~~~~~~~

pybind11 is provided under a BSD-style license that can be found in the
`LICENSE `_
file. By using, distributing, or contributing to this project, you agree
to the terms and conditions of this license.

.. |Latest Documentation Status| image:: https://readthedocs.org/projects/pybind11/badge?version=latest
   :target: http://pybind11.readthedocs.org/en/latest
.. |Stable Documentation Status| image:: https://img.shields.io/badge/docs-stable-blue.svg
   :target: http://pybind11.readthedocs.org/en/stable
.. |Gitter chat| image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
   :target: https://gitter.im/pybind/Lobby
.. |CI| image:: https://github.com/pybind/pybind11/workflows/CI/badge.svg
   :target: https://github.com/pybind/pybind11/actions
.. |Build status| image:: https://ci.appveyor.com/api/projects/status/riaj54pn4h08xy40?svg=true
   :target: https://ci.appveyor.com/project/wjakob/pybind11
.. |PyPI package| image:: https://img.shields.io/pypi/v/pybind11.svg
   :target: https://pypi.org/project/pybind11/
.. |Conda-forge| image:: https://img.shields.io/conda/vn/conda-forge/pybind11.svg
   :target: https://github.com/conda-forge/pybind11-feedstock
.. |Repology| image:: https://repology.org/badge/latest-versions/python:pybind11.svg
   :target: https://repology.org/project/python:pybind11/versions
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/pybind11.svg
   :target: https://pypi.org/project/pybind11/
.. |GitHub Discussions| image:: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
   :target: https://github.com/pybind/pybind11/discussions
.. |SPEC 4 — Using and Creating Nightly Wheels| image:: https://img.shields.io/badge/SPEC-4-green?labelColor=%23004811&color=%235CA038
   :target: https://scientific-python.org/specs/spec-0004/

Owner

  • Name: pybind
  • Login: pybind
  • Kind: organization

Seamless operability between C++ and Python

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 2,695
  • Total Committers: 375
  • Avg Commits per committer: 7.187
  • Development Distribution Score (DDS): 0.845
Past Year
  • Commits: 141
  • Committers: 44
  • Avg Commits per committer: 3.205
  • Development Distribution Score (DDS): 0.773
Top Committers
Name Email Commits
Wenzel Jakob w****b@e****h 417
Jason Rhinelander j****n@i****a 298
Henry Schreiner H****I@g****m 232
Dean Moldovan d****d@g****m 197
Ralf W. Grosse-Kunstleve r****k@g****m 177
Wenzel Jakob w****l@i****h 162
Ivan Smirnov i****v@g****m 131
Henry Schreiner h****i@g****m 101
Aaron Gokaslan s****n@g****m 71
pre-commit-ci[bot] 6****] 68
Yannick Jadoul y****l@b****t 54
dependabot[bot] 4****] 53
Axel Huebl a****l@p****a 24
Aaron Gokaslan a****n@g****m 23
Boris Staletic b****c@g****m 21
Sergei Izmailov s****v@g****m 20
Eric Cousineau e****u@t****l 18
Henry Fredrick Schreiner h****r@c****h 14
Dustin Spicuzza d****n@v****m 13
Sylvain Corlay s****y@g****m 12
Antony Lee a****e@g****m 12
Lori A. Burns l****s@g****m 11
Henry Schreiner h****i@u****u 11
Dan g****b@d****t 10
Sergey Lyskov s****v@j****u 10
Trent Houliston t****t@h****e 10
Ben North b****n@r****g 10
jbarlow83 j****3 8
Ethan Steinberg e****g@g****m 7
Ivan Smirnov a****r 6
and 345 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 369
  • Total pull requests: 1,086
  • Average time to close issues: 9 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 309
  • Total pull request authors: 145
  • Average comments per issue: 3.62
  • Average comments per pull request: 3.23
  • Merged pull requests: 807
  • Bot issues: 1
  • Bot pull requests: 123
Past Year
  • Issues: 75
  • Pull requests: 481
  • Average time to close issues: 9 days
  • Average time to close pull requests: 5 days
  • Issue authors: 60
  • Pull request authors: 57
  • Average comments per issue: 0.68
  • Average comments per pull request: 2.76
  • Merged pull requests: 347
  • Bot issues: 0
  • Bot pull requests: 51
Top Authors
Issue Authors
  • XuehaiPan (6)
  • henryiii (6)
  • petersteneteg (5)
  • dyollb (5)
  • rwgk (5)
  • gentlegiantJGC (5)
  • rostan-t (5)
  • LecrisUT (3)
  • sin3point14 (3)
  • yurivict (3)
  • mtelka (2)
  • ianhbell (2)
  • QuLogic (2)
  • tadeu (2)
  • feltech (2)
Pull Request Authors
  • rwgk (364)
  • henryiii (198)
  • dependabot[bot] (81)
  • pre-commit-ci[bot] (42)
  • InvincibleRMC (32)
  • XuehaiPan (22)
  • b-pass (21)
  • gentlegiantJGC (14)
  • msimacek (14)
  • timohl (13)
  • cyyever (11)
  • rhaschke (10)
  • virtuald (8)
  • sizmailov (8)
  • dyollb (8)
Top Labels
Issue Labels
triage (221) help wanted (18) bug (14) enhancement (11) docs (4) compiler issue (3) build system (3) signatures (2) duplicate (2) ci (2) holders (2) regression (1) github_actions (1) casters (1)
Pull Request Labels
dependencies (81) github_actions (57) needs changelog (22) python (16) build system (8) needs backport (7) python dev (6) needs-review (3) holders (3) casters (2) pywrapcc backport (2) pybind11k backport (2) ci (1) enhancement (1) bug (1) docs (1) abi break (1) smart holder (1) needs-backport (1)

Packages

  • Total packages: 46
  • Total downloads:
    • homebrew 5,448 last-month
    • pypi 23,008,171 last-month
  • Total docker downloads: 937,760,877
  • Total dependent packages: 443
    (may contain duplicates)
  • Total dependent repositories: 4,665
    (may contain duplicates)
  • Total versions: 300
  • Total maintainers: 5
pypi.org: pybind11

Seamless operability between C++11 and Python

  • Versions: 64
  • Dependent Packages: 318
  • Dependent Repositories: 4,222
  • Downloads: 22,749,584 Last month
  • Docker Downloads: 937,750,044
Rankings
Dependent packages count: 0.1%
Downloads: 0.1%
Stargazers count: 0.1%
Dependent repos count: 0.2%
Average: 0.3%
Forks count: 0.3%
Docker downloads count: 0.7%
Maintainers (2)
Last synced: 6 months ago
alpine-v3.18: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 0.6%
Forks count: 1.1%
Stargazers count: 1.2%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.18: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 0.6%
Forks count: 1.1%
Stargazers count: 1.2%
Maintainers (1)
Last synced: 6 months ago
pypi.org: pybind11-global

Seamless operability between C++11 and Python

  • Versions: 38
  • Dependent Packages: 5
  • Dependent Repositories: 29
  • Downloads: 258,115 Last month
  • Docker Downloads: 10,833
Rankings
Stargazers count: 0.1%
Forks count: 0.3%
Downloads: 1.2%
Docker downloads count: 1.3%
Average: 1.5%
Dependent repos count: 2.7%
Dependent packages count: 3.3%
Maintainers (2)
Last synced: 6 months ago
conda-forge.org: pybind11
  • Versions: 31
  • Dependent Packages: 36
  • Dependent Repositories: 160
Rankings
Dependent packages count: 1.9%
Stargazers count: 2.4%
Average: 2.5%
Dependent repos count: 2.7%
Forks count: 3.0%
Last synced: 6 months ago
alpine-v3.13: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 2.9%
Dependent packages count: 9.4%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.12: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 3.1%
Dependent packages count: 10.0%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: pybind11-abi
  • Versions: 1
  • Dependent Packages: 53
  • Dependent Repositories: 33
Rankings
Dependent packages count: 1.4%
Stargazers count: 2.4%
Forks count: 3.0%
Average: 3.3%
Dependent repos count: 6.4%
Last synced: 6 months ago
alpine-v3.16: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.1%
Average: 3.5%
Dependent packages count: 12.0%
Maintainers (1)
Last synced: 6 months ago
alpine-edge: py3-pybind11-pyc

Precompiled Python bytecode for py3-pybind11

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.1%
Average: 3.7%
Dependent packages count: 12.7%
Maintainers (1)
Last synced: 6 months ago
alpine-edge: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 4.2%
Dependent packages count: 14.6%
Maintainers (1)
Last synced: 6 months ago
alpine-edge: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 4.2%
Dependent packages count: 14.6%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.15: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 4.7%
Dependent packages count: 16.5%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.16: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.1%
Average: 5.2%
Dependent packages count: 18.7%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.17: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 5.3%
Dependent packages count: 19.0%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.13: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 5.4%
Dependent packages count: 19.5%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.10: py3-pybind11

Seamless operability between C++11 and Python (for python3)

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.1%
Average: 5.9%
Dependent packages count: 21.5%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.12: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 5.9%
Dependent packages count: 21.5%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.14: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 0.9%
Stargazers count: 1.1%
Average: 5.9%
Dependent packages count: 21.7%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.14: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 0.9%
Stargazers count: 1.1%
Average: 5.9%
Dependent packages count: 21.7%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.11: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.1%
Stargazers count: 1.2%
Average: 6.2%
Dependent packages count: 22.6%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.11: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.1%
Stargazers count: 1.2%
Average: 6.2%
Dependent packages count: 22.6%
Maintainers (1)
Last synced: 6 months ago
formulae.brew.sh: pybind11

Seamless operability between C++11 and Python

  • Versions: 16
  • Dependent Packages: 7
  • Dependent Repositories: 7
  • Downloads: 5,448 Last month
Rankings
Forks count: 1.1%
Stargazers count: 1.6%
Dependent packages count: 3.7%
Average: 6.3%
Downloads: 9.6%
Dependent repos count: 15.5%
Last synced: 6 months ago
alpine-v3.15: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 6.9%
Dependent packages count: 25.6%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.17: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.2%
Average: 7.4%
Dependent packages count: 27.3%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.10: py2-pybind11

Seamless operability between C++11 and Python (for python2)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.1%
Average: 7.9%
Dependent packages count: 29.6%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.10: py-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.0%
Stargazers count: 1.1%
Average: 7.9%
Dependent packages count: 29.6%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/pybind/pybind11
  • Versions: 46
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 6 months ago
anaconda.org: pybind11

pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. Its goals and syntax are similar to the excellent Boost.Python library by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.

  • Versions: 15
  • Dependent Packages: 4
  • Dependent Repositories: 160
Rankings
Stargazers count: 6.7%
Forks count: 8.0%
Average: 10.3%
Dependent packages count: 11.1%
Dependent repos count: 15.5%
Last synced: 6 months ago
conda-forge.org: pybind11-global
  • Versions: 11
  • Dependent Packages: 1
  • Dependent Repositories: 10
Rankings
Stargazers count: 2.4%
Forks count: 3.0%
Dependent repos count: 11.1%
Average: 11.4%
Dependent packages count: 29.0%
Last synced: 6 months ago
anaconda.org: pybind11-abi

pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. Its goals and syntax are similar to the excellent Boost.Python library by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.

  • Versions: 2
  • Dependent Packages: 8
  • Dependent Repositories: 33
Rankings
Stargazers count: 6.6%
Dependent packages count: 7.0%
Forks count: 8.0%
Average: 12.4%
Dependent repos count: 28.0%
Last synced: 6 months ago
pypi.org: grib-to-arrow

grib_to_arrow is a python module to export data in the GRIB format to Apache Arrow

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 458 Last month
Rankings
Stargazers count: 0.1%
Forks count: 0.3%
Dependent packages count: 10.0%
Downloads: 15.2%
Average: 18.4%
Dependent repos count: 66.3%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: pybind11-rosetta-commons

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 14 Last month
Rankings
Stargazers count: 0.1%
Forks count: 0.3%
Dependent packages count: 10.0%
Average: 19.7%
Dependent repos count: 21.7%
Downloads: 66.1%
Maintainers (1)
Last synced: 6 months ago
anaconda.org: pybind11-global

pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. Its goals and syntax are similar to the excellent Boost.Python library by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.

  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 10
Rankings
Stargazers count: 6.6%
Forks count: 8.0%
Average: 20.9%
Dependent packages count: 30.7%
Dependent repos count: 38.2%
Last synced: 6 months ago
alpine-v3.19: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-pybind11-pyc

Precompiled Python bytecode for py3-pybind11

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.19: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.20: py3-pybind11-pyc

Precompiled Python bytecode for py3-pybind11

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.20: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.20: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-pybind11

Seamless operability between C++11 and Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-pybind11-dev

Seamless operability between C++11 and Python (development files)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.19: py3-pybind11-pyc

Precompiled Python bytecode for py3-pybind11

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-pybind11-pyc

Precompiled Python bytecode for py3-pybind11

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/cache v3 composite
  • actions/checkout v1 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • deadsnakes/action v3.0.0 composite
  • egor-tensin/setup-clang v1 composite
  • ilammy/msvc-dev-cmd v1.12.0 composite
  • jwlawson/actions-setup-cmake v1.13 composite
  • msys2/setup-msys2 v2 composite
  • seanmiddleditch/gha-setup-ninja v3 composite
.github/workflows/configure.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • jwlawson/actions-setup-cmake v1.13 composite
.github/workflows/format.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pre-commit/action v3.0.0 composite
.github/workflows/labeler.yml actions
  • actions/labeler main composite
.github/workflows/pip.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish v1.6.4 composite
.github/workflows/upstream.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • jwlawson/actions-setup-cmake v1.13 composite
docs/requirements.txt pypi
  • breathe ==4.34.0
  • furo ==2022.6.21
  • sphinx ==5.0.2
  • sphinx-copybutton ==0.5.0
  • sphinxcontrib-moderncmakedomain ==3.21.4
  • sphinxcontrib-svg2pdfconverter ==1.2.0
tests/requirements.txt pypi
  • build ==0.8.0 test
  • numpy ==1.21.5 test
  • numpy ==1.19.3 test
  • numpy ==1.22.2 test
  • pytest ==7.0.0 test
  • pytest-timeout * test
  • scipy ==1.5.4 test
  • scipy ==1.8.0 test