Skip to main content

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

Metadata

Release files for pyhessian2 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhessian2 2.0.1
File Size Uploaded Provenance Actions
pyhessian2-2.0.1.tar.gz 6.7 kB Without provenance Details for pyhessian2-2.0.1.tar.gz

Release files / pyhessian2-2.0.1.tar.gz

Download URL pyhessian2-2.0.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7eaa7fe8e891481efd7db9431003c6a45f6e48492369a7c17e639c52ee42e05c
BLAKE2b-256 checksum
How to use checksums
1547d6ed99e70eeb5544f9d0ed09a797d954b564b5b634db6a62f2782f86d0ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyhessian2 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page