Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

magic functions to operate ips and nets

Project Description

# 简介


# 安装

pip install ipoperate

# 功能列表

## ipoperate

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

# 工具

## iprange

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



cat list_file | iprange


iprange list_file

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.3 kB) Copy SHA256 Hash SHA256
Source None Nov 13, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting