Skip to content

wizzat/wizzat.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wizzat.py

Python Utilities includes an assortment of decorators, utility methods, and utility classes. It's intended that this package can serve to bootstrap a fresh Python 2 project.

Modules:

  • The decorators module primarily contains memoization, benchmarking, coroutine, tail call recursion, and test skipping decorators.
  • The queuefile module contains a thread and process safe file writer.
  • The util module contains utility functions.
  • The dateutil module contains date utils for working on top of python-dateutil and pytz.
  • The pghelper module contains utilities for working with raw psycopg2 connections and a light weight named connection manager.
  • The textutil module contains various utilities for transforming data to text, in particular a text table
  • The serialization module contains methods for space and time efficient serialization of integer sets and lists.
  • The testutil module contains test cases, asserts, and mixins for getting various test behaviors.
  • The mathutil module contains various math utilites as well as logarithmic percentile approximation and running average.
  • The runner module contains a base class that handles much of the common boilerplate in setting up runners.
  • The sqlutil module contains a series of utility classes for sqlalchemy
  • The dbtable module contains a light weight ORM for Postgres
  • The kvtable module contains a light weight ORM for a generic KV Store
  • The cbtable module contains a light weight ORM for Couchbase
  • The s3table module contains a light weight ORM for S3

The most interesting functions are likely:

  • decorators.memoize()
  • dateutil.*
  • util.*
  • mathutil.Percentile

Documentation is maintained on individual functions

The official repository is http://www.github.com/wizzat.py

About

Python Utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published