Skip to main content

Binary object packer for python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mrpacker-1.5.tar.gz (7.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page