convert_subnet: Convert Prefix Length To Subnet Mask & Vice-Versa
Project description
This Project Is Used To Convert Network Subnet Mask (For Example: 255.255.255.0) To Prefix Length/CIDR Suffix (For Example: 24) and Vice-Versa.
Installation
# pip install subnetinfo setuptools
# pip install convert_subnet
How To Use
# convert_subnet -s Subnet_Mask_Value
# convert_subnet -c Prefix_Length_Value
Example
Command | Output |
---|---|
# convert_subnet -s 255.255.255.0 | 24 |
# convert_subnet -c 28 | 255.255.255.240 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
convert_subnet-3.1.2.tar.gz
(3.3 kB
view details)
Built Distributions
File details
Details for the file convert_subnet-3.1.2.tar.gz
.
File metadata
- Download URL: convert_subnet-3.1.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.8.2 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.26.0 rfc3986/1.5.0 tqdm/4.64.0 urllib3/1.26.5 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3066390ec7066e9c40c848eb977f92b83395c76618e2b511ca61745ea36b42c |
|
MD5 | 13b3037b2b25f8e2bbf40053abbe8161 |
|
BLAKE2b-256 | 77dd8e26e68eadc29936aeed14039566333f71182f21d902340c8b04c69d1cb6 |
File details
Details for the file convert_subnet-3.1.2-py3.10.egg
.
File metadata
- Download URL: convert_subnet-3.1.2-py3.10.egg
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.8.2 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.26.0 rfc3986/1.5.0 tqdm/4.64.0 urllib3/1.26.5 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d3492a294522d12cc3053d4ea14abb6f58dc6b82395b81a13b9a66d9e3158da |
|
MD5 | 727c015e82dca98c835a93401634c864 |
|
BLAKE2b-256 | 56027dc1cc9e402ba2e5f063160c93a34a21be183e13237e24a084d341958c5a |
File details
Details for the file convert_subnet-3.1.2-py3-none-any.whl
.
File metadata
- Download URL: convert_subnet-3.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.8.2 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.26.0 rfc3986/1.5.0 tqdm/4.64.0 urllib3/1.26.5 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd5b6cd934fc7769be92680284c0d1bdc5aa5644da0e1834494796e01d7a74d4 |
|
MD5 | 10bbb33251732e0f2bafcbd61ba58689 |
|
BLAKE2b-256 | eac69d6662a831747b2b5fc84c951e41e018ce0e38d4a32893221320d02c9ef4 |