Skip to main content

WRAP manifest

Project description

Polywrap Manifest contains the types and functions to de/serialize Wrap manifests defined at https://github.com/polywrap/wrap.

Quickstart

Deserialize WRAP manifest

>>> from polywrap_manifest import deserialize_wrap_manifest, WrapManifest_0_1
>>> from polywrap_msgpack import msgpack_encode
>>> raw_manifest = msgpack_encode({
...     "version": "0.1.0",
...     "type": "interface",
...     "name": "test-interface",
...     "abi": {},
... })
>>> manifest = deserialize_wrap_manifest(raw_manifest)
>>> assert isinstance(manifest, WrapManifest_0_1)

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

polywrap_manifest-0.1.0b5.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

polywrap_manifest-0.1.0b5-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file polywrap_manifest-0.1.0b5.tar.gz.

File metadata

  • Download URL: polywrap_manifest-0.1.0b5.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1042-azure

File hashes

Hashes for polywrap_manifest-0.1.0b5.tar.gz
Algorithm Hash digest
SHA256 a4ba9171755066f5e5155ae08ebdb22223ed7b86cf6e68280ab645cef4cfcdd6
MD5 0b5d293390d292763d0205bb970bd55e
BLAKE2b-256 a7b8fc3f041ef79406bf00b6c695554396fdbb8520bc8e495c50982262840a27

See more details on using hashes here.

Provenance

File details

Details for the file polywrap_manifest-0.1.0b5-py3-none-any.whl.

File metadata

File hashes

Hashes for polywrap_manifest-0.1.0b5-py3-none-any.whl
Algorithm Hash digest
SHA256 a95a90847c54c0ea09bcb17f97b6f561da7705622dfc8a51c32fcdf947789c12
MD5 e2c9deec3ad1acc303387a708a9d2b0d
BLAKE2b-256 8fa7893ac81e66985749bba554b2fb949c7b07871b48dae6d712754c301eba41

See more details on using hashes here.

Provenance

Supported by

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