Skip to main content

A package to get and count IP addresses

Project description

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 文件。


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

hanxu-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hanxu-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file hanxu-0.1.0.tar.gz.

File metadata

  • Download URL: hanxu-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for hanxu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7e754c021b9b469bbf034363dae2f29a7f4cde37e1cd69abcfbd9b8c05f43268
MD5 957bca5d7e825cb4b704fc744a69c557
BLAKE2b-256 afa33d9132f45bff076bf35bb180e2e053e08320281c9c6980e08b62f628916a

See more details on using hashes here.

File details

Details for the file hanxu-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hanxu-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for hanxu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 209b5a527ace3da83a3c35328de89f9fb717e1f1a3059a416aa683db32657494
MD5 a38aed77677a929749002a4ef466f08c
BLAKE2b-256 27c380535cd875732cd7d711ada4c18cc106508008dae0a51953627b350ec3b3

See more details on using hashes here.

Supported by

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