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
PySTAC is a library for working with [SpatialTemporal Asset Catalog](https://stacspec.org) in Python 3.
10
10
11
11
## Installation
12
12
13
-
PySTAC has a single dependency (`python-dateutil`).
13
+
PySTAC has a single required dependency (`python-dateutil`).
14
14
PySTAC can be installed from pip or the source repository.
15
15
16
16
```bash
17
17
> pip install pystac
18
18
```
19
19
20
-
if you'd like to enable the validation feature utilizing the [jsonschema](https://pypi.org/project/jsonschema/) project, install with the optional `validation` requirements:
20
+
If you would like to enable the validation feature utilizing the
21
+
[jsonschema](https://pypi.org/project/jsonschema/) project, install with the optional
22
+
`validation` requirements:
21
23
22
24
23
25
```bash
24
26
> pip install pystac[validation]
25
27
```
26
28
29
+
If you would like to use the [`orjson`](https://pypi.org/project/orjson/) instead of the
30
+
standard `json` library for JSON serialization/deserialization, install with the
31
+
optional `orjson` requirements:
32
+
33
+
```bash
34
+
> pip install pystac[orjson]
35
+
```
36
+
27
37
From source repository:
28
38
29
39
```bash
@@ -34,28 +44,31 @@ From source repository:
34
44
35
45
36
46
#### Versions
37
-
To install a specific versions of STAC, install the matching version of pystac.
38
-
39
-
```bash
40
-
> pip install pystac==0.5.*
41
-
```
42
-
43
-
The table below shows the corresponding versions between pystac and STAC:
47
+
To install a version of PySTAC that works with a specific versions of the STAC
48
+
specification, install the matching version of PySTAC from the following table.
44
49
45
-
|pystac| STAC |
50
+
|PySTAC| STAC |
46
51
| ------ | ----- |
47
52
| 1.x | 1.0.x |
48
53
| 0.5.x | 1.0.0-beta.*|
49
54
| 0.4.x | 0.9.x |
50
55
| 0.3.x | 0.8.x |
51
56
57
+
For instance, to work with STAC v0.9.x:
58
+
59
+
```bash
60
+
pip install pystac==0.4.0
61
+
```
62
+
63
+
STAC spec versions below 0.8 are not supported by PySTAC.
64
+
52
65
## Documentation
53
66
54
67
See the [documentation page](https://pystac.readthedocs.io/en/latest/) for the latest docs.
55
68
56
69
## Developing
57
70
58
-
See [contributing docs](docs/contributing.rst)
71
+
See [contributing docs](docs/contributing.rst) for details on contributing to this project.
0 commit comments