lucianopaz / compress_pickle

Standard python pickle, thinly wrapped with standard compression libraries
MIT License
42 stars 12 forks source link

Implement dumps and loads #5

Closed lucianopaz closed 5 years ago

lucianopaz commented 5 years ago

This PR closes #2.

It implements the high level dumps and loads interface, but more importantly, tests that dump and load work as intended when using file-like objects. This wasn't an expected use case in the previous version and lead to many problems along the way.

codecov[bot] commented 5 years ago

Codecov Report

Merging #5 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #5    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files           3      7     +4     
  Lines         203    443   +240     
======================================
+ Hits          203    443   +240
Impacted Files Coverage Δ
compress_pickle/compress_pickle.py 100% <100%> (ø) :arrow_up:
compress_pickle/tests/test_pickling.py 100% <100%> (ø)
compress_pickle/__init__.py 100% <100%> (ø) :arrow_up:
compress_pickle/tests/test_utils.py 100% <100%> (ø)
compress_pickle/tests/fixtures.py 100% <100%> (ø)
compress_pickle/utils.py 100% <100%> (ø)
compress_pickle/tests/conftest.py 100% <100%> (ø)
... and 2 more