Sortedm2m is a drop-in replacement for django's own ManyToManyField. The provided SortedManyToManyField behaves like the original one but remembers the order of added relations.
This package provides a sphinx extension designed to facilitate rendering changelogs into your sphinx documentation. Currently this supports towncrier
and inclusion of a ReST
changelog file.
This is a Python package offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance. It is compatible with scikit-learn
.
This package provides a simple pytest plugin that provides some helpful fixtures for testing Tornado (version 5.0 or newer) apps and easy handling of plain (undecoratored) native coroutine tests.
Orbax is a namespace providing common utility libraries for JAX users. Orbax also includes a serialization library for JAX users, enabling the exporting of JAX models to the TensorFlow SavedModel format.
This library implements the JSON-RPC v2.0 specification (backwards-compatible) as a client library for Python. This version is a fork of jsonrpclib by Josh Marshall, usable with Pelix remote services.
This package provides a plugin for the pytest framework that allows developers to detect whether any file handles or other file-like objects were inadvertently left open at the end of a unit test.
This is a py.test plugin to facilitate the generation and comparison of data arrays produced during tests, in particular in cases where the arrays are too large to conveniently hard-code them in the tests.
This package contains a library for ordered multivalue dictionaries. A multivalue dictionary is a dictionary that can store multiple values for the same key. An ordered multivalue dictionary is a multivalue dictionary that retains the order of insertions and deletions.
stsci.imagestats
is a package designed to compute various statistics on image data using sigma-clipping iterations. It is designed to replicate core behaviour of the IRAF's imstatistics task.
This package provides an implementation of Public Suffix List as Python library.
Features:
supports IDN (unicode and punycoded)
shipped with built-in PSL and an updater script
written in Pure Python with no library dependencies
service_identity
aspires to give you all the tools you need for verifying whether a certificate is valid for the intended purposes. In the simplest case, this means host name verification. However, service_identity implements RFC 6125 fully and plans to add other relevant RFCs too.
This package provides a single extension class MemoryAllocator
with cdef
methods
malloc
calloc
allocarray
realloc
reallocarray
aligned_malloc
aligned_malloc
aligned_calloc
aligned_allocarray
Websocket handler for the gevent pywsgi server, a Python network library.
Features include:
integration on both socket level or using an abstract interface
RPC and PubSub framework using WebSocket Application Messaging Protocol
easily extendible using a simple WebSocket protocol plugin API
The semantic_version
class is a small library for handling semantic versioning (SemVer) in Python.
It can compare versions, generate a new version that represents a bump in one of the version levels, and check whether any given string is a proper semantic version identifier.
This package provides retired utilities from IPython. No packages outside IPython/Jupyter should depend on it.
This package shouldn't exist. It contains some common utilities shared by Jupyter and IPython projects during The Big Split. As soon as possible, those packages will remove their dependency on this, and this package will go away.
python-dbusmock allows for the easy creation of mock objects on D-Bus. This is useful for writing tests for software which talks to D-Bus services such as upower, systemd, logind, gnome-session or others, and it is hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests.
SQLAlchemy-utils provides various utility functions and custom data types for SQLAlchemy. SQLAlchemy is an SQL database abstraction library for Python.
You might also want to install the following optional dependencies:
python-passlib
python-babel
python-cryptography
python-pytz
python-psycopg2
python-furl
python-flask-babel
The MediaWiki Parser From Hell is a python library package that provides a parser for MediaWiki.
It exposes parses as normal string objects with additional methods giving access to the special Wikicode features it contains (hyperlinks, tags, templates…). The parser doesn't interpolate strings at all, it remains at a purely formal level.
Full documentation may be found at ReadTheDocs
Fakeredis is a pure-Python implementation of the redis-py Python client that simulates talking to a redis server. It was created for a single purpose: to write unit tests.
Setting up redis is not hard, but one often wants to write unit tests that don't talk to an external server such as redis. This module can be used as a reasonable substitute.
The OpenStack Service Types Authority contains information about officiag OpenStack services and their historical service-type aliases. The data is in JSON and the latest data should always be used. This simple library exists to allow for easy consumption of the data, along with a built-in version of the data to use in case network access is for some reason not possible and local caching of the fetched data.
This package provides a Python port of the ActiveResource project.
Active Resource attempts to provide a coherent wrapper object-relational mapping for REST web services. It follows the same philosophy as Active Record, in that one of its prime aims is to reduce the amount of code needed to map to these resources. This is made possible by relying on a number of code- and protocol-based conventions that make it easy for Active Resource to infer complex relations and structures.
Defcon is a set of UFO based objects optimized for use in font editing applications. The objects are built to be lightweight, fast and flexible. The objects are very bare-bones and they are not meant to be end-all, be-all objects. Rather, they are meant to provide base functionality so that you can focus on your application’s behavior, not object observing or maintaining cached data. Defcon implements UFO3 as described by the UFO font format.