Skip to content
NS1 Python SDK
Branch: master
Clone or download
Latest commit c7b854e May 8, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc RE-175 Add IPAM Apr 19, 2019
examples update documentation to use ns1 Nov 4, 2016
ns1 update dhcp options May 8, 2019
tests RE-175 Add IPAM Apr 19, 2019
.gitignore gitignore: add .eggs dir Nov 1, 2016
.travis.yml travis: fix environment installation Jan 24, 2018
README.rst README: fix update links to documentation Jan 25, 2018
requirements.txt some work towards async Jun 6, 2014
setup.cfg Adds test deps to Jun 12, 2016 build: update package name to ns1-python Jan 24, 2018
tox.ini rename nsone module to ns1 Nov 4, 2016


NS1 Python SDK

Info:A Python SDK for accessing NS1, the Data Driven DNS platform.


This package provides a python SDK for accessing the NS1 DNS platform and includes both a simple NS1 REST API wrapper as well as a higher level interface for managing zones, records, data feeds, and more. It supports synchronous and asynchronous transports.

Both python 2.7 and 3.3 are supported.


$ pip install ns1-python


None, but supports different transport backends. Currently supported:

  • requests (synchronous, the default if available)
  • urllib (synchronous, the default if requests isn't available)
  • twisted (asynchronous)

Other transports are easy to add, see transport


See the examples directory


If you don't yet have an NS1 account, signup here (free)

You'll need an API Key. To create one, login to the portal and click on the Account button in the top right. Select Settings & Users, then add a new API Key at the bottom.


We welcome contributions! Please fork on GitHub and submit a Pull Request.

You can’t perform that action at this time.