PoLib is a python library to parse and manage gettext catalogs.
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.
positional provides a decorator which enforces only some args may be passed
positionally. The idea and some of the code was taken from the oauth2 client
of the google-api client.
The decorator makes it easy to support Python 3 style key-word only
parameters.
posix_ipc is a Python module (written in C) that permits creation and
manipulation of POSIX inter-process semaphores, shared memory and message queues
on platforms supporting the POSIX Realtime Extensions a.k.a. POSIX 1003.1b-1993.
pp is a python module which provides mechanism for parallel execution of
python code on SMP (systems with multiple processors or cores) and clusters
(computers connected via network)
It is light, easy to install and integrate with other python software.
pp is an open source and cross-platform module written in pure python
This module implements efficient priority-queues using Fibonacci heaps.
While for many purpose this is not as efficient as the more-common
binomial heaps, it is very efficient in some aspects that make it very
useful for traversal of very large graph structures.
Pretend is a library to make stubbing with Python easier.
What is stubbing?
Stubbing is a technique for writing tests. You may hear the term mixed
up with mocks, fakes, or doubles. Basically a stub is an object that
returns pre-canned responses, rather than doing any computation.
PrettyTable is a simple Python library designed to make it quick and
easy to represent tabular data in visually appealing ASCII tables.
It was inspired by the ASCII tables used in the PostgreSQL shell psql.
PrettyTable allows for selection of which columns are to be printed,
independent alignment of columns (left or right justified or centred)
and printing of "sub-tables" by specifying a row range.
py-rioritized_methods is an extension to PEAK-Rules to prioritize
methods in order to avoid AmbiguousMethods situations.This module
provides four decorators:
prioritized_when
prioritized_around
prioritized_before
prioritized_after
These behave like their peak.rules counterparts except that they accept
an optional prio argument which can be used to provide a comparable
object (usually an integer) that will be used to disambiguate situations
in which more than rule applies to the given arguments and no rule is
more specific than another. That is, situations in which an
peak.rules.AmbiguousMethods would have been raised.
This is useful for libraries which want to be extensible via generic
functions but want their users to easily override a method without
figuring out how to write a more specific rule or when it is not
feasible.
prompt_toolkit is a library for building powerful interactive command lines in
Python. It ships with a nice interactive Python shell (called ptpython) built
on top of the library.
prompt_toolkit could be a replacement for readline, but it can be much more
than that.
Protocol Buffers are a way of encoding structured data in an efficient yet
extensible format. Google uses Protocol Buffers for almost all of its internal
RPC protocols and file formats.