This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: List pybind11 binding generator
Type: enhancement Stage:
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, pitrou, wenzel
Priority: normal Keywords:

Created on 2015-09-04 23:34 by wenzel, last changed 2022-04-11 14:58 by admin.

Messages (6)
msg249865 - (view) Author: Wenzel Jakob (wenzel) Date: 2015-09-04 23:34
Hi,

over the last few months, I've been developing a library ("pybind11") for creating Python bindings of C++ code. It is similar in spirit to Boost.Python but uses a very different minimalist approach.

It would be fantastic to get this library listed here: https://docs.python.org/3/faq/extending.html

The purpose of this ticket is that somebody with permissions might add it to this page.

pybind11 is here: https://github.com/wjakob/pybind11

Please let me know if you need any additional information.

Thank you,
Wenzel
msg253034 - (view) Author: Wenzel Jakob (wenzel) Date: 2015-10-15 08:23
Hi,

just another ping regarding this ticket. Since the last message, pybind11 now has:

- Documentation on readthedocs: http://pybind11.readthedocs.org/en/latest/
- Continuous integration tests: https://travis-ci.org/wjakob/pybind11
- A first stable release: https://github.com/wjakob/pybind11/releases

It would be fantastic if the Python documentation referenced it as an option for binding C++ code to Python.

Thanks,
Wenzel
msg253049 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2015-10-15 14:38
You could perhaps start by creating a PyPI entry for your package:
https://pypi.python.org/pypi?%3Aaction=search&term=pybind11&submit=search
msg253050 - (view) Author: Wenzel Jakob (wenzel) Date: 2015-10-15 14:55
Dear Antoine,

I wonder if this makes sense, as pybind11 is a collection of C++ header files using the Python C API.

The library is meant to be used by other projects but does not generate any installable code by itself. (i.e. it isn't clear what pip install pybind11 should even do) I haven't seen any PyPI packages of this type, though I'm happy to be told otherwise.

Best,
Wenzel
msg253056 - (view) Author: Wenzel Jakob (wenzel) Date: 2015-10-15 16:30
Never mind -- I made an entry for it.

See https://pypi.python.org/pypi/pybind11/1.0

Thanks,
Wenzel
msg253057 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2015-10-15 16:40
Yes, I think it doesn't hurt to advertise your project there.
As for the official Python docs, I can't answer -- someone who maintains them would have to chime in.

Perhaps you can also submit an addition to the packaging guide:
https://packaging.python.org/en/latest/extensions/
History
Date User Action Args
2022-04-11 14:58:20adminsetgithub: 69194
2020-11-08 18:12:48iritkatrielsetversions: + Python 3.8, Python 3.9, Python 3.10, - Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
2015-10-15 16:40:17pitrousetmessages: + msg253057
2015-10-15 16:30:54wenzelsetmessages: + msg253056
2015-10-15 14:55:24wenzelsetmessages: + msg253050
2015-10-15 14:38:32pitrousetnosy: + pitrou
messages: + msg253049
2015-10-15 08:23:39wenzelsetmessages: + msg253034
2015-09-04 23:34:54wenzelcreate