Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2002-09-25 19:37:10
Size: 1517
Editor: MikeRovner
Revision 6 as of 2002-09-25 19:51:03
Size: 1574
Editor: MikeRovner
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 * ["boost.python/FAQ"]
 * ["boost.python/module"]
 * ["boost.python/extract"]
Line 13: Line 16:
 * ["boost.python/FAQ"]

The Boost Python Library allows the use of C/C++ from Python. It is part of the larger boost package (http://www.boost.org).

Use the Boost Python Library to quickly and easily export a C++ library to Python such that the Python interface is very similar to the C++ interface. It is designed to be minimally intrusive on your C++ design. In most cases, you should not have to alter your C++ classes in any way in order to use them with Boost.Python. The system should simply reflect your C++ classes and functions into Python.

A summary of the development goals is available on the Python [http://www.python.org/sigs/c++-sig/ C++-sig] page, which also serves as a mailing list for users of both versions of the library. A preview of the v2 documentation is available [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/boost/boost/libs/python/doc/v2/index.html?rev=HEAD&content-type=text/html here], and instructions for getting started with a prerelease are available upon request.

More on http://www.boost.org/libs/python/doc/index.html

While v2 is being developed, this page seems like a good place to assemble v2 intro and tutorial.

  • ["boost.python/FAQ"]
  • ["boost.python/module"]
  • ["boost.python/extract"]
  • ["boost.python/list"]

From David Abrahams:

Boost.Python is designed with the idea in mind that users never touch a PyObject*.

Boost.Python depends on quite a few of the other boost libraries (possibly a few others):

  • type_traits
  • bind
  • function
  • mpl - currently in prerelease
  • smart_ptr

boost.python (last edited 2008-11-15 14:00:11 by localhost)

Unable to edit the page? See the FrontPage for instructions.