inarpa creates valid in-addr.arpa names of ipv4-addresses.
Project description
The module exposes the create function which takes a ipv4-address and optionally a suffix.
Example
>>> import inarpa >>> inarpa.create('192.168.0.1') '1.0.168.192.in-addr.arpa' >>> inarpa.create('192.168.0.1', 'ix.dnsbl.manitu.net') '1.0.168.192.ix.dnsbl.manitu.net'
Installation
Install inarpa with pip install inarpa or just download inarpa.py and place it in your project directory.
License
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
inarpa-0.1.0.tar.gz
(1.8 kB
view details)
File details
Details for the file inarpa-0.1.0.tar.gz
.
File metadata
- Download URL: inarpa-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a5d0ba4d99e455c316036eb8347ecfe03e495c2649d8387e6293c88fec6238 |
|
MD5 | ad283f051f62647a2a5acc288067665f |
|
BLAKE2b-256 | e15e93ea5e4d3733700a1f9b2b153f25d8394b16dd8924ab6454294bfc3beb16 |