Skip to main content

Various utilities by MH that show up often in project use

Project description

DESCRIPTION

Various utilities I found useful for projects that are needed on a regular basis.

Also the dumping ground for a bunch of various utils that don't fit anywhere.

Offers following modules for import:

  • mhut.msgutils - Messaging & printing utils; very simple stuff and alternative to logging
  • mhut.testutils - Testutils is needed for regression reporting. Convenient set of functions for pretty reporting & such
  • mhut.pathutils - convenience module for manipulating environment variables

Following scripts will available after installation: pathutils - This is a copy of pathutils.py and can be executed standalone

INSTALLATION

To install type:

$ make install

Run setup.py with appropriate modifications. By default, this is installed in the user's site-package directory.

The script "pathutils" is installed under /.../bin directory.

To uninstall, type:

$ make uninstall

NOTE. For the user directory, error messages may appear, but the 'egg' package will be gone.

RELEASE HISTORY

MHut-1.6.4 May 27, 2025

  • Fixes to obsolete method calls in Pandas; Install related fixes
  • Tested with Python3.12

MHut-1.6.3 Mar 16, 2022

  • Works only w/python3.7.x or newer; removed python2 support
  • Install related fixes

MHut-1.6.1 Aug 5, 2019

  • Fixed pandas version related bug
  • Tested w/python2.7 as well

MHut-1.6.0 July 28, 2019

  • Ported to python3 (tested with version 3.7.x)
  • One test in TestDatautils failing (test_filter_column)

MHut-1.4.0 Sep 21, 2016

  • Added capability for selected tests using run_quick_tests() under testutils
  • Removed msgutils since it is mostly redundant; to be replaced by wrapper on logging module functions

MHut-1.3.0 Mar 21, 2016

  • Renamed MHutils to MHut to avoid conflict w/existing package on PyPy
  • Removed MTable
  • Instead of installing individual modules, now installs the utils under the umbrella of mhut
  • Cleaned up db related stuff from here
  • Added pathutils as convenience module as well as script

MHutils-1.2.0 Jan 22, 2016

Primarily corrections for removing deprecated warning messages after upgrading pandas to v0.17.

MHutils-1.1.0 Nov 24, 2014

Added datautils for extra functionality to tackon on numpy & pandas.

Offers following additional module for import:

  • datautils

MHutils-1.0.0 Oct 23, 2014

First release for multi-project use.

Offers following modules for import:

  • msgutils - Messaging & printing utils
  • testutils - Testutils is needed for regression reporting. Convenient set of functions for pretty reporting & such
  • MTable - My own class for working w/2D tables. Not as sophisticated as pandas but sometimes more convenient & faster for small stuff.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mhut-1.6.4-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file mhut-1.6.4-py3-none-any.whl.

File metadata

  • Download URL: mhut-1.6.4-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for mhut-1.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 243e958cb2804ea42090f31cbd48eaeacef3f5022abe4b899c34e6893969901b
MD5 b92e90330d5e1aa18b3f002491da0d5e
BLAKE2b-256 6c20f59928be4ace945fd9b2c76ef6c57835029baf7b45a1a09548bcb7d51b82

See more details on using hashes here.

Supported by

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