Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
run: |
bash ./bin/publish-pypi
env:
PYPI_TOKEN: ${{ secrets.ARCADE_ENGINE_PYPI_TOKEN || secrets.PYPI_TOKEN }}
PYPI_TOKEN: ${{ secrets.ARCADE_AI_PYPI_TOKEN || secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
run: |
bash ./bin/check-release-environment
env:
PYPI_TOKEN: ${{ secrets.ARCADE_ENGINE_PYPI_TOKEN || secrets.PYPI_TOKEN }}
PYPI_TOKEN: ${{ secrets.ARCADE_AI_PYPI_TOKEN || secrets.PYPI_TOKEN }}
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ If you’d like to use the repository from source, you can either install from g
To install via git:

```sh
$ pip install git+ssh://git@github.com/stainless-sdks/arcade-engine-python.git
$ pip install git+ssh://git@github.com/ArcadeAI/arcade-py.git
```

Alternatively, you can build from source and install the wheel file:
Expand Down Expand Up @@ -121,7 +121,7 @@ the changes aren't made through the automated pipeline, you may want to make rel

### Publish with a GitHub workflow

You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/arcade-engine-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/ArcadeAI/arcade-py/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.

### Publish manually

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The REST API documentation can be found on [arcade-ai.com](https://arcade-ai.com
## Installation

```sh
# install from this staging repo
pip install git+ssh://git@github.com/stainless-sdks/arcade-engine-python.git
# install from the production repo
pip install git+ssh://git@github.com/ArcadeAI/arcade-py.git
```

> [!NOTE]
Expand Down Expand Up @@ -214,9 +214,9 @@ chat = response.parse() # get the object that `chat.completions()` would have r
print(chat.id)
```

These methods return an [`APIResponse`](https://github.com/stainless-sdks/arcade-engine-python/tree/main/src/arcadepy/_response.py) object.
These methods return an [`APIResponse`](https://github.com/ArcadeAI/arcade-py/tree/main/src/arcadepy/_response.py) object.

The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/arcade-engine-python/tree/main/src/arcadepy/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
The async client returns an [`AsyncAPIResponse`](https://github.com/ArcadeAI/arcade-py/tree/main/src/arcadepy/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.

#### `.with_streaming_response`

Expand Down Expand Up @@ -310,7 +310,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/arcade-engine-python/issues) with questions, bugs, or suggestions.
We are keen for your feedback; please open an [issue](https://www.github.com/ArcadeAI/arcade-py/issues) with questions, bugs, or suggestions.

### Determining the installed version

Expand Down
2 changes: 1 addition & 1 deletion bin/check-release-environment
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
errors=()

if [ -z "${PYPI_TOKEN}" ]; then
errors+=("The ARCADE_ENGINE_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
errors+=("The ARCADE_AI_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
fi

lenErrors=${#errors[@]}
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ classifiers = [
]

[project.urls]
Homepage = "https://github.com/stainless-sdks/arcade-engine-python"
Repository = "https://github.com/stainless-sdks/arcade-engine-python"
Homepage = "https://github.com/ArcadeAI/arcade-py"
Repository = "https://github.com/ArcadeAI/arcade-py"



Expand Down Expand Up @@ -123,7 +123,7 @@ path = "README.md"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
# replace relative links with absolute links
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
replacement = '[\1](https://github.com/stainless-sdks/arcade-engine-python/tree/main/\g<2>)'
replacement = '[\1](https://github.com/ArcadeAI/arcade-py/tree/main/\g<2>)'

[tool.black]
line-length = 120
Expand Down
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
],
"release-type": "python",
"extra-files": [
"src/arcade_engine/_version.py"
"src/arcadepy/_version.py"
]
}
2 changes: 1 addition & 1 deletion src/arcadepy/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "arcadepy"
__version__ = "0.0.1-alpha.0"
__version__ = "0.0.1-alpha.0" # x-release-please-version
8 changes: 4 additions & 4 deletions src/arcadepy/resources/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def with_raw_response(self) -> AuthResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return AuthResourceWithRawResponse(self)

Expand All @@ -40,7 +40,7 @@ def with_streaming_response(self) -> AuthResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return AuthResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -137,7 +137,7 @@ def with_raw_response(self) -> AsyncAuthResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return AsyncAuthResourceWithRawResponse(self)

Expand All @@ -146,7 +146,7 @@ def with_streaming_response(self) -> AsyncAuthResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return AsyncAuthResourceWithStreamingResponse(self)

Expand Down
8 changes: 4 additions & 4 deletions src/arcadepy/resources/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def with_raw_response(self) -> ChatResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return ChatResourceWithRawResponse(self)

Expand All @@ -43,7 +43,7 @@ def with_streaming_response(self) -> ChatResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return ChatResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -150,7 +150,7 @@ def with_raw_response(self) -> AsyncChatResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return AsyncChatResourceWithRawResponse(self)

Expand All @@ -159,7 +159,7 @@ def with_streaming_response(self) -> AsyncChatResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return AsyncChatResourceWithStreamingResponse(self)

Expand Down
8 changes: 4 additions & 4 deletions src/arcadepy/resources/health.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def with_raw_response(self) -> HealthResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return HealthResourceWithRawResponse(self)

Expand All @@ -35,7 +35,7 @@ def with_streaming_response(self) -> HealthResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return HealthResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -66,7 +66,7 @@ def with_raw_response(self) -> AsyncHealthResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return AsyncHealthResourceWithRawResponse(self)

Expand All @@ -75,7 +75,7 @@ def with_streaming_response(self) -> AsyncHealthResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return AsyncHealthResourceWithStreamingResponse(self)

Expand Down
8 changes: 4 additions & 4 deletions src/arcadepy/resources/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def with_raw_response(self) -> ToolsResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return ToolsResourceWithRawResponse(self)

Expand All @@ -42,7 +42,7 @@ def with_streaming_response(self) -> ToolsResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return ToolsResourceWithStreamingResponse(self)

Expand Down Expand Up @@ -188,7 +188,7 @@ def with_raw_response(self) -> AsyncToolsResourceWithRawResponse:
This property can be used as a prefix for any HTTP method call to return the
the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#accessing-raw-response-data-eg-headers
For more information, see https://www.github.com/ArcadeAI/arcade-py#accessing-raw-response-data-eg-headers
"""
return AsyncToolsResourceWithRawResponse(self)

Expand All @@ -197,7 +197,7 @@ def with_streaming_response(self) -> AsyncToolsResourceWithStreamingResponse:
"""
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/arcade-engine-python#with_streaming_response
For more information, see https://www.github.com/ArcadeAI/arcade-py#with_streaming_response
"""
return AsyncToolsResourceWithStreamingResponse(self)

Expand Down