Skip to main content

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.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wrappers 0.1.8
File Size Uploaded
wrappers-0.1.8.tar.gz 2.7 kB Details

Release files / wrappers-0.1.8.tar.gz

Download URL wrappers-0.1.8.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9c7e129af4e2562bb61944a27674dcba4f8a3edfd9a8c96af7081f7dd581db2b
BLAKE2b-256 checksum
How to use checksums
a68b631b7d172369efdb26fd34adb2f56233da40665b7b4e99dac11846b154fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.1.9

1 release file

This release

0.1.8 This release

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page