Skip to main content

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.

Source Distribution

dnsimple-zoneimport-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file dnsimple-zoneimport-0.1.1.tar.gz.

File metadata

File hashes

Hashes for dnsimple-zoneimport-0.1.1.tar.gz
Algorithm Hash digest
SHA256 64192eb34e524a52b381845852b355f82694572ee22ad4ce292ca9a424906b06
MD5 6dff0175d56f777c00026981365808fa
BLAKE2b-256 62a9e4a1f75bd64dcc3cebec018d3ba67cbc4262dd9d85fe129f593a9ae0e1ed

See more details on using hashes here.

Supported by

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