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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: xh_utils-1.1.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 68928f842cd1325f766ee39730b4633321d1f2ad7b9e8b1a9421cf09a3a686bf
MD5 8f9534b8397e832047f6e7a982f81cbf
BLAKE2b-256 a701798b3d0623fe10694acff3a4a2114ebef6c7f6636022eecf25a1821181ad

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