Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
7641c1dd
Commit
7641c1dd
authored
Oct 18, 2015
by
Wenzel Jakob
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor doc update
parent
10e62e16
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
README.md
+7
-6
docs/index.rst
+2
-2
docs/intro.rst
+7
-5
No files found.
README.md
View file @
7641c1dd
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
[

](https://travis-ci.org/wjakob/pybind11)
[

](https://travis-ci.org/wjakob/pybind11)
[

](http://pybind11.readthedocs.org/en/latest/?badge=latest)
[

](http://pybind11.readthedocs.org/en/latest/?badge=latest)
**pybind11**
is a lightweight header library that exposes C++ types in Python
**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
and vice versa, mainly to create Python bindings of existing C++ code. Its
goals and syntax are similar to the excellent
goals and syntax are similar to the excellent
[
Boost.Python
](
http://www.boost.org/doc/libs/1_58_0/libs/python/doc/
)
library
[
Boost.Python
](
http://www.boost.org/doc/libs/1_58_0/libs/python/doc/
)
library
...
@@ -21,10 +21,10 @@ C++11-compatible compilers are widely available, this heavy machinery has
...
@@ -21,10 +21,10 @@ C++11-compatible compilers are widely available, this heavy machinery has
become an excessively large and unnecessary dependency.
become an excessively large and unnecessary dependency.
Think of this library as a tiny self-contained version of Boost.Python with
Think of this library as a tiny self-contained version of Boost.Python with
everything stripped away that isn't relevant for binding generation. The
whol
e
everything stripped away that isn't relevant for binding generation. The
cor
e
codebase requires less than 3000 lines of code and only depends on Python (2.7
header files only require ~2K lines of code and depend on Python (2.7 or 3.x)
or 3.x) and the C++ standard library. This compact implementation was possible
and the C++ standard library. This compact implementation was possible thanks
t
hanks t
o some of the new C++11 language features (tuples, lambda functions and
to some of the new C++11 language features (tuples, lambda functions and
variadic templates). Since its creation, this library has grown beyond
variadic templates). Since its creation, this library has grown beyond
Boost.Python in many ways, leading to dramatically simpler binding code in many
Boost.Python in many ways, leading to dramatically simpler binding code in many
common situations.
common situations.
...
@@ -67,4 +67,5 @@ In addition to the core functionality, pybind11 provides some extra goodies:
...
@@ -67,4 +67,5 @@ In addition to the core functionality, pybind11 provides some extra goodies:
-
Python's slice-based access and assignment operations can be supported with
-
Python's slice-based access and assignment operations can be supported with
just a few lines of code.
just a few lines of code.
-
Everything is contained in just a few header files; there no need to link
against any additional libraries.
docs/index.rst
View file @
7641c1dd
Welcome to pybind11's documentation!
pybind11 --- Seamless operability between C++11 and Python
====================================
====================================
======================
Contents:
Contents:
...
...
docs/intro.rst
View file @
7641c1dd
About this project
About this project
==================
==================
**pybind11** is a lightweight header library that exposes C++ types in Python
**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
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
goals and syntax are similar to the excellent `Boost.Python`_ library by David
Abrahams: to minimize boilerplate code in traditional extension modules by
Abrahams: to minimize boilerplate code in traditional extension modules by
...
@@ -17,10 +17,10 @@ C++11-compatible compilers are widely available, this heavy machinery has
...
@@ -17,10 +17,10 @@ C++11-compatible compilers are widely available, this heavy machinery has
become an excessively large and unnecessary dependency.
become an excessively large and unnecessary dependency.
Think of this library as a tiny self-contained version of Boost.Python with
Think of this library as a tiny self-contained version of Boost.Python with
everything stripped away that isn't relevant for binding generation. The
whol
e
everything stripped away that isn't relevant for binding generation. The
cor
e
codebase requires less than 3000 lines of code and only depends on Python (2.7
header files only require ~2K lines of code and depend on Python (2.7 or 3.x)
or 3.x) and the C++ standard library. This compact implementation was possible
and the C++ standard library. This compact implementation was possible thanks
t
hanks t
o some of the new C++11 language features (tuples, lambda functions and
to some of the new C++11 language features (tuples, lambda functions and
variadic templates). Since its creation, this library has grown beyond
variadic templates). Since its creation, this library has grown beyond
Boost.Python in many ways, leading to dramatically simpler binding code in many
Boost.Python in many ways, leading to dramatically simpler binding code in many
common situations.
common situations.
...
@@ -62,3 +62,5 @@ In addition to the core functionality, pybind11 provides some extra goodies:
...
@@ -62,3 +62,5 @@ In addition to the core functionality, pybind11 provides some extra goodies:
- Python's slice-based access and assignment operations can be supported with
- Python's slice-based access and assignment operations can be supported with
just a few lines of code.
just a few lines of code.
- Everything is contained in just a few header files; there no need to link
against any additional libraries.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment