IP Subnet package
Project description
Jamaddr Python Package
This package Created by Jamison Emilio and packaged by Todd Albiston
Description:
Python Package adds functions to convert IP address or subnet masks to bits and bit back up IP address.
from jamaddr import JamAddr
ipbits = JamAddr.ip_to_bits("192.168.0.23")
ipbits
returns = '11000000101010000000000000010111'
from jamaddr import JamAddr
bitsip = JamAddr.bits_to_ip("11000000101010000000000000010111")
bitsip
returns = '192.168.0.23'
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
jamaddr-0.4.tar.gz
(2.1 kB
view hashes)
Built Distributions
jamaddr-0.4-py3-none-any.whl
(2.6 kB
view hashes)