Skip to main content

ZODB-related utilities

Project description

This repository provides a set of handy ZODB utilities. We initially tried to put them into ZODB itself, but Jim Fulton adviced not to load ZODB with scripts anymore. So we are here:

  • zodb analyze - analyze ZODB database or repozo deltafs usage.

  • zodb cmp - compare content of two ZODB databases bit-to-bit.

  • zodb commit - commit new transaction into a ZODB database.

  • zodb dump - dump content of a ZODB database.

  • zodb info - print general information about a ZODB database.


Zodbtools change history

0.0.0.dev7 (2019-01-11)

  • Fix zodbtools to work with all ZODB3, ZODB4 and ZODB5 (commit 1, 2, 3, 4).

  • Fix zodb analyze for the case when history range is empty (commit 1, 2, 3).

  • Zodbtools is not yet Python3-ready (commit), but we started to fix it step-by-step (commit 1, 2, 3, 4).

0.0.0.dev6 (2018-12-30)

  • zodb analyze can now work with any ZODB storage and supports analyzing a particular range of history (commit 1, 2).

  • Add help for specifying TID ranges (commit).

  • Always close opened storages (commit).

0.0.0.dev5 (2018-12-13)

  • Start to stabilize zodb dump format. The format is close to be stable now and will likely be changed, if at all, only in minor ways (commit 1, 2, 3, 4).

  • Add DumpReader - class to read/parse input in zodbdump format (commit).

  • Add zodb commit subcommand to commit new transaction into ZODB (commit).

0.0.0.dev4 (2017-04-05)

  • Clarify licensing (commit 1, 2).

  • Add zodb tool to drive all subcommands (commit).

  • Add zodb info subcommand to print general information about a ZODB database (commit).

  • Switch to open ZODB storages by URL, not only via ZConfig files. URL support comes from zodburi (commit 1, 2).

0.0.0.dev3 (2016-11-17)

  • Move Nexedi version of zodbanalyze from ERP5 into zodbtools.

    Compared to original zodbanalyze Nexedi version is faster, prints not only total, but also current sizes, and supports running on bigger databases where keeping all working set to analyze in RAM is not feasible. It also supports analyzing a Repozo deltafs file directly. (commit 1, 2, 3, 4, 5, 6, 7, 8, 9)

0.0.0.dev2 (2016-11-17)

  • Add initial draft of zodbdump - tool to dump content of a ZODB database (commit 1, 2).

0.0.0.dev1 (2016-11-16)

  • Initial release of zodbtools with zodbcmp (commit 1, 2, 3).

    We originally tried to put zodbcmp into ZODB itself, but Jim Fulton asked not to load ZODB with scripts anymore. This way zodbtools was created.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zodbtools-0.0.0.dev7.tar.gz (50.1 kB view details)

Uploaded Source

File details

Details for the file zodbtools-0.0.0.dev7.tar.gz.

File metadata

  • Download URL: zodbtools-0.0.0.dev7.tar.gz
  • Upload date:
  • Size: 50.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for zodbtools-0.0.0.dev7.tar.gz
Algorithm Hash digest
SHA256 514a1d1bd69078eecb7d2a5b0f9c1625fdcfccd95dde5f1f416eb56620570a6c
MD5 5d47d271c5bec1ca5cd9a252827412dc
BLAKE2b-256 4ce439ec4ef1094289ba5e64d570d90cbc2621080f0d2a8d68c1e53724ff6872

See more details on using hashes here.

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