Skip to main content

Command-line tool for manipulating DDNS

Project description

pyafraid is a command-line tool for updating IP addresses for the DDNS service.


pyafraid can be installed using the standard python install command:

$ [sudo] python install


Once installed, simply run:

$ pyafraid update|query <username> -p <password> -n <hostname>

Or, if you’d like to use the SHA-1 hash instead of the username/password combo:

$ pyafraid update|query -s <sha_hash> -n <hostname>

For a more detailed usage description, use the --help/-h option:

$ pyafraid -h
Usage: update|query [-h] [-u <username>] [-p <password>] [-n

 -h, --help            show this help message and exit
 -u USERNAME, --username=USERNAME
                       The username
 -p PASSWORD, --password=PASSWORD
                       The associated password
 -n HOSTNAME, --hostname=HOSTNAME
                       The name of the host to update or query
 -s SHA_HASH, --sha-hash=SHA_HASH
                       The SHA-1 hash from the API interface
                       URL. Don't use this with the -u and -p options.

For example, to update to point to the current IP address, use the update argument:

$ pyafraid update -u myuser -p mypass -n
  Attempting to update
  response from server:
  ERROR: Address has not changed.

To query for information about an account, you can use the query argument:

$ pyafraid query -u myuser -p mypass



Note that specifying -n/--hostname will restrict the output to the given host.

Usage Requirements

pyafraid has only been actively tested on python 2.6, but should work with minor changes on python 2.2+. Patches are welcomed :)

Development Requirements

In order to execute unit tests (using ‘make test’) the following modules are required:
  • unittest2
  • discover
  • mock

All of these modules can be installed with easy_install:

$ [sudo] easy_install mock unittest2 discover

Reporting Bugs

Any bugs can be reported on github ( or emailed to

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for pyafraid, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyafraid-0.1.tar.gz (3.6 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