wrappers provide convenient wrappers around pyquery, logging, ssl, etc.
storage
Storage class that extends dict to provide attribute access to keys:
from wrappers.storage import Storage d = Storage(a=1, b=2) print d.a, d['b']
ssl
Patches ssl.wrap_socket() to use TLSv1 instead of SSLv23 to resolve connection issues. Details: http://stackoverflow.com/a/24166498/41957:
from wrappers import ssl
All modules that use the built-in ssl module (e.g. requests) will work with the new settings.
pq
pq.PQ() - wrapper around the pyquery.PyQuery constructor that supports mixed-case XML tags.
logger
Performs the basicConfig() setup and uses/parses LOG_LEVEL from the environment.
Provides getLogger().
clock
Provides stopwatch-like functionality in a Clock class.
Release files for wrappers 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wrappers-0.1.9.tar.gz | 2.8 kB | Details |
Release files / wrappers-0.1.9.tar.gz
| Download URL | wrappers-0.1.9.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80851fb0fddd7003a37eda657f271465728687d573e8d314fc5f2025c979a5f8
|
|
BLAKE2b-256 checksum How to use checksums |
81fde3859be14b9feda7e11c719d7ffc5288e73664f9224be71fdb97cbd2d4ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |