Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
my-package.ext (implicit)
filename:my-package.ext (explicit)

Search by package tag:
latest (implicit)
tag:latest (explicit)

Search by package version:
1.0.0 (implicit)
version:1.0.0 (explicit)
prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Go, Helm, Hex, LuaRocks, Maven, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial
 Public agriconnect agriconnect (AgriConnect) / python-musl
Python-Musl: Containing wheel packages built with musl (like Alpine OS)

Python logo msgpack  0.6.1

One-liner (summary)

MessagePack (de)serializer.

Description

MessagePack for Python

Build Status Documentation Status

What's this

MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. This package provides CPython bindings for reading and writing MessagePack data.

Very important notes for existing users

PyPI package name

TL;DR: When upgrading from msgpack-0.4 or earlier, don't do pip install -U msgpack-python. Do pip uninstall msgpack-python; pip install msgpack instead.

Package name on PyPI was changed to msgpack from 0.5. I upload transitional package (msgpack-python 0.5 which depending on msgpack) for smooth transition from msgpack-python to msgpack.

Sadly, this doesn't work for upgrade install. After pip install -U msgpack-python, msgpack is removed and import msgpack fail.

Deprecating encoding option

encoding and unicode_errors options are deprecated.

In case of packer, use UTF-8 always. Storing other than UTF-8 is not recommended.

For backward compatibility, you can use use_bin_type=False and pack bytes object into msgpack raw type.

In case of unpacker, there is new raw option. It is True by default for backward compatibility, but it is changed to False in near future. You can use raw=False instead of encoding='utf-8'.

Planned backward incompatible changes

When msgpack 1.0, I planning these breaking changes:

  • packer and unpacker: Remove encoding and unicode_errors option.
  • packer: Change default of use_bin_type option from False to True.
  • unpacker: Change default of raw option from True to False.
  • unpacker: Reduce all max_xxx_len options for typical usage.
  • unpacker: Remove write_bytes option from all methods.

To avoid these breaking changes breaks your application, please:

  • Don't use deprecated options.
  • Pass use_bin_type and raw options explicitly.
  • If your application handle large (>1MB) data, specify max_xxx_len options too.

Install

$ pip install msgpack

PyPy

msgpack provides a pure Python implementation. PyPy can use this.

Windows

When you can't use a binary distribution, you need to install Visual Studio or Windows SDK on Windows. Without extension, using pure Python implementation on CPython runs slowly.

For Python 2.7, Microsoft Visual C++ Compiler for Python 2.7 is recommended solution.

For Python 3.5, Microsoft Visual Studio 2015 Community Edition or Express Edition can be used to build extension module.

How to use

One-shot pack & unpack

Use packb for packing and unpackb for unpacking. msgpack provides dumps and loads as an alias for compatibility with json and pickle.

pack and dump packs to a file-like object. unpack and load unpacks from a file-like object.

>>> import msgpack
>>> msgpack.packb([1, 2, 3], use_bin_type=True)
'\x93\x01\x02\x03'
>>> msgpack.unpackb(_, raw=False)
[1, 2, 3]

unpack unpacks msgpack's array to Python's list, but can also unpack to tuple:

>>> msgpack.unpackb(b'\x93\x01\x02\x03', use_list=False, raw=False)
(1, 2, 3)

You should always specify the use_list keyword argument for backward compatibility. See performance issues relating to `use_list option`_ below.

Read the docstring for other options.

Streami

Size

274.1 KB

Downloads

197

Tags

bdist/wheel whl linux_x86_64 cp37 cp37m latest

Status  Completed
Checksum (MD5) 15b7e128a617cd2d9bf52f1bceda52e8
Checksum (SHA-1) cec222c0999ffc5bd34f9db4eb1c37a286952a4f
Checksum (SHA-256) f111598d9c0ab26a5eb95f972b4c1d2d77377d0d402a68a29ca1a7176a6c21a9
Checksum (SHA-512) a0a68b400f563ea8e52468633ad368e9815a0f436a2200cfcacaba439cd7829ba5…
GPG Signature
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 4 years, 10 months ago
Uploaded By quan
Slug Id msgpack-061-cp37-cp37m-linux_x86_64whl
Unique Id 7g2TjsUzKBrx
Version (Raw) 0.6.1
Version (Parsed)
  • Major: 0
  • Minor: 6
  • Patch: 1
  • Type: SemVer (Strict)
  extended metadata
