Query local public IP address
Retrieve the device's current public IP address by running a Python script.
Latest: v1.0.0
- Initial release of the 查询本机公网 IP skill.
- Allows users to query and display the local machine's public IP address.
- Requires Python 3.8 or higher.
- Usage: run python3 get_ip.py to output the public IP.
Metadata
name:查询本机公网 IP description:这是一个查询本机公网 IP 的技能,当用户意图为查询本机公网 IP 时使用。
Requirements
dependencies:python>=3.8
Steps
运行脚本python3 get_ip.py,输出本机公网 IP。
