Personal tools
Skip to content. | Skip to navigation
Bleach is an HTML sanitizing library that escapes or strips markup and attributes based on a white list. Python 3 version.
Bleach allowlist A curated list of tags, attributes, and styles suitable for filtering user-provided HTML using bleach < it consists of basic set of tags suitable for rendering markdown, and markup intended for printing, as well as a list of all CSS styles. Please send pull requests with improvements or lists of tags and attributes for other purposes (wikis, comments, etc?).Installation pip...
Blessed is a thin, practical wrapper around terminal styling, screen positioning, and keyboard input. It provides: - Styles, color, and maybe a little positioning without necessarily clearing the whole screen first. - Works great with standard Python string formatting. - Provides up-to-the-moment terminal height and width, so you can respond to terminal size changes. - Avoids making a mess if the output gets piped to a non-terminal: outputs to any file-like object such as StringIO, files, or pipes. - Uses the terminfo(5) database so it works with any terminal type and supports any terminal capability: No more C-like calls to tigetstr and tparm. - Keeps a minimum of internal state, so you can feel free to mix and match with calls to curses or whatever other terminal libraries you like. - Provides plenty of context managers to safely express terminal modes, automatically restoring the terminal to a safe state on exit. - 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: safely decoding unicode input in your system’s preferred locale and supports application/arrow keys. - Allows the printable length of strings containing sequences to be determined.
Blinker provides a fast dispatching system that allows any number of interested parties to subscribe to events, or "signals".
The python3-blivet is a python3 package for examining and modifying storage configuration.
This package contains enhancements to the gobject-introspection bindings for libblockdev in Python3.
Bobo is a light-weight framework for creating WSGI web applications.Its goal is to be easy to use and remember.It addresses 2 problems:- Mapping URLs to objects- Calling objects to generate HTTP responsesBobo doesn't have a templating language, a database integration layer, or a number of other features that are better provided by WSGI middle-ware or application-specific libraries.Bobo builds...