Skip to main content

介绍

这是一个 nonebot2 插件, 用于TCP端口连通性测试工具,支持域名和IP地址测试

安装方法

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

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_tcping"]

...

使用方法

在.env.prod中添加 """ #tcping tcping_url = https://v2.api-m.com/api/tcping

#撤回消息的默认时间 recal_time=10 """

指令格式

  1. 发送指令 tcping <域名或IP地址> <端口号> 即可测试该端口是否连通
  2. 插件会返回测试结果, 如端口连通则返回 端口 <端口号> 连通, 否则返回 端口 <端口号> 不连通

Metadata

Release files for nonebot-plugin-tcping 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-tcping 1.1.6
File Size Uploaded Provenance Actions
nonebot_plugin_tcping-1.1.6.tar.gz 4.3 kB Without provenance Details for nonebot_plugin_tcping-1.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-tcping 1.1.6
File Interpreter ABI Platform Actions
nonebot_plugin_tcping-1.1.6-py3-none-any.whl Python 3 none any Details for nonebot_plugin_tcping-1.1.6-py3-none-any.whl

Total release size: 9.0 kB

Release files / nonebot_plugin_tcping-1.1.6.tar.gz

Download URL nonebot_plugin_tcping-1.1.6.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2be326aa65462ef2a11950b1641bcb635a82fb4962d46d1312af0292113df8e3
BLAKE2b-256 checksum
How to use checksums
9e0a25cf68c6f4954565330dac71552ae3a375a589992fd979cd17243689456d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.6 Windows/11

Release files / nonebot_plugin_tcping-1.1.6-py3-none-any.whl

Download URL nonebot_plugin_tcping-1.1.6-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9f3542d3e7b60c33ea4a8fafa64977d9facdb46996394b3317d5dc6e44dc5e1
BLAKE2b-256 checksum
How to use checksums
370408089ec1adab05b62d53a9462317c935c2d8c50380ea53b370be2fe51cd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.6 Windows/11

Security for nonebot-plugin-tcping 1.1.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page