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/82/0f/0e2fd38b6bd1ee3362ce6f973d57decf913f1e89589a1a3009cc74e40a21/tq_utils-0.3.3.post1.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.3.post1",
"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": "81ada7c7b75e3095f0c44493bab0bc2fdc18922d589fcee209c315de50acbd4f",
"md5": "2c400e0e4f163d73981e82d2ce2b5253",
"sha256": "6367da0d1935f32df73d823bb3f6c741c5f9063855fc46aa2ee73e6f1a6caa9f"
},
"downloads": -1,
"filename": "tq_utils-0.3.3.post1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2c400e0e4f163d73981e82d2ce2b5253",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.7",
"size": 29638,
"upload_time": "2024-12-06T09:40:28",
"upload_time_iso_8601": "2024-12-06T09:40:28.275542Z",
"url": "https://files.pythonhosted.org/packages/81/ad/a7c7b75e3095f0c44493bab0bc2fdc18922d589fcee209c315de50acbd4f/tq_utils-0.3.3.post1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "820f0e2fd38b6bd1ee3362ce6f973d57decf913f1e89589a1a3009cc74e40a21",
"md5": "5002eee6e0c22afef1a5a0e6534828da",
"sha256": "82315e1837054132b007b32bcc36b54c7df190e8423a5bf0b803e7811b89afb0"
},
"downloads": -1,
"filename": "tq_utils-0.3.3.post1.tar.gz",
"has_sig": false,
"md5_digest": "5002eee6e0c22afef1a5a0e6534828da",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.7",
"size": 14216,
"upload_time": "2024-12-06T09:40:30",
"upload_time_iso_8601": "2024-12-06T09:40:30.642726Z",
"url": "https://files.pythonhosted.org/packages/82/0f/0e2fd38b6bd1ee3362ce6f973d57decf913f1e89589a1a3009cc74e40a21/tq_utils-0.3.3.post1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-06 09:40:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "tq-utils"
}