Skip to main content

magic functions to operate ips and nets

Project description

# 简介

完成与ip地址和网段相关的一系列操作

# 安装

pip install ipoperate

# 功能列表

## ipoperate

  • IP地址与二进制间转换
  • 网段与二进制间转换
  • IP地址与整数间转换
  • 网段与地址范围的转换
  • 网段合并为网段
  • 网段的掩码格式和CIDR格式之间转换
  • 将连续的IP地址合并为范围

# 工具

## iprange

  • 将连续的IP地址合并为范围

#用法

##iprange

cat list_file | iprange

或者

iprange list_file

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

ipoperate-1.4.1.tar.gz (3.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page