Skip to main content

xh personal Python util libs

Project description

XhUtils

python setup.py bdist_wheel --universal
twine upload dist/*  # pip install twine

pip install xh_utils -i https://www.pypi.org/simple/
  1. 彩色日志

示例

1.彩色日志

from xh_utils.logger import Logger as logger

logger.init_logger()
# logger.init_logger(log_pathdir="./log/",is_split_logfile=True) # 日志同步写入文件,并按天进行文件分割写入
logger.debug("debug")
logger.info("info")
logger.warning("warning")
logger.error("error")

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

If you're not sure about the file name format, learn more about wheel file names.

xh_utils-1.1.0-py2.py3-none-any.whl (9.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file xh_utils-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: xh_utils-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for xh_utils-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3cd6b95c65e1c5f45ccd31bf29f06fb1af84202fcbe13e5de08dbd9adfee171a
MD5 974986d6396bf47219dcef1368b71545
BLAKE2b-256 f31df26d843b145d2233ec47673cbc0e551764e8b2728e1b0a7129f844427051

See more details on using hashes here.

Supported by

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