Skip to content

Commit b7424d7

Browse files
chore(internal): updates
1 parent 8a2cc9f commit b7424d7

File tree

19 files changed

+70
-70
lines changed

19 files changed

+70
-70
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow is triggered when a GitHub release is created.
22
# It can also be run manually to re-publish to PyPI in case it failed for some reason.
3-
# You can run this workflow by navigating to https://www.github.com/zeke/replicate-client-python-prod-for-fun/actions/workflows/publish-pypi.yml
3+
# You can run this workflow by navigating to https://www.github.com/replicate/replicate-python-stainless/actions/workflows/publish-pypi.yml
44
name: Publish PyPI
55
on:
66
workflow_dispatch:

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
release_doctor:
1010
name: release doctor
1111
runs-on: ubuntu-latest
12-
if: github.repository == 'zeke/replicate-client-python-prod-for-fun' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
12+
if: github.repository == 'replicate/replicate-python-stainless' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
1515
- uses: actions/checkout@v4

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 27
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-b45f922f6a041550870a96f5acec02aa6d8830046fc98b95a275c6486f7586fc.yml
33
openapi_spec_hash: ef7fddfb49b4d9c440b0635d2c86f341
4-
config_hash: 93f687135e6d45a0f0f83fbfdcb1d8c9
4+
config_hash: 919042036f115da833f492aa6f7e3ada

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ If you’d like to use the repository from source, you can either install from g
6363
To install via git:
6464

6565
```sh
66-
$ pip install git+ssh://[email protected]/zeke/replicate-client-python-prod-for-fun.git
66+
$ pip install git+ssh://[email protected]/replicate/replicate-python-stainless.git
6767
```
6868

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

122122
### Publish with a GitHub workflow
123123

124-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/zeke/replicate-client-python-prod-for-fun/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
124+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/replicate/replicate-python-stainless/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
125125

126126
### Publish manually
127127

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Replicate Client Python API library
22

