Skip to main content

findyourip

因为运营商不提供静态IP地址,findyourip 可以帮助你通过爬取IP池来获取当前的公网IP地址。

功能

  • 单次IP获取:执行命令后获取一次当前的公网IP地址。
  • 多次IP获取:通过指定次数 n,可以多次获取公网IP地址,有助于从IP池中获取不同的IP地址。

使用方法

  • 获取一次IP地址:

    ip
    
  • 获取N次IP地址:

    ip n
    

    其中,n 是您希望获取IP地址的次数。

安装

目前,findyourip 可以通过源代码安装。将来可能会提供 pip 安装方式。

  1. 克隆仓库到本地:

    git clone https://github.com/yourusername/findyourip.git
    
  2. 切换到仓库目录:

    cd findyourip
    
  3. 安装依赖(如果有):

    pipx install .
    

贡献

欢迎任何形式的贡献,无论是新功能的建议、bug 修复还是文档改进。请通过 GitHub 的 Pull Request 或 Issue 进行贡献。

许可证

findyourip 根据 MIT 许可证发布。关于许可证的更多信息,请查看 LICENSE 文件。


Metadata

Release files for myip-python 0.1.0

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

Source distribution (sdist)

Source distribution for myip-python 0.1.0
File Size Uploaded
myip-python-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for myip-python 0.1.0
File Interpreter ABI Platform
myip_python-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / myip-python-0.1.0.tar.gz

Download URL myip-python-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cea34191064916e49ab71522917567a37060487547e116358f0b2fa0f59ec3c4
BLAKE2b-256 checksum
How to use checksums
423c4d22739cd8130b326493a7270772e569239f1d5ce0755ca6d56d6df075ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / myip_python-0.1.0-py3-none-any.whl

Download URL myip_python-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10670ca8d33f5475dfbf3905296edcfafb67447cfcb0c71000f9ca2109303fcd
BLAKE2b-256 checksum
How to use checksums
cc23639354d23cd1b4ccad67f63611bcd272eac4ce2c5f7b2a8071d7bcb42273
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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