Abi cp37m
Classifiers Intended Audience :: Developers | License :: OSI Approved :: Apache Software License | Programming Language :: Python :: 2 | Programming Language :: Python :: 2.7 | Programming Language :: Python :: 3 | Programming Language :: Python :: 3.5 | Programming Language :: Python :: 3.6 | Programming Language :: Python :: 3.7 | Programming Language :: Python :: Implementation :: CPython | Programming Language :: Python :: Implementation :: PyPy
Homepage URL https://msgpack.org/
Metadata Version 2.1
Project Urls Documentation, https://msgpack-python.readthedocs.io/ | Source, https://github.com/msgpack/msgpack-python | Tracker, https://github.com/msgpack/msgpack-python/issues
Py Filetype bdist_wheel
Py Version cp37
pkg msgpack-0.6.1-cp37-cp37m-linux_… 197
274.1 KB
md5 sha1 sha256 sha512
Package Contents (msgpack-0.6.1-cp37-cp37m-linux_x86_64.whl)
Loading...

This package has 13 files/directories.

Security Scanning:
You can't see this because your subscription doesn't include this feature, sorry!

With Security Scanning, Cloudsmith will scan your artifacts for vulnerabilities when they're uploaded. These are then presented to you via the UI and the API, so that you can build rules into your CI/CD pipelines to decide how to handle low, medium, high and critical software vulnerabilities.

If you'd like to trial or ask about the Security Scanning feature, just ask us. We'll be happy to help!

Last scanned

19 hours ago

Scan result

Vulnerable

Vulnerability count

4

Max. severity

Low
Target:
LOW

CVE-1725-69291: library: vulnerability title



Package Name: package_name
Installed Version: 1.9.31
Fixed Version: 2.7.17

References: www.smith.com www.patterson.org www.wood.com
LOW

CVE-3511-68999: library: vulnerability title



Package Name: package_name
Installed Version: 1.4.2
Fixed Version: 2.10.56

References: www.day.com schmitt-hamilton.biz www.campos-zamora.org
LOW

CVE-8596-39820: library: vulnerability title



Package Name: package_name
Installed Version: 1.2.47
Fixed Version: 2.6.84

References: www.hardy.info www.nguyen.net dixon.info
LOW

CVE-8564-99980: library: vulnerability title



Package Name: package_name
Installed Version: 1.2.30
Fixed Version: 2.2.67

References: www.payne-knight.com lindsey-juarez.com reed.com

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'msgpack' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true)](https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/)
|This version of 'msgpack' @ Cloudsmith|
.. |This version of 'msgpack' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true
   :target: https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/",title="This version of 'msgpack' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/0.6.1/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true" alt="This version of 'msgpack' @ Cloudsmith" /></a>

rendered as: This version of 'msgpack' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'msgpack' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/)
|Latest version of 'msgpack' @ Cloudsmith|
.. |Latest version of 'msgpack' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true&show_latest=true
   :target: https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/",title="Latest version of 'msgpack' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/msgpack/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=msgpack;xv=cp37/?render=true&show_latest=true" alt="Latest version of 'msgpack' @ Cloudsmith" /></a>

rendered as: Latest version of 'msgpack' @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use msgpack @ version 0.6.1 ...

pip install 'msgpack==0.6.1'

You can also install the latest version of this package:

pip install --upgrade 'msgpack'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/ \
  msgpack==0.6.1

If you've got a project requirements.txt file, you can specify this as a dependency:

--index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/
msgpack==0.6.1

In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:

--extra-index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/
msgpack==0.6.1
Warning: We highly recommend using pip (or similar) rather than installing directly.
Previous Version
Next Version
Top