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.tar.gz
(3.5 kB
view details)
File details
Details for the file ipoperate-1.4.tar.gz
.
File metadata
- Download URL: ipoperate-1.4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 242f4a4244d81bf57697bfa501e9e86000e138ce22d9e62e69d24cfba2875253 |
|
MD5 | b3cfbd51322793b0cbb6fa732662778b |
|
BLAKE2b-256 | 1d2936bc40e1a762b7e68942a793e215d454249958de9981664b36a8a4d1443d |