Installation

HBUtils is currently hosted on PyPI. It required python >= 3.7.

You can simply install HBUtils from PyPI with the following command:

pip install hbutils

You can also install with the newest version through GitHub:

pip install -U git+https://github.com/hansbug/hbutils.git@main

After installation, run this python code, and version information of hbutils should be shown.

1
2
3
4
5
6
from hbutils.config.meta import __TITLE__, __VERSION__, __AUTHOR__, __DESCRIPTION__

if __name__ == '__main__':
    print(__TITLE__, __VERSION__)
    print(__DESCRIPTION__)
    print('Powered by', __AUTHOR__)
1
2
3
hbutils 0.9.0
Some useful functions and classes in Python infrastructure development.
Powered by HansBug

HBUtils is still under development, you can also check out the documents in stable version through https://hansbug.github.io/hbutils/.