Personal tools
Skip to content. | Skip to navigation
pluggy - A minimalist production ready plugin system |pypi| |conda-forge| |versions| |travis| |appveyor| |gitter| |black| |codecov|This is the core framework used by the pytest_, tox_, and devpi_ projects.Please read the docs_ to learn more!A definitive example .. code-block:: python import pluggy hookspec pluggy.HookspecMarker("myproject") hookimpl pluggy.HookimplMarker("myproject") class...
Plumbing is an alternative to mixin-based extension of classes. In motivation an incomplete list of limitations and/or design choices of python's subclassing are given along with plumber's solutions for them. The plumbing system is
.. image::
PLY is a straightforward lex/yacc implementation. Here is a list of its essential features: * It is implemented entirely in Python. * It uses LR-parsing which is reasonably efficient and well suited for larger grammars. * PLY provides most of the standard lex/yacc features including support for empty productions, precedence rules, error recovery, and support for ambiguous grammars. * PLY is straightforward to use and provides very extensive error checking. * PLY doesn't try to do anything more or less than provide the basic lex/yacc functionality. In other words, it's not a large parsing framework or a component of some larger system. Python 3 version.
Plyvel is a fast and feature-rich Python interface to the LevelDB embedded database library. It has a rich feature set, high performance, and a friendly Pythonic API.
Pockets full of useful Python tools! *Let me check my pockets...* -The Pockets library pulls together many of the Python helper functions I've found useful over the years.If you've worked on a project that exports an API and accesses a data store, you've probably seen some code that looks like this:: Receive a data type with underscores from some API data_type 'user_preference' Convert...
polib allows you to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through it's entries, add, modify entries, comments or metadata, etc... or create new po files from scratch. polib provides a simple and pythonic API, exporting only three convenience functions 'pofile', 'mofile' and 'detect_encoding', and the 4 core classes: POFile, MOFile, POEntry and MOEntry for creating new files/entries.
The python3-policycoreutils package contains the interfaces that can be used by python 3 in an SELinux environment.