Skip to main content

Manipulate Open Packaging Convention (OPC) files, e.g. .docx, .pptx, and .xlsx files for Microsoft Office

Project description

VERSION: 0.0.1d (first development release)

STATUS (as of July 4 2013)

First development release. Under active development.


A robust, general-purpose library for manipulating Open Packaging Convention (OPC) packages, suitable as a foundation for a family of Open XML document libraries. Also to be suitable for general purpose manipulation of OPC packages, for example to access the XML and binary contents for indexing purposes and perhaps for manipulating package parts, for example to remove slide notes pages or to assemble presentations from individual slides in a library.


Documentation is hosted on Read The Docs ( at

Reaching out

We’d love to hear from you if you like python-opc, want a new feature, find a bug, need help using it, or just have a word of encouragement.

The mailing list for python-opc is

The issue tracker is on github at python-openxml/python-opc.

Feature requests are best broached initially on the mailing list, they can be added to the issue tracker once we’ve clarified the best approach, particularly the appropriate API signature.


python-opc may be installed with pip if you have it available:

pip install python-opc

It can also be installed using easy_install:

easy_install python-opc

If neither pip nor easy_install is available, it can be installed manually by downloading the distribution from PyPI, unpacking the tarball, and running

tar xvzf python-opc-0.0.1d1.tar.gz
cd python-opc-0.0.1d1
python install

python-opc depends on the lxml package. Both pip and easy_install will take care of satisfying that dependency for you, but if you use this last method you will need to install lxml yourself.

Release History

July 4, 2013 - v0.0.1d1
  • Establish initial enviornment and development branches


Licensed under the MIT license. Short version: this code is copyrighted by me (Steve Canny), I give you permission to do what you want with it except remove my name from the credits. See the LICENSE file for specific terms.

Project details

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page