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.3.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file ipoperate-1.3.tar.gz.

File metadata

  • Download URL: ipoperate-1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ipoperate-1.3.tar.gz
Algorithm Hash digest
SHA256 1c8d84d2b6af416e8f9d95fe38f3e025930cf94cd3398b4d312010d0e3cd350f
MD5 3a108d7361b49de3e767ff02070ef22e
BLAKE2b-256 4e577c2d69b608948cd2841c06afa30237d806d87f49bec06a1d027d82e78be5

See more details on using hashes here.

Supported by

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