Skip to main content

A collection of python utility functions and classes.

Project description

Introduction
---------------

BlazeUtils is a library to hold common tools for the Blaze library family:

- `BlazeWeb <http://pypi.python.org/pypi/BlazeWeb/>`_
- `BaseBWA <http://pypi.python.org/pypi/BaseBWA/>`_
- `BlazeForm <http://pypi.python.org/pypi/BlazeForm/>`_

Questions & Comments
---------------------

Please visit: http://groups.google.com/group/blazelibs

Current Status
---------------

The code and API stay pretty stable.

The `blazeutils tip <http://bitbucket.org/rsyring/blazeutils/get/tip.zip#egg=BlazeUtils-dev>`_
is installable via `easy_install` with ``easy_install BlazeUtils==dev``


Changelog
---------

0.3.8 released 2012-03-22
==========================

+ added rst.create_toc() to generate a table of contents from a reST document
+ added some utility functions for reST processing with docutils
+ added testing.FailLoader to help when testing failed imports
+ ensure_datetime() now takes a time_part argument
+ added HTMLAttributes to new containers module, moved LazyDict to containers but
left reference in datastructures.
* make error_handling.raise_unexpected_import_error() more thorough and stop
matching exceptions that shouldn't have been matched

* add helpers.ensure_list() and ensure_tuple()

0.3.7 released 2011-12-15
==========================

+ (**BC BREAK**) changed testing.raises() to regex escape by default. There is now a
keyword arg to control regex escaping. Also switched it to be more lenient
in its matching by using re.search() instead of re.match()
+ added exc_emailer() decorator
+ added testing.assert_equal_text()
+ add retry() decorator for retrying a function call when exceptions occur

0.3.6 released 2011-08-19
==========================

+ fix bug in sdist build

0.3.5 released 2011-08-18
==========================

+ XlwtHelper can now use XFStyle instances directly.

0.3.4 released 2011-06-11
==========================

+ deprecate error_handling.traceback_* functions
+ deprecate datetime module, moved safe_strftime to dates module
+ add decorators.deprecate() decorator
+ add testing.emits_deprecation() decorator (only usable w/ python >= 2.6)
+ add testing.raises() decorator
+ add dates module and ensure_date(), ensure_datetime()

0.3.3 released 2011-05-19
==========================
+ made moneyfmt/decimalfmt handle floats

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

BlazeUtils-0.3.8dev.tar.gz (25.1 kB view hashes)

Uploaded Source

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