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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+28-24Lines changed: 28 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,13 @@
2
2
3
3
### With Rye
4
4
5
-
We use [Rye](https://rye-up.com/) to manage dependencies so we highly recommend [installing it](https://rye-up.com/guide/installation/) as it will automatically provision a Python environment with the expected Python version.
5
+
We use [Rye](https://rye.astral.sh/) to manage dependencies because it will automatically provision a Python environment with the expected Python version. To set it up, run:
6
6
7
-
After installing Rye, you'll just have to run this command:
7
+
```sh
8
+
$ ./scripts/bootstrap
9
+
```
10
+
11
+
Or [install Rye manually](https://rye.astral.sh/guide/installation/) and run:
The Dataherald Python library provides convenient access to the Dataherald REST API from any Python 3.7+
5
+
The Dataherald Python library provides convenient access to the Dataherald REST API from any Python 3.8+
6
6
application. The library includes type definitions for all request params and response fields,
7
7
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
8
8
9
9
It is generated with [Stainless](https://www.stainlessapi.com/).
10
10
11
11
## Documentation
12
12
13
-
The REST API documentation can be found [on dataherald.readthedocs.io](https://dataherald.readthedocs.io/en/latest/). The full API of this library can be found in [api.md](api.md).
13
+
The REST API documentation can be found on [dataherald.readthedocs.io](https://dataherald.readthedocs.io/en/latest/). The full API of this library can be found in [api.md](api.md).
By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.
@@ -314,6 +320,21 @@ We take backwards-compatibility seriously and work hard to ensure you can rely o
314
320
315
321
We are keen for your feedback; please open an [issue](https://www.github.com/Dataherald/dataherald-python/issues) with questions, bugs, or suggestions.
316
322
323
+
### Determining the installed version
324
+
325
+
If you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.
326
+
327
+
You can determine the version that is being used at runtime with:
328
+
329
+
```py
330
+
import dataherald
331
+
print(dataherald.__version__)
332
+
```
333
+
317
334
## Requirements
318
335
319
-
Python 3.7 or higher.
336
+
Python 3.8 or higher.
337
+
338
+
## Contributing
339
+
340
+
See [the contributing documentation](./CONTRIBUTING.md).
0 commit comments