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.dev8 (2019-03-07)

  • Support using absolute and relative time in tidrange. One example usage is: zodb analyze data.fs 2018-01-01T10:30:00Z..yesterday (commit).

  • Python3 support progressed (commit 1, 2, 3), but zodbtools does not support python3 yet. The test suite was extended to run on python3 (commit) and also was extended to also run on ZODB with raw extensions from ongoing pull request #183 (commit).

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.dev8.tar.gz (55.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: zodbtools-0.0.0.dev8.tar.gz
  • Upload date:
  • Size: 55.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for zodbtools-0.0.0.dev8.tar.gz
Algorithm Hash digest
SHA256 4737304d7caff7443ca9ce814cc4e1f066dea176505417061035ba9c5cb8528c
MD5 1ef48fc3f64a7c97140156fd7adc040a
BLAKE2b-256 829d6f8c1a8869c2820e21b9cf6ca6011650378a52981dd02e6136df076ee663

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