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

myip-python-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.

myip_python-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file myip-python-0.1.0.tar.gz.

File metadata

  • Download URL: myip-python-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 myip-python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cea34191064916e49ab71522917567a37060487547e116358f0b2fa0f59ec3c4
MD5 5416c5681d492a400cd49d0ffa8b559a
BLAKE2b-256 423c4d22739cd8130b326493a7270772e569239f1d5ce0755ca6d56d6df075ba

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for myip_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10670ca8d33f5475dfbf3905296edcfafb67447cfcb0c71000f9ca2109303fcd
MD5 f1156231b79b80ad0031d457c0243ffa
BLAKE2b-256 cc23639354d23cd1b4ccad67f63611bcd272eac4ce2c5f7b2a8071d7bcb42273

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