Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-ipinfo

✨ 查询 IP 地址的信息 ✨

License PyPI Python
NoneBot Registry Supported Adapters

安装

使用nb-cli [推荐]

nb plugin install nonebot-plugin-ipinfo

使用pip

pip install nonebot-plugin-ipinfo

使用

命令需要加 NoneBot 命令前缀 (默认为/)
命令 ipinfo / ip 查询 IP 地址的信息
命令 domaininfo 查询域名的 WHOIS 信息
命令 getdomain 查询 IP 地址的托管域名
以上命令均支持使用 -v 命令选项输出详细的信息

配置项

配置方式:直接在 NoneBot 全局配置文件中添加以下配置项即可

ipinfo_access_token [必填]

  • 类型:str
  • 默认值:None
  • 说明:iPinfo 的 access_token

ipinfo_use_ip2location [选填]

  • 类型:bool
  • 默认值:False
  • 说明:是否使用 ip2location 作为数据源

ipinfo_ip2location_api_key [选填]

  • 类型:str
  • 默认值:None
  • 说明:ip2location 的 api_key

ipinfo_verbose_use_reference [选填]

  • 类型:bool
  • 默认值:False
  • 说明:-v 模式是否使用合并转发消息发送

Metadata

Release files for nonebot-plugin-ipinfo 1.0.1

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-ipinfo 1.0.1
File Size Uploaded Provenance Actions
nonebot_plugin_ipinfo-1.0.1.tar.gz 4.8 kB Without provenance Details for nonebot_plugin_ipinfo-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 11.0 kB

Release files / nonebot_plugin_ipinfo-1.0.1.tar.gz

Download URL nonebot_plugin_ipinfo-1.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9e1b9a7d8df442935fc00e25884cbabc0d0c8beda375de9444d76c6afca88026
BLAKE2b-256 checksum
How to use checksums
1860b63a4a888fcb18d1df46b27c6e94f4d3791772c0f1f7ca5a783cf059d998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nonebot_plugin_ipinfo-1.0.1-py3-none-any.whl

Download URL nonebot_plugin_ipinfo-1.0.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e52bf074b48887e0207e1f3eb0bfbadad4a8b9c4c75e1cb7ae37c7451056cec3
BLAKE2b-256 checksum
How to use checksums
03a2bf414f4de453e3fee33246dff4a14883e2b0b5a80a4674aa591ce5fabc17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for nonebot-plugin-ipinfo 1.0.1

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