Util list:
- file_manager
对 open() 的封装,添加了文件名有效性判断、路径缺失创建、读时文件缺失创建,等。
- tq_json
对 Python 内置 json 模块,使用 FileManager 进行封装.
- tq_pickle
对 Python 内置 pickle 模块,使用 FileManager 进行封装.
- singleton
线程安全(加锁)单例模式的 metaclass.
- time_util
时间相关工具,包括:timer, function timeout, ...
Raw data
{
"_id": null,
"home_page": "https://gitee.com/torchW/tqutils",
"name": "tq-utils",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.7",
"maintainer_email": null,
"keywords": "python, util, file manager, singleton, timer, functon_timeout, json, logger, pickle, sqlite3",
"author": "TripleQuiz",
"author_email": "triple_quiz@163.com",
"download_url": "https://files.pythonhosted.org/packages/13/3c/56c6397220751d6cd377a7f6a6e23c91bc4310922003c5c09248d8ea4cd4/tq_utils-0.3.4.tar.gz",
"platform": null,
"description": "Util list:\r\n\r\n - file_manager\r\n \r\n \u5bf9 open() \u7684\u5c01\u88c5\uff0c\u6dfb\u52a0\u4e86\u6587\u4ef6\u540d\u6709\u6548\u6027\u5224\u65ad\u3001\u8def\u5f84\u7f3a\u5931\u521b\u5efa\u3001\u8bfb\u65f6\u6587\u4ef6\u7f3a\u5931\u521b\u5efa\uff0c\u7b49\u3002\r\n \r\n - tq_json\r\n \r\n \u5bf9 Python \u5185\u7f6e json \u6a21\u5757\uff0c\u4f7f\u7528 FileManager \u8fdb\u884c\u5c01\u88c5.\r\n\r\n - tq_pickle\r\n\r\n \u5bf9 Python \u5185\u7f6e pickle \u6a21\u5757\uff0c\u4f7f\u7528 FileManager \u8fdb\u884c\u5c01\u88c5.\r\n\r\n - singleton\r\n\r\n \u7ebf\u7a0b\u5b89\u5168(\u52a0\u9501)\u5355\u4f8b\u6a21\u5f0f\u7684 metaclass.\r\n\r\n - time_util\r\n\r\n \u65f6\u95f4\u76f8\u5173\u5de5\u5177\uff0c\u5305\u62ec\uff1atimer, function timeout, ...\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Some simple utils.",
"version": "0.3.4",
"project_urls": {
"Homepage": "https://gitee.com/torchW/tqutils"
},
"split_keywords": [
"python",
" util",
" file manager",
" singleton",
" timer",
" functon_timeout",
" json",
" logger",
" pickle",
" sqlite3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5f7230ff97acd4a9579f16dec331f39341223a74e810bfeb08baf6572621c645",
"md5": "9e70c8fc76c2e6a2de3a03a8abdbbce6",
"sha256": "b6cfd70604d13b71df817d0b08102ed3f96b06299c7411009bda42a7599cdf45"
},
"downloads": -1,
"filename": "tq_utils-0.3.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9e70c8fc76c2e6a2de3a03a8abdbbce6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.7",
"size": 29659,
"upload_time": "2024-12-24T10:44:34",
"upload_time_iso_8601": "2024-12-24T10:44:34.812808Z",
"url": "https://files.pythonhosted.org/packages/5f/72/30ff97acd4a9579f16dec331f39341223a74e810bfeb08baf6572621c645/tq_utils-0.3.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "133c56c6397220751d6cd377a7f6a6e23c91bc4310922003c5c09248d8ea4cd4",
"md5": "83df36e63c0bc8c23361c66021b3ffb8",
"sha256": "911d347f83346034b732ea317d708eefd217a05a0b016653b68e09c6b10a0299"
},
"downloads": -1,
"filename": "tq_utils-0.3.4.tar.gz",
"has_sig": false,
"md5_digest": "83df36e63c0bc8c23361c66021b3ffb8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.7",
"size": 14249,
"upload_time": "2024-12-24T10:44:37",
"upload_time_iso_8601": "2024-12-24T10:44:37.326227Z",
"url": "https://files.pythonhosted.org/packages/13/3c/56c6397220751d6cd377a7f6a6e23c91bc4310922003c5c09248d8ea4cd4/tq_utils-0.3.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-24 10:44:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "tq-utils"
}