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.

Source Distribution

inarpa-0.1.1.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file inarpa-0.1.1.tar.gz.

File metadata

  • Download URL: inarpa-0.1.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for inarpa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d514df7744bc892048dbc73995713185e914802e57f15817163bef9af491cfc7
MD5 66e6a14c4f8acd1805d6765501c1afe8
BLAKE2b-256 607d66541c824c2e7402269a3e685700479601eb1ba12a0c9090103f7e15ef4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page