Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ against 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13
Installation
============

$ pip install ns1-python
$ pip install ns1_python

Dependencies
============
Expand Down Expand Up @@ -89,3 +89,9 @@ pip install flake8 black
flake8 . --count --show-source --statistics --extend-ignore=E501
black . --check -l 79 --diff
```

## NOTE

This package was originally named `ns1-python`, but to comply with [PEP 625](https://peps.python.org/pep-0625/) it was renamed to `ns1_python` via [this PR](https://github.com/ns1/ns1-python/pull/142).

You can still install the `ns1-python` package as normal.
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Both python 2.7 and 3.3 are supported.

Install with::

$ pip install ns1-python
$ pip install ns1_python


Quick Start
Expand Down
2 changes: 1 addition & 1 deletion examples/pulsar_decisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""
Example usage of Pulsar Decisions API endpoints.
This example demonstrates how to query Pulsar decision analytics data
using the ns1-python library.
using the ns1_python library.
"""
from ns1 import NS1
import time
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
long_description = f.read()

setup(
name="ns1-python",
name="ns1_python",
# flake8: noqa
version=ns1.version,
description="Python SDK for the NS1 DNS platform",
Expand Down