Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

A script that allows you to import a Bind zone file into your DNSimple account.

Project description

This script allows you to import a Bind zone file into your DNSimple account.

Installing

To install current version using pip, issue:

$ sudo pip install dnsimple-zoneimport

Usage

dnsimple_zoneimport --help:

DNSimple Zone File Importer.

Usage:
    dnsimple_zoneimport -e <email> -t <api-token> <zonefile>
    dnsimple_zoneimport -h | --help
    dnsimple_zoneimport -v | --version

Options:
    -e            DNSimple email address.
    -t            DNSimple API token (see https://dnsimple.com/account).
    -h --help     Show this screen.
    -v --version  Show version.

Development

If you have checked out the source code, start the script with

python -m dnsimple_zoneimport.importer

Testing

To test, the pytest library is required:

$ pip install pytest

Then run the tests:

$ py.test

Sourcecode

The sourcecode is available on Github: https://github.com/wbrp/dnsimple-zoneimport

Coding Guidelines

PEP8 via flake8 with max-line-width set to 99 and E126-E128 ignored.

Versioning

This project uses Semantic Versioning.

License

The code is licensed under the MIT license. See LICENSE file for more details.

Project details


Download files

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

Files for dnsimple-zoneimport, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size dnsimple-zoneimport-0.1.1.tar.gz (5.2 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