KenkoAdvance
一些方便自己的自定义小功能
作者:AkagiYui
Work In Progress:
- AyBase64
- AyAdb
类 GocqConnection
描述:go-cqhttp连接类
需要的包:websocket-client requests
from KenkoAdvance.GocqConnection import GocqConnection
类 TextToMidi
描述:文本转Midi
作者:Scarlett凛子 QQ: 1587524
需要的包:mido
from KenkoAdvance.TextToMidi import TextToMidi
类 HiddenPrints
描述:暂时全局关闭标准输出
收录自:https://zhuanlan.zhihu.com/p/360137954
类 AyStr
描述:自定义字符串类
自定义字符串类
重写in支持判断列表或元组成员是否出现在字符串里
重写find()支持查找子串列表或元组
类 AyDict
描述:自定义字典类
键用半角实心点.做下级入口
例 dict['web']['port'] == AyDict['web.port']
函数 get_file_format
描述:用文件头判断文件格式
收录自:https://blog.csdn.net/privateobject/article/details/78069500
函数 int_to_chinese
描述:数字转汉字
收录自:https://blog.csdn.net/PlusChang/article/details/72991191
函数 get_self_uptime
描述:获取自身运行时长
需要的包:psutil
函数 get_machine_uptime
描述:获取开机时长
需要的包:psutil
函数 get_self_ip
描述:获取自身IP
收录自:https://www.zhihu.com/question/49036683/answer/1243217025
函数 chinese_to_int
描述:汉字转数字
收录自:https://www.iplaypy.com/code/base/b2600.html
函数 chinese_to_int_e
描述:汉字转数字
Metadata
Release files for KenkoAdvance 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| KenkoAdvance-1.0.0.tar.gz | 16.5 kB | Without provenance | Details for KenkoAdvance-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| KenkoAdvance-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for KenkoAdvance-1.0.0-py3-none-any.whl |
Total release size: 36.3 kB
Release files / KenkoAdvance-1.0.0.tar.gz
| Download URL | KenkoAdvance-1.0.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74f4b259fe59c61885c24c807ac4853cca73cfbddd086566684676714e035ec1
|
|
BLAKE2b-256 checksum How to use checksums |
657340b23d7f1eb8ead48bbbed7f267716df141f7ee63af18797b84fc29cfb21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / KenkoAdvance-1.0.0-py3-none-any.whl
| Download URL | KenkoAdvance-1.0.0-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67ce93863bc133b5024df8942b28b3cbb86ca3f04fd36754565328f6341622e2
|
|
BLAKE2b-256 checksum How to use checksums |
c0f70d3e2cd61a283b29251d1386a30aac378f18dec79cf4bc1888afff88d14e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for KenkoAdvance 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.