mrpacker

Binary object packer for python


Keywords
mrpacker
License
MIT
Install
pip install mrpacker==1.7

Documentation

MrPacker

MrPacker is a binary object packer for python that is faster and smaller than JSON.

To install it just run Pip as usual:

    $ pip install mrpacker

Usage

May be used as a replacement for json

  import mrpacker
  o = { "name":"mrpacker", "awesome?":"yes" }
  b = mrpacker.pack( o )
  print( mrpacker.unpack(b) )

Benchmarks

See b.py and benchmark your own real world cases as performance may vary