3-
[![PyPI version](https://img.shields.io/pypi/v/replicate-zeke-test-stainless.svg)](https://pypi.org/project/replicate-zeke-test-stainless/)
3+
[![PyPI version](https://img.shields.io/pypi/v/replicate-stainless.svg)](https://pypi.org/project/replicate-stainless/)
44

55
The Replicate Client Python library provides convenient access to the Replicate Client REST API from any Python 3.8+
66
application. The library includes type definitions for all request params and response fields,
@@ -16,7 +16,7 @@ The REST API documentation can be found on [replicate.com](https://replicate.com
1616

1717
```sh
1818
# install from PyPI
19-
pip install --pre replicate-zeke-test-stainless
19+
pip install --pre replicate-stainless
2020
```
2121

2222
## Usage
@@ -270,9 +270,9 @@ account = response.parse() # get the object that `accounts.list()` would have r
270270
print(account.type)
271271
```
272272

273-
These methods return an [`APIResponse`](https://github.com/zeke/replicate-client-python-prod-for-fun/tree/main/src/replicate/_response.py) object.
273+
These methods return an [`APIResponse`](https://github.com/replicate/replicate-python-stainless/tree/main/src/replicate/_response.py) object.
274274

275-
The async client returns an [`AsyncAPIResponse`](https://github.com/zeke/replicate-client-python-prod-for-fun/tree/main/src/replicate/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
275+
The async client returns an [`AsyncAPIResponse`](https://github.com/replicate/replicate-python-stainless/tree/main/src/replicate/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
276276

277277
#### `.with_streaming_response`
278278

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

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

379-
We are keen for your feedback; please open an [issue](https://www.github.com/zeke/replicate-client-python-prod-for-fun/issues) with questions, bugs, or suggestions.
379+
We are keen for your feedback; please open an [issue](https://www.github.com/replicate/replicate-python-stainless/issues) with questions, bugs, or suggestions.
380380

381381
### Determining the installed version
382382

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "replicate-zeke-test-stainless"
2+
name = "replicate-stainless"
33
version = "0.0.1-alpha.0"
44
description = "The official Python library for the replicate-client API"
55
dynamic = ["readme"]
@@ -34,8 +34,8 @@ classifiers = [
3434
]
3535

3636
[project.urls]
37-
Homepage = "https://github.com/zeke/replicate-client-python-prod-for-fun"
38-
Repository = "https://github.com/zeke/replicate-client-python-prod-for-fun"
37+
Homepage = "https://github.com/replicate/replicate-python-stainless"
38+
Repository = "https://github.com/replicate/replicate-python-stainless"
3939

4040

4141
[tool.rye]
@@ -121,7 +121,7 @@ path = "README.md"
121121
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
122122
# replace relative links with absolute links
123123
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
124-
replacement = '[\1](https://github.com/zeke/replicate-client-python-prod-for-fun/tree/main/\g<2>)'
124+
replacement = '[\1](https://github.com/replicate/replicate-python-stainless/tree/main/\g<2>)'
125125

126126
[tool.pytest.ini_options]
127127
testpaths = ["tests"]

requirements-dev.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ annotated-types==0.6.0
1414
# via pydantic
1515
anyio==4.4.0
1616
# via httpx
17-
# via replicate-zeke-test-stainless
17+
# via replicate-stainless
1818
argcomplete==3.1.2
1919
# via nox
2020
certifi==2023.7.22
@@ -26,7 +26,7 @@ dirty-equals==0.6.0
2626
distlib==0.3.7
2727
# via virtualenv
2828
distro==1.8.0
29-
# via replicate-zeke-test-stainless
29+
# via replicate-stainless
3030
exceptiongroup==1.2.2
3131
# via anyio
3232
# via pytest
@@ -37,7 +37,7 @@ h11==0.14.0
3737
httpcore==1.0.2
3838
# via httpx
3939
httpx==0.28.1
40-
# via replicate-zeke-test-stainless
40+
# via replicate-stainless
4141
# via respx
4242
idna==3.4
4343
# via anyio
@@ -64,7 +64,7 @@ platformdirs==3.11.0
6464
pluggy==1.5.0
6565
# via pytest
6666
pydantic==2.10.3
67-
# via replicate-zeke-test-stainless
67+
# via replicate-stainless
6868
pydantic-core==2.27.1
6969
# via pydantic
7070
pygments==2.18.0
@@ -86,7 +86,7 @@ six==1.16.0
8686
# via python-dateutil
8787
sniffio==1.3.0
8888
# via anyio
89-
# via replicate-zeke-test-stainless
89+
# via replicate-stainless
9090
time-machine==2.9.0
9191
tomli==2.0.2
9292
# via mypy
@@ -97,7 +97,7 @@ typing-extensions==4.12.2
9797
# via pydantic
9898
# via pydantic-core
9999
# via pyright
100-
# via replicate-zeke-test-stainless
100+
# via replicate-stainless
101101
virtualenv==20.24.5
102102
# via nox
103103
zipp==3.17.0

requirements.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ annotated-types==0.6.0
1414
# via pydantic
1515
anyio==4.4.0
1616
# via httpx
17-
# via replicate-zeke-test-stainless
17+
# via replicate-stainless
1818
certifi==2023.7.22
1919
# via httpcore
2020
# via httpx
2121
distro==1.8.0
22-
# via replicate-zeke-test-stainless
22+
# via replicate-stainless
2323
exceptiongroup==1.2.2
2424
# via anyio
2525
h11==0.14.0
2626
# via httpcore
2727
httpcore==1.0.2
2828
# via httpx
2929
httpx==0.28.1
30-
# via replicate-zeke-test-stainless
30+
# via replicate-stainless
3131
idna==3.4
3232
# via anyio
3333
# via httpx
3434
pydantic==2.10.3
35-
# via replicate-zeke-test-stainless
35+
# via replicate-stainless
3636
pydantic-core==2.27.1
3737
# via pydantic
3838
sniffio==1.3.0
3939
# via anyio
40-
# via replicate-zeke-test-stainless
40+
# via replicate-stainless
4141
typing-extensions==4.12.2
4242
# via anyio
4343
# via pydantic
4444
# via pydantic-core
45-
# via replicate-zeke-test-stainless
45+
# via replicate-stainless

src/replicate/resources/accounts.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def with_raw_response(self) -> AccountsResourceWithRawResponse:
2626
This property can be used as a prefix for any HTTP method call to return
2727
the raw response object instead of the parsed content.
2828
29-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers
29+
For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers
3030
"""
3131
return AccountsResourceWithRawResponse(self)
3232

@@ -35,7 +35,7 @@ def with_streaming_response(self) -> AccountsResourceWithStreamingResponse:
3535
"""
3636
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
3737
38-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response
38+
For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response
3939
"""
4040
return AccountsResourceWithStreamingResponse(self)
4141

@@ -88,7 +88,7 @@ def with_raw_response(self) -> AsyncAccountsResourceWithRawResponse:
8888
This property can be used as a prefix for any HTTP method call to return
8989
the raw response object instead of the parsed content.
9090
91-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers
91+
For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers
9292
"""
9393
return AsyncAccountsResourceWithRawResponse(self)
9494

@@ -97,7 +97,7 @@ def with_streaming_response(self) -> AsyncAccountsResourceWithStreamingResponse:
9797
"""
9898
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
9999
100-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response
100+
For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response
101101
"""
102102
return AsyncAccountsResourceWithStreamingResponse(self)
103103

src/replicate/resources/collections.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def with_raw_response(self) -> CollectionsResourceWithRawResponse:
2525
This property can be used as a prefix for any HTTP method call to return
2626
the raw response object instead of the parsed content.
2727
28-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers
28+
For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers
2929
"""
3030
return CollectionsResourceWithRawResponse(self)
3131

@@ -34,7 +34,7 @@ def with_streaming_response(self) -> CollectionsResourceWithStreamingResponse:
3434
"""
3535
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
3636
37-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response
37+
For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response
3838
"""
3939
return CollectionsResourceWithStreamingResponse(self)
4040

@@ -90,7 +90,7 @@ def with_raw_response(self) -> AsyncCollectionsResourceWithRawResponse:
9090
This property can be used as a prefix for any HTTP method call to return
9191
the raw response object instead of the parsed content.
9292
93-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#accessing-raw-response-data-eg-headers
93+
For more information, see https://www.github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers
9494
"""
9595
return AsyncCollectionsResourceWithRawResponse(self)
9696

@@ -99,7 +99,7 @@ def with_streaming_response(self) -> AsyncCollectionsResourceWithStreamingRespon
9999
"""
100100
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
101101
102-
For more information, see https://www.github.com/zeke/replicate-client-python-prod-for-fun#with_streaming_response
102+
For more information, see https://www.github.com/replicate/replicate-python-stainless#with_streaming_response
103103
"""
104104
return AsyncCollectionsResourceWithStreamingResponse(self)
105105

0 commit comments

Comments
 (0)