Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install z3c.offlinepack

How to install z3c.offlinepack

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install z3c.offlinepack
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2 Available View build log
Windows (64-bit)
0.2 Available View build log
Mac OS X (10.5+)
0.2 Available View build log
Linux (32-bit)
0.2 Available View build log
Linux (64-bit)
0.2 Available View build log
Lastest release
version 0.2 on Jan 5th, 2011

Pack a ZODB storage without running any part of the Zope application server. Only an appropriate version of ZODB3 for the ZODB storage is required. Apply only to copies of ZODB storages, not ZODB storages currently in use.

Install the distribution:

$ python setup.py install

Then use the offlinepack script to pack a copy of your ZODB:

$ offlinepack /path/to/Data-copy.fs

Use the --help option for more details:

$ offlinepack --help

System Message: ERROR/3 (<string>, line 21)

Inconsistent literal block quoting.

usage: offlinepack [options] PATH...

Pack ZODB storages without running Zope or ZEO

options: -h, --help show this help message and exit -d DAYS, --days=DAYS remove revisions more than DAYS old [default: 0] -s DOTTED, --storage=DOTTED use the storage constructor at DOTTED [default: ZODB.FileStorage.FileStorage]


A buildout.cfg is included that will install the offlinepack script to the buildout. The buildout makes it possible to quickly use the offlinepack script without modifying the system python installation:

$ svn co svn://svn.zope.org/repos/main/z3c.offlinepack/trunk z3c.offlinepack
$ cd z3c.offlinepack
$ python bootsrtap/bootsrtap.py -v
$ bin/buildout -v
$ bin/offlinepack /path/to/Data-copy.fs

The buildout.cfg file can also be modified to use a specific version of ZODB3. This is uesful if you need to use offlinepack without migrating the ZODB to a newer version of ZODB3. Add the version specifier to the offlinepack section of buildout.cfg. For example, to use offlinepack with Zope 2.9, use the following offlinepack section:


System Message: ERROR/3 (<string>, line 52)

Inconsistent literal block quoting.

recipe = zc.recipe.egg:scripts eggs = z3c.offlinepack ZODB3<3.7-dev

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.