Metadata-Version: 2.1
Name: BlazeUtils
Version: 0.7.0
Summary: A collection of python utility functions and classes.
Home-page: https://github.com/blazelibs/blazeutils/
Author: Randy Syring
Author-email: randy.syring@level12.io
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3
Requires-Dist: wrapt
Provides-Extra: dev
Requires-Dist: codecov ; extra == 'dev'
Requires-Dist: docutils ; extra == 'dev'
Requires-Dist: openpyxl ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-cov ; extra == 'dev'
Requires-Dist: sqlalchemy ; extra == 'dev'
Requires-Dist: tox ; extra == 'dev'
Requires-Dist: wheel ; extra == 'dev'
Requires-Dist: xlwt ; extra == 'dev'
Requires-Dist: xlrd (<2.0.0) ; extra == 'dev'
Requires-Dist: xlsxwriter ; extra == 'dev'
Requires-Dist: colorama ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: restview ; extra == 'dev'
Provides-Extra: test
Requires-Dist: codecov ; extra == 'test'
Requires-Dist: docutils ; extra == 'test'
Requires-Dist: openpyxl ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: sqlalchemy ; extra == 'test'
Requires-Dist: tox ; extra == 'test'
Requires-Dist: wheel ; extra == 'test'
Requires-Dist: xlwt ; extra == 'test'
Requires-Dist: xlrd (<2.0.0) ; extra == 'test'
Requires-Dist: xlsxwriter ; extra == 'test'
Requires-Dist: colorama ; extra == 'test'
BlazeUtils
##########
.. image:: https://ci.appveyor.com/api/projects/status/4ir6ihf2r6b6x5mv?svg=true
:target: https://ci.appveyor.com/project/level12/blazeutils
.. image:: https://circleci.com/gh/blazelibs/blazeutils.svg?style=shield
:target: https://circleci.com/gh/blazelibs/blazeutils
.. image:: https://codecov.io/gh/blazelibs/blazeutils/branch/master/graph/badge.svg
:target: https://codecov.io/gh/blazelibs/blazeutils
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
......
clean: commands succeeded
py27: commands succeeded
py34: commands succeeded
stats: commands succeeded
congratulations :)
Changelog
=========
0.7.0 released 2022-10-27
-------------------------
- update package setup and CI (e52cd73_)
- dropped python 2 support and six dependency
- removed deprecated error_handling methods (tb_depth_in, traceback_depth)
- removed deprecated testing.raises decorator
.. _e52cd73: https://github.com/blazelibs/blazeutils/commit/e52cd73
0.6.5 released 2021-01-26
-------------------------
- Fix xlrd dependency check and deprecate remaining xlrd related functions (9e29b7b_)
- Deprecate raises decorator in favor of pytest.raises (19c0efe_)
.. _9e29b7b: https://github.com/blazelibs/blazeutils/commit/9e29b7b
.. _19c0efe: https://github.com/blazelibs/blazeutils/commit/19c0efe
0.6.4 released 2020-10-23
-------------------------
- Fix mutable default arguments in tolist and ensure_list (3bd7095_)
.. _3bd7095: https://github.com/blazelibs/blazeutils/commit/3bd7095
0.6.3 released 2020-09-11
-------------------------
- Support openpyxl in spreadsheet helpers (44448df_)
- Deprecate xlrd usage
.. _44448df: https://github.com/blazelibs/blazeutils/commit/44448df
0.6.2 released 2020-07-06
-------------------------
- Add Log Level to Retry Decorator (5ee8d1d_)
.. _5ee8d1d: https://github.com/blazelibs/blazeutils/commit/5ee8d1d
0.6.1 released 2019-11-01
-------------------------
- prepare for release with pyp (e71f222_)
- clean up obsolete decorator usage in favor of wrapt (c1cfb61_)
.. _e71f222: https://github.com/blazelibs/blazeutils/commit/e71f222
.. _c1cfb61: https://github.com/blazelibs/blazeutils/commit/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