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 details)
File details
Details for the file ipoperate-1.4.1.tar.gz
.
File metadata
- Download URL: ipoperate-1.4.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f662573491a1018008fa995e3c24c23553c434e5d8e999ed49b5eefb6574ea61 |
|
MD5 | bd4a01c0ab302fe0e753c67c8891ed92 |
|
BLAKE2b-256 | fcd5ca7cc28df1a8af2420a3c3e4f8afd22f6aa30f0f016330b64f3766fa59da |