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 --upgrade xh_utils -i https://www.pypi.org/simple/
  1. 彩色日志

示例

1.彩色日志

from xh_utils import 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")
logger.critical("critical")

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.2.0-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: xh_utils-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4be691dac3ee1c88f2b9871d91448c7818e01be1238f0da3cb8de920e4e04796
MD5 87d7c0f5a2f66e531d023ede5a4cfa19
BLAKE2b-256 5562839ced4f6bf2df488a4599384a64a909ae5d76199f4c67f3452712f3b6f1

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