Personal tools
Skip to content. | Skip to navigation
This package contains extensions to the multiprocessing Pool.
This package contains extensions to the multiprocessing Pool. billiard is a fork of the Python 2.7 multiprocessing package. The multiprocessing package itself is a renamed and updated version of R Oudkerk's pyprocessing package. This standalone variant is intended to be compatible with Python 2.4 and 2.5, and will draw it's fixes/improvements from python-trunk. * This package would not be possible if not for the contributions of not only the current maintainers but all of the contributors to the original pyprocessing package listed here * Also it is a fork of the multiprocessin backport package by Christian Heims. * It includes the no-execv patch contributed by R. Oudkerk. * And the Pool improvements previously located in Celery.
bitmath simplifies many facets of interacting with file sizes in various units. Examples include: converting between SI and NIST prefix units (GiB to kB), converting between units of the same type (SI to SI, or NIST to NIST), basic arithmetic operations (subtracting 42KiB from 50GiB), and rich comparison operations (1024 Bytes == 1KiB), bitwise operations, sorting, automatic best human-readable prefix selection, and completely customizable formatting. In addition to the conversion and math operations, bitmath provides human readable representations of values which are suitable for use in interactive shells as well as larger scripts and applications. bitmath can parse strings into proper objects and has support for integration with argparse as a custom argument type. bitmath is thoroughly unittested, with over 170 individual tests (a number which is always increasing). bitmaths test-coverage is almost always at 100%.
Bleach is an HTML sanitizing library that escapes or strips markup and attributes based on a white list. Bleach can also linkify text safely, applying filters that Django’s urlize filter cannot, and optionally setting rel attributes, even on links already in the text. Bleach is intended for sanitizing text from untrusted sources. If you find yourself jumping through hoops to allow your site administrators to do lots of things, you’re probably outside the use cases. Either trust those users, or don’t. Because it relies on html5lib, Bleach is as good as modern browsers at dealing with weird, quirky HTML fragments. And any of Bleach’s methods will fix unbalanced or mis-nested tags.
Blessed is a more simplified wrapper around curses, providing : Styles, color, and maybe a little positioning without necessarily clearing the whole screen first. Leave more than one screenful of scrollback in the buffer after your program exits, like a well-behaved command-line application should. No more C-like calls to tigetstr and tparm. Act intelligently when somebody redirects your output to a file, omitting all of the terminal sequences such as styling, colors, or positioning. Dead-simple keyboard handling, modeled after the Basic language’s INKEY$ Blessed provides just one top-level object: Terminal. Instantiating a Terminal figures out whether you’re on a terminal at all and, if so, does any necessary setup. After that, you can proceed to ask it all sorts of things about the terminal, such as its size and color support, and use its styling to construct strings containing color and styling. Also, the special sequences inserted with application keys (arrow and function keys) are understood and decoded, as well as your locale-specific encoded multibyte input.
Blinker provides a fast dispatching system that allows any number of interested parties to subscribe to events, or "signals".