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.2.tar.gz
(1.9 kB
view details)
File details
Details for the file inarpa-0.1.2.tar.gz.
File metadata
- Download URL: inarpa-0.1.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46cac0ecd24a51e4cb6a977e04f0f02c128afc3631f53e1c938ec11c05850fb1
|
|
| MD5 |
b99b07ff80d24e3f9feed5465680bf1a
|
|
| BLAKE2b-256 |
8daa3fbee660f5b282fcdb03f120e879f7c8ae900b7f9a267f3cafc91d3ceea1
|