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, json, pickle, singleton, timer, functon timeout",
"author": "TripleQuiz",
"author_email": "triple_quiz@163.com",
"download_url": "https://files.pythonhosted.org/packages/ae/92/70aec02b1e4356aa098869f2fff28db19cd43d4199e095f4c7653801e53e/tq_utils-0.2.6.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.2.6",
"project_urls": {
"Homepage": "https://gitee.com/torchW/tqutils"
},
"split_keywords": [
"python",
" util",
" file manager",
" json",
" pickle",
" singleton",
" timer",
" functon timeout"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1fa019cfa92663e1a86b0bc5e82e20eb333995f17eaaee6033f94772438a712e",
"md5": "d19f41ffb023711adf7ff25ae140c9b2",
"sha256": "36b5067007f207165081e5cd8599aad7efe057af28523e56c2462928e8cd48a1"
},
"downloads": -1,
"filename": "tq_utils-0.2.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d19f41ffb023711adf7ff25ae140c9b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.7",
"size": 26688,
"upload_time": "2024-11-11T04:01:14",
"upload_time_iso_8601": "2024-11-11T04:01:14.856930Z",
"url": "https://files.pythonhosted.org/packages/1f/a0/19cfa92663e1a86b0bc5e82e20eb333995f17eaaee6033f94772438a712e/tq_utils-0.2.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ae9270aec02b1e4356aa098869f2fff28db19cd43d4199e095f4c7653801e53e",
"md5": "0e4d1ce35c00e5231b5f161bfa8a1978",
"sha256": "c1e5e8bb61cc7d598b63845d2fedd1bbbf114cfaa41f61734244e3d839fa49d1"
},
"downloads": -1,
"filename": "tq_utils-0.2.6.tar.gz",
"has_sig": false,
"md5_digest": "0e4d1ce35c00e5231b5f161bfa8a1978",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.7",
"size": 11807,
"upload_time": "2024-11-11T04:01:16",
"upload_time_iso_8601": "2024-11-11T04:01:16.576288Z",
"url": "https://files.pythonhosted.org/packages/ae/92/70aec02b1e4356aa098869f2fff28db19cd43d4199e095f4c7653801e53e/tq_utils-0.2.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-11 04:01:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "tq-utils"
}