Skip to content

Commit 2c177c7

Browse files
chore: update SDK settings
1 parent 19fe0dd commit 2c177c7

5 files changed

Lines changed: 98 additions & 101 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 9
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nanonets%2Fdocstrange-a418fe45369669cc2d14b549ee010f3a7ee52f6e47fea3489e560d33064be099.yml
33
openapi_spec_hash: 02f7f52faae1eb42188c290c32c25f10
4-
config_hash: c087f5b6085f5869d1403c39fc1e3db2
4+
config_hash: ed1c4120702af3765a79005ac3ed79a9

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Docstrange Python API library
22

33
<!-- prettier-ignore -->
4-
[![PyPI version](https://img.shields.io/pypi/v/docstrange.svg?label=pypi%20(stable))](https://pypi.org/project/docstrange/)
4+
[![PyPI version](https://img.shields.io/pypi/v/docstrange-api.svg?label=pypi%20(stable))](https://pypi.org/project/docstrange-api/)
55

66
The Docstrange Python library provides convenient access to the Docstrange REST API from any Python 3.9+
77
application. The library includes type definitions for all request params and response fields,
@@ -16,13 +16,10 @@ The full API of this library can be found in [api.md](api.md).
1616
## Installation
1717

1818
```sh
19-
# install from the production repo
20-
pip install git+ssh://git@github.com/NanoNets/docstrange-python.git
19+
# install from PyPI
20+
pip install docstrange-api
2121
```
2222

23-
> [!NOTE]
24-
> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install docstrange`
25-
2623
## Usage
2724

2825
The full API of this library can be found in [api.md](api.md).
@@ -79,8 +76,8 @@ By default, the async client uses `httpx` for HTTP requests. However, for improv
7976
You can enable this by installing `aiohttp`:
8077

8178
```sh
82-
# install from the production repo
83-
pip install 'docstrange[aiohttp] @ git+ssh://git@github.com/NanoNets/docstrange-python.git'
79+
# install from PyPI
80+
pip install docstrange-api[aiohttp]
8481
```
8582

8683
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "docstrange"
2+
name = "docstrange-api"
33
version = "0.0.1"
44
description = "The official Python library for the docstrange API"
55
dynamic = ["readme"]

requirements-dev.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotated-types==0.7.0
55
# via pydantic
66
anyio==4.12.1
77
# via
8-
# docstrange
8+
# docstrange-api
99
# httpx
1010
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
1111
# via pytest-asyncio
@@ -17,7 +17,7 @@ colorama==0.4.6 ; sys_platform == 'win32'
1717
# via pytest
1818
dirty-equals==0.11
1919
distro==1.9.0
20-
# via docstrange
20+
# via docstrange-api
2121
exceptiongroup==1.3.1 ; python_full_version < '3.11'
2222
# via
2323
# anyio
@@ -30,7 +30,7 @@ httpcore==1.0.9
3030
# via httpx
3131
httpx==0.28.1
3232
# via
33-
# docstrange
33+
# docstrange-api
3434
# respx
3535
idna==3.11
3636
# via
@@ -59,7 +59,7 @@ pathspec==1.0.3
5959
pluggy==1.6.0
6060
# via pytest
6161
pydantic==2.12.5
62-
# via docstrange
62+
# via docstrange-api
6363
pydantic-core==2.41.5
6464
# via pydantic
6565
pygments==2.19.2
@@ -86,7 +86,7 @@ ruff==0.14.13
8686
six==1.17.0 ; python_full_version < '3.10'
8787
# via python-dateutil
8888
sniffio==1.3.1
89-
# via docstrange
89+
# via docstrange-api
9090
time-machine==2.19.0 ; python_full_version < '3.10'
9191
time-machine==3.2.0 ; python_full_version >= '3.10'
9292
tomli==2.4.0 ; python_full_version < '3.11'
@@ -96,7 +96,7 @@ tomli==2.4.0 ; python_full_version < '3.11'
9696
typing-extensions==4.15.0
9797
# via
9898
# anyio
99-
# docstrange
99+
# docstrange-api
100100
# exceptiongroup
101101
# mypy
102102
# pydantic

0 commit comments

Comments
 (0)