Skip to main content

Another MessagePack library

Project description

Python Message Pack module

C library for python 3.10+.

Installation

pip install amsgpack

Example

>>> from amsgpack import packb
>>> packb({"compact": True, "schema": 0})
bytearray(b'\x82\xa7compact\xc3\xa6schema\x00')
>>> from amsgpack import Unpacker
>>> unpacker = Unpacker()
>>> unpacker.feed(b'\x82\xa7compact\xc3\xa6schema\x00')
>>> next(unpacker)
{'compact': True, 'schema': 0}

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

amsgpack-0.0.3.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file amsgpack-0.0.3.tar.gz.

File metadata

  • Download URL: amsgpack-0.0.3.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for amsgpack-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f4f3b1b7c4e6e0c1cbfce5248dea61e86bdf746aed5f108be0747c384ad33ba9
MD5 1b265e4a98860db3ac7cb4c5832eadf9
BLAKE2b-256 21fea1c1993dcc98965ac3ce840bb658b87ae977e55d9f11fc7823ea3ef076d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page