Skip to main content

一个生成 uuid 的 Nonebot2 插件

Project description

nonebot-plugin-uuid

✨ UUID 生成器 ✨

license pypi python wakatime

📖 介绍

通过 uuid4 与 uuid5 生成 uuid ,并且支持快速去除短横线

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-uuid
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-uuid
pdm
pdm add nonebot-plugin-uuid
poetry
poetry add nonebot-plugin-uuid
conda
conda install nonebot-plugin-uuid

打开 nonebot2 项目的 bot.py 文件, 在其中写入

nonebot.load_plugin('nonebot_plugin_uuid')

⚙️ 配置

本插件无需配置

🎉 使用

指令表

指令 权限 需要@ 范围 说明
uuid 任何人 全局 使用 uuid4 生成一个标准 uuid
uuid5 种子 任何人 全局 使用传入的 种子 ,通过 uuid5 生成一个标准 uuid
rhs 任何人 全局 使用该命令回复一条消息,解析消息中的 uuid ,返回不带连字符的uuid(Remove hyphens

效果图

Alt text

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

nonebot_plugin_uuid-0.1.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_uuid-0.1.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_uuid-0.1.4.tar.gz.

File metadata

  • Download URL: nonebot_plugin_uuid-0.1.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for nonebot_plugin_uuid-0.1.4.tar.gz
Algorithm Hash digest
SHA256 881db1020ec8b454740886033400fc9dd013fbcfac6606ab2924931029ff287a
MD5 985c99e3253ec35d3b08a97af93057f9
BLAKE2b-256 6b6c4ffcf49d7e3c8be37cb14126f803f7a5d9f668ee952ec1ac54d5369104a1

See more details on using hashes here.

File details

Details for the file nonebot_plugin_uuid-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_uuid-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be0401b171d450904c59ce975509f0b3f51d0660bbb7a459ce90a9c0e14852dc
MD5 d33df0d3c3da34780327feb258d8e58f
BLAKE2b-256 2b6bd3108b24782527452caba09fd2b890d6fdba959e9845c5a6d8d1410dfdb4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page