Repr
The str() function in the standard library behaves in a slightly weird way when applied against lists: on each element of the list, the repr() is appended. In contrast, this module provides a deep_str() that deeply applies str() across lists. This module also provides utilities to develop custom...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Deeply applying str() across a data structure Download |
Printing sequences or maps containing non-ASCII strings results in escape sequences. This function uses the not-so-commonly-known "string_escape" codec to facilitate printing such sequences for quick-viewing.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): repr() of containers with non-ASCII strings Download |
pg/python is an open source project working toward the improvement of Python interfaces to PostgreSQL. Quick start: Fetch and Install pg_proboscis easy_install pg_proboscis Connect to a database with the frontend import postgresql.interface.proboscis.prime as pq Con = pq.Connector( user =...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (41): pg/python Download |
Quasi project is a Python shell which supports pluggable "contexts" for non-Python commands, such as OS commands, MySQLdb queries and external programs. The smart-eyed reader will have noticed the use of the built-in quoted() method in the examples above. There are a number of these that are...
Platforms: *nix
License: Freeware | Size: 47.1 KB | Download (92): Quasi Download |
extprot is a compact, extensible and efficient binary serialization format. This is a python implementation of the 'extprot' serialization scheme, the details of which are descripted in detail at: http://eigenclass.org/R2/writings/extprot-extensible-protocols-intro Similar to Google's...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (40): extprot Download |
This module implements an import hook for verifying Python modules before they are loaded, by means of cryptographically-signed hashes. It is compatible with PEP 302 and designed to complement the code-signing functionality of your host OS (e.g. Microsoft Authenticode, Apple OSX Code Signing)...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (44): signedimp Download |
Bunch is a dictionary which supports attribute-style access, a la javascript. >>> b = Bunch() >>> b.hello = 'world' >>> b.hello 'world' >>> b['hello'] += "!" >>> b.hello 'world!' >>> b.foo = Bunch(lol=True) >>> b.foo.lol True >>> b.foo is b['foo'] True Dictionary Methods A Bunch is a subclass...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (39): Bunch for Linux Download |
If you are a user of any kind of Python console that sports tab completion, you may have come to appreciate automatic attribute listing. This is, perhaps, the most immediately rewarding part of using ObDict. To begin magical experience, follow by example. Core Features This type wraps a given...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (44): ObDict Download |
Quasi project is a Python shell which supports pluggable "contexts" for non-Python commands, such as OS commands, MySQLdb queries and external programs. The smart-eyed reader will have noticed the use of the built-in quoted() method in the examples above. There are a number of these that are...
Platforms: *nix
License: Freeware | Size: 481.28 KB | Download (35): Quasi Download |
text-hr is Morphological/Inflection Engine for Croatian language written in Python programming language. Includes stopwords and Part-Of-Speech tagging engine (POS tagging) based on inverse inflection algorithm for detection. Since API is not still freezed, this project is still in alpha. TAGS...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (39): text-hr Download |