-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
1,038 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ tests/dumps/dump_dealers_vins.rdb | |
tests/dumps/dump_random_lists.rdb | ||
tests/dumps/dump_sorted_sets.rdb | ||
|
||
.idea/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ language: python | |
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
|
||
script: python run_tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
* 0.1.1 | ||
* Fixed lzf decompression | ||
* Standard python project layout | ||
* Python script to automatically create test RDB files | ||
* Adds test cases | ||
* Adds setup.py to easily install this library | ||
* Adds MIT license | ||
* 0.1.9 | ||
* python 3 support | ||
* rdb v8 (redis 4.0) support | ||
* binary to string conversion fixes | ||
* use ujson/cStringIO/python-lzf if they're available | ||
* filter keys by size | ||
* bugfixes parsing sorted sets | ||
* fix setup.py dependancies and remove requirements.txt file | ||
|
||
* 0.1.8 | ||
* fix a crash in the memory profiler recently introduced. | ||
|
||
* 0.1.7 | ||
* rdb v7 (redis 3.2) support | ||
|
||
* 0.1.0 | ||
* Initial version | ||
* Specification for RDB file format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from rdbtools.parser import RdbCallback, RdbParser, DebugCallback | ||
from rdbtools.callbacks import JSONCallback, DiffCallback, ProtocolCallback | ||
from rdbtools.memprofiler import MemoryCallback, PrintAllKeys, StatsAggregator | ||
from rdbtools.callbacks import JSONCallback, DiffCallback, ProtocolCallback, KeyValsOnlyCallback, KeysOnlyCallback | ||
from rdbtools.memprofiler import MemoryCallback, PrintAllKeys, StatsAggregator, PrintJustKeys | ||
|
||
__version__ = '0.1.8' | ||
__version__ = '0.1.9' | ||
VERSION = tuple(map(int, __version__.split('.'))) | ||
|
||
__all__ = [ | ||
'RdbParser', 'RdbCallback', 'JSONCallback', 'DiffCallback', 'MemoryCallback', 'ProtocolCallback', 'PrintAllKeys'] | ||
'RdbParser', 'RdbCallback', 'JSONCallback', 'DiffCallback', 'MemoryCallback', 'ProtocolCallback', 'KeyValsOnlyCallback', 'KeysOnlyCallback', 'PrintJustKeys'] | ||
|
Oops, something went wrong.