Python Wiki
  • Python Wiki
  • PSF Wiki
  • Jython Wiki
    • Edit with CMS Use the web-based editor to create or edit wiki pages
    • Edit on GitHub Fork the repository and submit changes via pull request
/
  • Python Wiki
    • Archive
    • Books & Publications
    • Community & User Groups
    • Conferences
    • Database Programming
    • Documentation
    • Editors & IDEs
    • Education
    • Getting Started
    • GUI Programming
    • Guides and How-Tos
    • Internationalization
    • Python Implementations
      • Boost.Python
        • boost.python / Building Extensions
        • boost.python / Call Policy
        • boost.python / Cross Extension Module Dependencies
        • boost.python / Embedding Python
        • boost.python / Exporting Classes
        • boost.python/FAQ
        • boost.python / Function Overloading
        • boost.python / Getting Started
        • boost.python/Inheritance
        • boost.python / Internal Data Structures
        • boost.python / Overridable Virtual Functions
        • boost.python / Peek Under the Hood
        • boost.python / Pointers and Smart Pointers
        • boost.python / Related Projects
        • boost.python / Runtime Errors
        • boost.python / Simple Example
        • boost.python / Stl Containers
        • boost.python / Wrapping Enums
        • boost.python/class
        • boost.python/extract
        • boost.python/handle
        • boost.python/iterator
        • boost.python/list
        • boost.python/module
        • boost.python/object
      • Bit Pim
      • Boo Language
      • CPython
      • CPython Interpreter Initialization
      • CPython Vm Internals
      • Dabo
      • Embedding and Extending
      • Embedding Python Tutorial
      • Extension Tutorial
      • IronPython
      • PyPy
      • PyPy Donations
      • PyPy Sprint
      • Pyrex
      • Pyrex on Windows
      • Python Implementations
      • boost.python
      • ctypes
    • Infrastructure
    • Language Reference
    • Libraries & Tools
    • Multimedia & Games
    • Networking
    • Packaging
    • Performance
    • Platform-Specific
    • Python Software Foundation
    • Python 3 Migration
    • Scientific Computing
    • Security
    • Summer of Code
    • Sprints
    • Testing
    • Web Development
  • PSF Wiki
  • Jython Wiki
  • Contributing
  • People

On this page

  • Weave
psf/wiki 0 0
Edit this page
  1. Python Wiki /
  2. Python Wiki /
  3. Python Implementations /
  4. Boost.Python /
  5. boost.python / Related Projects
View as Markdown Open in ChatGPT Open in Claude

boost.python / Related Projects¶

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

Weave¶

From DavidAbrahams:

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

  • smart_ptr

IIUC, weave can be used for embedding nontrivial C++ code, if you’re willing to stick it all inside one function body. Furthermore, tools like weave.blitz() can make an enormous difference by compiling an entire C++ expression template corresponding to an arbitrarily complicated Python expression. Surely that’s nontrivial. It’s definitely cool. I think weave offers enormous power to the person who’s programming mostly in Python.

Previous
boost.python / Pointers and Smart Pointers
Next
boost.python / Runtime Errors

2026, Python Software Foundation

Made with Sphinx and Shibuya theme.