Skip to main content

A collection of python utility functions and classes.

Project description

https://ci.appveyor.com/api/projects/status/4ir6ihf2r6b6x5mv?svg=true https://circleci.com/gh/blazelibs/blazeutils.svg?style=shield https://codecov.io/gh/blazelibs/blazeutils/branch/master/graph/badge.svg

Introduction

BlazeUtils was originally developed as a library to hold common tools for the Blaze library family.

Over the years it has been expanded to be somewhat of a catch-all for tools commonly used by the Level 12 development team.

Questions & Comments

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

Current Status

The code and API stay pretty stable.

Development

Source code and issue tracker are on GitHub.

Testing:

$ git clone https://github.com/blazelibs/blazeutils.git blazeutils-src
$ cd blazeutils-src
$ tox
...<snip>...
  clean: commands succeeded
  py27: commands succeeded
  py34: commands succeeded
  stats: commands succeeded
  congratulations :)

Changelog

0.6.1 released 2019-11-01

  • prepare for release with pyp (e71f222)

  • clean up obsolete decorator usage in favor of wrapt (c1cfb61)

0.6.0 released 2019-10-30

  • Resolve some python deprecations

  • Support python 3.8

  • Python 2.7 no longer fully supported

0.5.3 released 2017-12-28

  • Create setup.cfg to build universal wheel

  • Create set of functional programming tools

0.5.2 released 2016-11-23

  • Added Python 3.5 compatibility

  • Set up CI and coverage

0.5.1 released 2015-05-12

  • Fixed spreadsheets.xlsx_to_reader Python 3.4 compatibility

  • Fixed numbers.convert_int exception test for Python 3.4 compatibility

  • Fixed case where error handling’s _uie_matches masked real exception by creating one

0.5.0 released 2015-03-24

  • Added Python 3.4 compatibility.

  • Remove blazeutils.xlrd. It had been deprecated and the objects moved to .spreadsheets.

0.4.4 released 2014-12-25

  • changed how the version string is determined in __init__.py

  • archive old changelog notes

0.4.3 released 2014-12-16

  • add xlsx_to_strio() and WriterX.mwrite()

0.4.2 released 2014-12-08

  • fix wrong dates for 0.4.0 and 0.4.1 releases in changelog

  • add roundsecs argument to dates.trim_mils

  • updates to spreadsheets module including .xlsx file support

    • xlsx_to_reader(): converts xlsxwriter.Workbook instance to xlrd reader

    • WriterX: like Writer but for xlsxwriter Worksheets, API is slightly different and won’t have any faculties for style management like Writer does.

    • Reader: gets a .from_xlsx() method

    • http_headers(): utility function to help when sending files as HTTP response

0.4.1 released 2014-05-17

  • fix packaging issue

0.4.0 released 2014-05-17

  • testing.raises() gets support for custom exception validators, docstring updated w/ usage

  • decorators.curry() use a different approach so multiple curried functions can be used

  • add decorators.hybrid_method() ala SQLAlchemy

  • add decorators.memoize() primarily for SQLAlchemy method caching

  • BC break: .decorators now uses ‘wrapt’ so that is a new dependency

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.6.1.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

BlazeUtils-0.6.1-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file BlazeUtils-0.6.1.tar.gz.

File metadata

  • Download URL: BlazeUtils-0.6.1.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for BlazeUtils-0.6.1.tar.gz
Algorithm Hash digest
SHA256 46807ebdd6235a17645e78393a2dac41217ad4570f966ee0f2fdb741e74670a1
MD5 69b2d6f04ae6d442a68f87df1149db9d
BLAKE2b-256 28978bb4e2dc3ea2e4b0a204b254ec0d5988b7b6cf887a2192744886dd8cd184

See more details on using hashes here.

Provenance

File details

Details for the file BlazeUtils-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: BlazeUtils-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for BlazeUtils-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ab45640fc6adb627b4180463ee730ae5eafc1c9005dd375dce4fff20a410f6c
MD5 811b016de19fac96bd0bc8d4f5ef8426
BLAKE2b-256 ab1e5a56756d9dd69ff203258959d63a6c0d60a50d3463de6738b682fd8c7b62

See more details on using hashes here.

Provenance

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