Freeze - hash / sort / compare / diff anything
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian
doc
freeze
pyproject @ 2f303d1
.gitignore
.gitlab-ci.yml
.gitmodules
.requirements.txt
.travis.yml
CHANGELOG
CHANGELOG.rst
HOW_TO_RELEASE.rst
LICENSE
Makefile
README.rst
requirements.txt
setup.py
testdata.json.gz

README.rst

Freeze - dump / hash / sort / compare / diff anything

travis coverage [1]

[1]Coverage enforced by tests (on travis)

Read the Docs

Freeze the state of data-structures and objects for data-analysis or testing (diffing data-structures). Frozen data-structures consist of only tuples and these are comparable/sortable/hashable. The freeze() function can be used for many purposes for example implement __hash__() for your complex object very fast. dump() is intended for testing and analysis.

Authors: Jean-Louis Fuchs <ganwell@fangorn.ch> https://github.com/ganwell

Install Debian/Ubuntu

Sources:

deb http://aptly.adfinis-sygroup.ch/adsy-public/debian wheezy main

deb http://aptly.adfinis-sygroup.ch/adsy-public/debian jessie main

deb http://aptly.adfinis-sygroup.ch/adsy-public/ubuntu trusty main

deb http://aptly.adfinis-sygroup.ch/adsy-public/ubuntu vivid main

deb http://aptly.adfinis-sygroup.ch/adsy-public/ubuntu xenial main

Install:

wget -O - http://aptly.adfinis-sygroup.ch/aptly.asc | apt-key add -
apt-get update
apt-get install python-freeze