Deterministically encode JSON.
Encodes objects and arrays as RFC 7159 JSON.
Sorts object keys so that you get the same result each time.
Has no insignificant whitespace to make the output as small as possible.
Escapes only the characters that must be escaped, U+0000 to U+0019 / U+0022 / U+0056, to keep the output as small as possible.
Uses the shortest escape sequence for each escaped character.
Encodes the JSON as UTF-8.
Can encode frozendict immutable dictionaries.
This package implements a multi-dimensional spatial image data structure for scientific Python.
To facilitate:
Multi-scale processing and analysis
Registration
Resampling
Subregion parallel processing
Coupling with meshes, point sets, and annotations
with scientific images, which are typically multi-dimensional with anisotropic sampling, this package provides a spatial-image data structure. In addition to an N-dimensional array of pixel values, spatial metadata defines the location of the pixel sampling grid in space time. It also labels the array dimensions. This metadata is easily utilized and carried through image processing pipelines.
The spectral-cube package provides an easy way to read, manipulate, analyze, and write data cubes with two positional dimensions and one spectral dimension, optionally with Stokes parameters.
It provides the following main features:
A uniform interface to spectral cubes, robust to the wide range of conventions of axis order, spatial projections, and spectral units that exist in the wild.
Easy extraction of cube sub-regions using physical coordinates.
Ability to easily create, combine, and apply masks to datasets.
Basic summary statistic methods like moments and array aggregates.
Designed to work with datasets too large to load into memory.
This package provides the following PyHamcrest test matchers, that enable matching a protocol buffer message:
equals_protoTest the argument equals the given protobuf message.
approximatelyTest the argument equals the given protobuf message, while comparing any float field using approximation.
ignoring_field_pathsTest the argument equals the given protobuf message, while ignoring those fields specified in the field paths.
ignoring_repeated_field_orderingTest the argument equals the given protobuf message, ignoring the ordering of any repeated field.
partiallyTest the argument partially equals the given protobuf message, i.e. if a field is in the argument but not in the expected message, it's ignored in the comparison.
This package provides a URI Normalization function with following features:
take care of IDN domains
always provide the URI scheme in lowercase characters
always provide the host, if any, in lowercase characters
only perform percent-encoding where it is essential
always use uppercase A-through-F characters when percent-encoding
prevent dot-segments appearing in non-relative URI paths
for schemes that define a default authority, use an empty authority if the default is desired
for schemes that define an empty path to be equivalent to a path of
/, use/for schemes that define a port, use an empty port if the default is desired
all portions of the URI must be utf-8 encoded NFC from Unicode strings
PyCryptodome is a self-contained Python package of low-level cryptographic primitives. It's not a wrapper to a separate C library like OpenSSL. To the largest possible extent, algorithms are implemented in pure Python. Only the pieces that are extremely critical to performance (e.g., block ciphers) are implemented as C extensions.
You are expected to have a solid understanding of cryptography and security engineering to successfully use these primitives. You must also be able to recognize that some are obsolete (e.g., TDES) or even insecure (RC4).
It provides many enhancements over the last release of PyCrypto (2.6.1):
Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
Accelerated AES on Intel platforms via AES-NI
First-class support for PyPy
Elliptic curves cryptography (NIST P-256 curve only)
Better and more compact API (nonce and iv attributes for ciphers, automatic generation of random nonces and IVs, simplified CTR cipher mode, and more)
SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
Salsa20 and ChaCha20 stream ciphers
scrypt and HKDF
Deterministic (EC)DSA
Password-protected PKCS#8 key containers
Shamir’s Secret Sharing scheme
Random numbers get sourced directly from the OS (and not from a CSPRNG in userspace)
Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
Major clean-ups and simplification of the code base
PyCryptodomex is the stand-alone version of PyCryptodome that no longer provides drop-in compatibility with PyCrypto.
This package provides a parser based on lib2to3 producing docspec data from Python source code.
Parse wheel filenames.
Zope Component Architecture
Enable installed pytest plugins
Typing stubs for aiofiles
Typing stubs for requests
Typing stubs for colorama
FFMPEG wrapper for Python
Typing stubs for requests
Typing stubs for docutils.
Richer lifecycle events API.
Software Heritage Bazaar/Breezy intent.
Software Heritage Directory Loader
Software Heritage Web client
Software Heritage Tarball Loader
Socket.IO integration for Flask applications
Easily write objects that delegate behavior
Documentation at https://melpa.org/#/python-coverage