Personal tools
Skip to content. | Skip to navigation
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.
The PolicyUniverse package provides classes to parse AWS IAM and Resource Policies.
polyline is a Python implementation of Google’s Encoded Polyline Algorithm Format. It is essentially a port of Mapbox polyline with some additional features. Installation polyline can be installed using pip: $ pip install polyline Starting from v2.0.0 only Python 3.7 and above is supported. For Python 2 support, please install v1.4.0: $ pip install polyline==1.4.0 API Documentation Encoding To get the encoded polyline representation of a given set of (lat, lon) coordinates: import polyline polyline.encode([(38.5, -120.2), (40.7, -120.9), (43.2, -126.4)], 5) This should return _p~iF~ps|U_ulL~ugC_hgN~eq`@. You can set the required precision with the optional precision parameter. The default value is 5. You can encode (lon, lat) tuples by setting geojson=True. Decoding To get a set of coordinates represented by a given encoded polyline string: import polyline polyline.decode('u{~vFvyys@fS]', 5) This should return [(40.63179, -8.65708), (40.62855, -8.65693)] in (lat, lon) order. You
Pooch manages your Python library's sample data files: it automatically downloads and stores them in a local directory, with support for versioning and corruption checks.
Python 3 bindings for the Poppler PDF rendering library. It is needed to run programs written in Python 3 and using Poppler set.
Library to provide an easy API to file locking