Skip to content

Commit 8474faf

Browse files
authored
PENG-5835: Rename package to use underscores instead of dashes
PENG-5835: Rename package to use underscores instead of dashes
2 parents 65ad503 + a221a3a commit 8474faf

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.27.0 (December 3rd, 2025)
2+
3+
CHANGED:
4+
* Renamed package from `ns1-python` to `ns1_python` to comply with PEP 625
5+
16
## 0.26.0 (August 28th, 2025)
27

38
ENHANCEMENTS:

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ against 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13
2121
Installation
2222
============
2323

24-
$ pip install ns1-python
24+
$ pip install ns1_python
2525

2626
Dependencies
2727
============
@@ -89,3 +89,9 @@ pip install flake8 black
8989
flake8 . --count --show-source --statistics --extend-ignore=E501
9090
black . --check -l 79 --diff
9191
```
92+
93+
## NOTE
94+
95+
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).
96+
97+
You can still install the `ns1-python` package as normal.

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Both python 2.7 and 3.3 are supported.
1717

1818
Install with::
1919

20-
$ pip install ns1-python
20+
$ pip install ns1_python
2121

2222

2323
Quick Start

examples/pulsar_decisions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"""
88
Example usage of Pulsar Decisions API endpoints.
99
This example demonstrates how to query Pulsar decision analytics data
10-
using the ns1-python library.
10+
using the ns1_python library.
1111
"""
1212
from ns1 import NS1
1313
import time

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
long_description = f.read()
1111

1212
setup(
13-
name="ns1-python",
13+
name="ns1_python",
1414
# flake8: noqa
1515
version=ns1.version,
1616
description="Python SDK for the NS1 DNS platform",

0 commit comments

Comments
 (0)