Visit Mozilla.org

PyXPCOM

z Mozilla Developer Center, polskiego centrum programistów Mozilli.


PyXPCOM allows for communication between Python and XPCOM, such that a Python application can access XPCOM objects, and XPCOM can access any Python class that implements an XPCOM interface. With PyXPCOM, a developer can talk to XPCOM or embed Gecko from a Python application. PyXPCOM is similar to JavaXPCOM (Java-XPCOM bridge) or XPConnect (JavaScript-XPCOM bridge).

Python classes and interfaces: Mozilla defines many external interfaces available to embeddors and component developers. PyXPCOM provides access to these interfaces as Python interfaces. PyXPCOM also contains several classes that provide access to functions for initializing and shutting down XPCOM and Gecko from Python, as well as some XPCOM helper functions.

Documentation

Building PyXPCOM
The instructions for building PyXPCOM.
Creating a Python XPCOM component
An example of how to create a simple XPCOM component with Python.
Getting to know PyXPCOM
PyXPCOM is a bridging technology between XPCOM and Python. This article gives you a head start to PyXPCOM.

View All...

History

PyXPCOM was initially developed by ActiveState Tool Corporation, and came out of their Komodo project. Current releases are now integrated with the Mozilla build system.

Community

Source Code

directory.
  • Note that PyXPCOM is not built by default. To build PyXPCOM, see Building PyXPCOM.

Related Topics

XPCOM