Skip to main content

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

BSD

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for inarpa, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size inarpa-0.1.2.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page