You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, you can build from source and install the wheel file:
@@ -120,7 +120,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
120
120
121
121
### Publish with a GitHub workflow
122
122
123
-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/cas-parser-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
123
+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/CASParser/cas-parser-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
cas_parser = response.parse() # get the object that `cas_parser.cams_kfintech()` would have returned
255
+
cas_parser = response.parse() # get the object that `cas_parser.smart_parse()` would have returned
242
256
print(cas_parser.demat_accounts)
243
257
```
244
258
245
-
These methods return an [`APIResponse`](https://github.com/stainless-sdks/cas-parser-python/tree/main/src/cas_parser/_response.py) object.
259
+
These methods return an [`APIResponse`](https://github.com/CASParser/cas-parser-python/tree/main/src/cas_parser/_response.py) object.
246
260
247
-
The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/cas-parser-python/tree/main/src/cas_parser/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
261
+
The async client returns an [`AsyncAPIResponse`](https://github.com/CASParser/cas-parser-python/tree/main/src/cas_parser/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
248
262
249
263
#### `.with_streaming_response`
250
264
@@ -253,7 +267,10 @@ The above interface eagerly reads the full response body when you make the reque
253
267
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
254
268
255
269
```python
256
-
with client.cas_parser.with_streaming_response.cams_kfintech() as response:
270
+
with client.cas_parser.with_streaming_response.smart_parse(
271
+
password="ABCDF",
272
+
pdf_url="https://you-cas-pdf-url-here.com",
273
+
) as response:
257
274
print(response.headers.get("X-My-Header"))
258
275
259
276
for line in response.iter_lines():
@@ -348,7 +365,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
348
365
349
366
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
350
367
351
-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/cas-parser-python/issues) with questions, bugs, or suggestions.
368
+
We are keen for your feedback; please open an [issue](https://www.github.com/CASParser/cas-parser-python/issues) with questions, bugs, or suggestions.
0 commit comments