Skip to main content

convenient wrappers around existing modules

Project description

wrappers provide convenient wrappers around existing modules that I use on a regular basis.

storage

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

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wrappers-0.1.7.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file wrappers-0.1.7.tar.gz.

File metadata

  • Download URL: wrappers-0.1.7.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wrappers-0.1.7.tar.gz
Algorithm Hash digest
SHA256 1c78798ce19d381b30fd480e1d59e4b634e69a7fd37a1257f9749e3650803d72
MD5 d3e8484e149e0ec4017089ddd1f93b1a
BLAKE2b-256 e1ae98430d91b8c229ae7b8967c03ab32aceb3ff839db07ec806d6e64a436da4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page