Skip to main content
Help us improve Python packaging – donate today!

an implementation for hessian2

Project Description

pyhessian2 is implemented for serialize and deserialize data in hessian2 protocol.

Usage

>>> # encoding
>>> from pyhessian2 import HessianObject, Encoder
>>> attrs = {
        "name": "xx",
        "age": 20,
    }
>>> obj = HessianObject("com.xx.person", attrs)
>>> data = Encoder().encode(obj)
>>> print "%r" % data
>>> # decoding
>>> from pyhessian2 import Decoder
>>> data = ...  # a hessian bytes data
>>> obj = Decoder().decoder(data)  # get a Hessianobject instance
>>> print obj  # print json serialized data

Release history Release notifications

This version
History Node

2.0.1

History Node

2.0.0

History Node

1.2.1

History Node

1.2.0

History Node

1.1.9

History Node

1.1.8

History Node

1.1.7

History Node

1.1.6

History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyhessian2-2.0.1.tar.gz (6.7 kB) Copy SHA256 hash SHA256 Source None Jan 27, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page