Skip to content

Some useful functions and classes in Python infrastructure development

License

Notifications You must be signed in to change notification settings

HansBug/hbutils

Repository files navigation

hbutils

PyPI PyPI - Python Version PyPI - Implementation PyPI - Downloads

Loc Comments Maintainability codecov

Docs Deploy Code Test Badge Creation Package Release

GitHub stars GitHub forks GitHub commit activity GitHub issues GitHub pulls Contributors GitHub license

Some useful functions and classes in Python infrastructure development.

Installation

You can simply install it with pip command line from the official PyPI site.

pip install hbutils

For more information about installation, you can refer to Installation.

Features

The features currently supported by hbutils including:

  • hbutils.algorithm - Some useful classic algorithms.
  • hbutils.binary - Utilities for loading and saving values from binary data. (Still under development)
  • hbutils.collections - Data structures and containers, as well as the tools that go with them
  • hbutils.color - Color model, spaces (RGB, HSV, HLS are supported) and their calculations.
  • hbutils.design - Extendable implements for some useful design patterns in Python.
  • hbutils.encoding - Common encoding, decoding and hash calculations for binary data.
  • hbutils.expression - Expression-based unary logic infrastructure.
  • hbutils.file - Useful utilities for reading and writing files or streams.
  • hbutils.model - Useful utilities for building immutable data model.
  • hbutils.random - Quickly generate various kinds of random value.
  • hbutils.reflection - Magical utilities based on Python imports/object/function/class/module reflections.
  • hbutils.scale - Calculation and parsing of scaled values, such as memory size and timespan.
  • hbutils.string - Simple but useful string processing utilities, such as pluralization and omission.
  • hbutils.system - Operations on current running environment.
  • hbutils.testing - Useful utilities for building unit test.

For further information, take a look at HBUtils’s Documentation, the API Documentation part is just the function and classes included now.

This utility set is still under development, more utilities will be added soon afterwards. You can share good ideas or suggestions in the issue area, where we can discuss and develop them further.

About

Some useful functions and classes in Python infrastructure development

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages