
Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for:
See the Boost.Python documentation for details.
Hint : Check out the development version of the documentation to see work in progress.
While Boost.Python is part of the Boost C++ Libraries super-project, and thus can be compiled as part of Boost, it can also be compiled and installed stand-alone, i.e. against a pre-installed Boost package.
Run
faber
to build the library.
Run
faber test.report
to run the tests.
Run
faber doc.html
to build the documentation.
<p><img src="https://raw.githubusercontent.com/boostorg/python/develop/doc/images/bpl.png" alt="logo" /></p> <h1>Synopsis</h1> <p><a href="https://gitter.im/boostorg/python?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/boostorg/python.svg" alt="Join the chat at https://gitter.im/boostorg/python" /></a></p> <p>Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for:</p> <ul> <li>References and Pointers</li> <li>Globally Registered Type Coercions</li> <li>Automatic Cross-Module Type Conversions</li> <li>Efficient Function Overloading</li> <li>C++ to Python Exception Translation</li> <li>Default Arguments</li> <li>Keyword Arguments</li> <li>Manipulating Python objects in C++</li> <li>Exporting C++ Iterators as Python Iterators</li> <li>Documentation Strings</li> </ul> <p>See the <a href="http://boostorg.github.io/python">Boost.Python</a> documentation for details.</p> <p><strong>Hint :</strong> Check out the <a href="http://boostorg.github.io/python/develop">development version</a> of the documentation to see work in progress.</p> <h1>Building <img src="https://github.com/boostorg/python/workflows/Test%20Ubuntu/badge.svg" alt="Test Ubuntu" /> <img src="https://github.com/boostorg/python/workflows/Test%20OSX/badge.svg" alt="Test OSX" /> <img src="https://github.com/boostorg/python/workflows/Test%20Windows/badge.svg" alt="Test Windows" /></h1> <p>While Boost.Python is part of the Boost C++ Libraries super-project, and thus can be compiled as part of Boost, it can also be compiled and installed stand-alone, i.e. against a pre-installed Boost package.</p> <h2>Prerequisites</h2> <ul> <li><a href="http://www.python.org">Python</a></li> <li><a href="http://www.boost.org">Boost</a></li> <li><a href="https://stefanseefeld.github.io/faber">Faber</a></li> </ul> <h2>Build</h2> <p>Run</p> <pre class="highlightjs highlight"><code class="language- hljs">faber </code></pre> <p>to build the library.</p> <h2>Test</h2> <p>Run</p> <pre class="highlightjs highlight"><code class="language- hljs">faber test.report </code></pre> <p>to run the tests.</p> <h2>Build docs</h2> <p>Run</p> <pre class="highlightjs highlight"><code class="language- hljs">faber doc.html </code></pre> <p>to build the documentation.</p>
<p><img src="https://raw.githubusercontent.com/boostorg/python/develop/doc/images/bpl.png" alt="logo" /></p> <h1>Synopsis</h1> <p><a href="https://gitter.im/boostorg/python?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/boostorg/python.svg" alt="Join the chat at https://gitter.im/boostorg/python" /></a></p> <p>Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for:</p> <ul> <li>References and Pointers</li> <li>Globally Registered Type Coercions</li> <li>Automatic Cross-Module Type Conversions</li> <li>Efficient Function Overloading</li> <li>C++ to Python Exception Translation</li> <li>Default Arguments</li> <li>Keyword Arguments</li> <li>Manipulating Python objects in C++</li> <li>Exporting C++ Iterators as Python Iterators</li> <li>Documentation Strings</li> </ul> <p>See the <a href="http://boostorg.github.io/python">Boost.Python</a> documentation for details.</p> <p><strong>Hint :</strong> Check out the <a href="http://boostorg.github.io/python/develop">development version</a> of the documentation to see work in progress.</p> <h1>Building <img src="https://github.com/boostorg/python/workflows/Test%20Ubuntu/badge.svg" alt="Test Ubuntu" /> <img src="https://github.com/boostorg/python/workflows/Test%20OSX/badge.svg" alt="Test OSX" /> <img src="https://github.com/boostorg/python/workflows/Test%20Windows/badge.svg" alt="Test Windows" /></h1> <p>While Boost.Python is part of the Boost C++ Libraries super-project, and thus can be compiled as part of Boost, it can also be compiled and installed stand-alone, i.e. against a pre-installed Boost package.</p> <h2>Prerequisites</h2> <ul> <li><a href="http://www.python.org">Python</a></li> <li><a href="http://www.boost.org">Boost</a></li> <li><a href="https://stefanseefeld.github.io/faber">Faber</a></li> </ul> <h2>Build</h2> <p>Run</p> <pre class="highlightjs highlight"><code class="language- hljs">faber </code></pre> <p>to build the library.</p> <h2>Test</h2> <p>Run</p> <pre class="highlightjs highlight"><code class="language- hljs">faber test.report </code></pre> <p>to run the tests.</p> <h2>Build docs</h2> <p>Run</p> <pre class="highlightjs highlight"><code class="language- hljs">faber doc.html </code></pre> <p>to build the documentation.</p>