Skip to content
Python rison encoder/decoder
Python
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.
rison
tests
.gitignore
MANIFEST.in
README.md
setup.cfg
setup.py

README.md

python-rison

Python version of the rison encoder/decoder originally taken from http://mjtemplate.org/examples/rison.html

Usage

import rison

print rison.dumps({'foo': 'bar'})  # '(foo:bar)'

print rison.loads('(foo:bar)')  # {'foo': 'bar'}

Tests

pip install nose
nosetests tests/*.py
You can’t perform that action at this time.