Skip to content

Commit 6fa1b74

Browse files
authored
Update base url to needle.app (#9)
1 parent e3ddc9d commit 6fa1b74

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![PyPI - Version](https://img.shields.io/pypi/v/needle-python.svg)](https://pypi.org/project/needle-python)
44
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/needle-python.svg)](https://pypi.org/project/needle-python)
55

6-
This Python library provides convenient acccess to Needle API. There are various methods and data types which, we believe will help you explore Needle API quickly. There may be some functionality available in REST API earlier than this Python library. In any case, we recommend to take look the the complete [documentation](https://docs.needle-ai.com). Thank you for flying with us. 🚀
6+
This Python library provides convenient acccess to Needle API. There are various methods and data types which, we believe will help you explore Needle API quickly. There may be some functionality available in REST API earlier than this Python library. In any case, we recommend to take look the the complete [documentation](https://docs.needle.app). Thank you for flying with us. 🚀
77

88
## Installation
99

@@ -15,7 +15,7 @@ pip install needle-python
1515

1616
## Usage ⚡️
1717

18-
To get started, generate an API key for your account in developer settings menu at [Needle](https://needle-ai.com). Note that your key will be valid until you revoke it. Set the following env variable before you run your code:
18+
To get started, generate an API key for your account in developer settings menu at [Needle](https://needle.app). Note that your key will be valid until you revoke it. Set the following env variable before you run your code:
1919

2020
```
2121
export NEEDLE_API_KEY=<your-api-key>

needle/v1/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from needle.v1.files import NeedleFiles
1515

1616

17-
NEEDLE_DEFAULT_URL = "https://needle-ai.com"
17+
NEEDLE_DEFAULT_URL = "https://needle.app"
1818

1919

2020
class NeedleClient(NeedleBaseClient):
@@ -26,7 +26,7 @@ class NeedleClient(NeedleBaseClient):
2626
2727
Initialize the client with an API key and an optional URL.
2828
If no API key is provided, the client will use the `NEEDLE_API_KEY` environment variable.
29-
If no URL is provided, the client will use the default Needle API URL, that is https://needle-ai.com.
29+
If no URL is provided, the client will use the default Needle API URL, that is https://needle.app.
3030
3131
Attributes:
3232
collections (NeedleCollections): A client for managing collections within the Needle API.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "needle-python"
7-
version = "0.5.0"
7+
version = "0.6.0"
88
description = "Needle client library for Python"
99
authors = [
1010
"Onur Eken <m.onureken@gmail.com>",
@@ -32,8 +32,8 @@ classifiers = [
3232
]
3333

3434
[tool.poetry.urls]
35-
homepage = "https://needle-ai.com"
36-
documentation = "https://docs.needle-ai.com"
35+
homepage = "https://needle.app"
36+
documentation = "https://docs.needle.app"
3737
repository = "https://github.com/oeken/needle-python"
3838
issues = "https://github.com/oeken/needle-python/issues"
3939

0 commit comments

Comments
 (0)