Skip to main content

Some simple utils.

Project description

Util list:

  • file_manager

    对 open() 的封装,添加了文件名有效性判断、路径缺失创建、读时文件缺失创建,等。

  • singleton

    线程安全(加锁)单例模式的 metaclass.

  • time_util

    时间相关工具,包括:timer, function timeout, ...

  • tq_json

    对 Python 内置 json 模块,使用 FileManager 进行封装.

  • tq_logger

    自己写的 logger

  • tq_pickle

    对 Python 内置 pickle 模块,使用 FileManager 进行封装.

  • tq_sqlite3

    对 Python 内置的 sqlite3 模块进行封装。

  • tq_xml

    对 Python 内置的 xml.etree.ElementTree 模块进行封装。

  • tq_yaml

    对第三方的 PyYAML 库,进行封装。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tq_utils-0.5.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

tq_utils-0.5.0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file tq_utils-0.5.0.tar.gz.

File metadata

  • Download URL: tq_utils-0.5.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for tq_utils-0.5.0.tar.gz
Algorithm Hash digest
SHA256 61ac3d1e6441abbfb06a74141ba98a1e4e4d55103a15147e0f05098b03dbfd53
MD5 552aabb841ba5a567b4c899c4b9b0d16
BLAKE2b-256 134db5f4779d09aa2d3a13522de1615051ffa21a9ae89f6d3091eca4e4ac0333

See more details on using hashes here.

File details

Details for the file tq_utils-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: tq_utils-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for tq_utils-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e668897e254eabf4270d1926dcf04c8ba6ba75e91163bccfe8ee6302696eeae
MD5 611e79872be8ac30ecbb516a8cd5914d
BLAKE2b-256 1ca776f56eaa6282c66e07e3d991e79f855ed4f65762d152756d6fd72275f2ec

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