skip to navigation
skip to content

wrappers 0.1.8

convenient wrappers around existing modules

Latest Version: 0.1.9

wrappers provide convenient wrappers around pyquery, logging, ssl, etc.


Storage class that extends dict to provide attribute access to keys:

from import Storage
d = Storage(a=1, b=2)
print d.a, d['b']


Patches ssl.wrap_socket() to use TLSv1 instead of SSLv23 to resolve connection issues. Details:

from wrappers import ssl

All modules that use the built-in ssl module (e.g. requests) will work with the new settings.


pq.PQ() - wrapper around the pyquery.PyQuery constructor that supports mixed-case XML tags.


Performs the basicConfig() setup and uses/parses LOG_LEVEL from the environment.

Provides getLogger().


Provides stopwatch-like functionality in a Clock class.

File Type Py Version Uploaded on Size
wrappers-0.1.8.tar.gz (md5) Source 2014-08-12 2KB