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 restore - restore content of a ZODB database.
zodb info - print general information about a ZODB database.
Zodbtools change history
0.0.0.dev9 (2024-02-16)
Add preliminary support for Python3 (commit 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22). Full py3 support depends on the completion of bstr work in Pygolang.
Add new zodb restore command to restore database from zodb dump output (commit 1, 2, 3, 4, 5, 6, 7).
zodb dump now supports –pretty option with a format to show pickles disassembly (commit).
Drop support for ZODB 3 (commit). Only ZODB 4 and ZODB 5 remain to be supported.
zodb info: Provide “head” as subcommand to query last transaction of the database; Turn “last_tid” into deprecated alias for “head” (commit).
Robustify zodb commit when handling object copies and reporting errors (commit 1, 2).
Add support to run tests under Nexedi testing infrastructure (commit).
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)
0.0.0.dev6 (2018-12-30)
0.0.0.dev5 (2018-12-13)
0.0.0.dev4 (2017-04-05)
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)
0.0.0.dev1 (2016-11-16)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file zodbtools-0.0.0.dev9.tar.gz
.
File metadata
- Download URL: zodbtools-0.0.0.dev9.tar.gz
- Upload date:
- Size: 69.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5be6f4be56cbe0690a450ec2d07a378f8922bcf2d0157feff754df09af51339 |
|
MD5 | 0ac77e660cbbc4db65b97fb4e9ca19d1 |
|
BLAKE2b-256 | 43c5228afe9c7518a062597b0dd31bf0e51a6957be53fb1e63a18096ef90c264 |