Skip to content

Commit 584d66d

Browse files
authored
docs: update doc homepage (#2594)
* docs: split tutorial into multiple user guide sections * docs: replace getting_started page with quickstart * docs: update installation docs * docs: update doc homepage * fixups * fix ref to contributing guide * fixup
1 parent f1064a3 commit 584d66d

File tree

7 files changed

+72
-47
lines changed

7 files changed

+72
-47
lines changed

docs/api/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
API Reference
1+
API reference
22
=============
33

44
.. toctree::

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def skip_submodules(
107107
"getting-started": "quickstart",
108108
"release": "developers/release.html",
109109
"roadmap": "developers/roadmap.html",
110+
"installation": "user-guide/installation.html",
110111
}
111112

112113
# The language for content autogenerated by Sphinx. Refer to documentation

docs/developers/contributing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _dev-guide-contributing:
2+
13
Contributing to Zarr
24
====================
35

docs/index.rst

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Zarr-Python
99
:hidden:
1010

1111
quickstart
12-
installation
1312
user-guide/index
1413
api/index
1514
developers/index
@@ -18,16 +17,19 @@ Zarr-Python
1817

1918
**Version**: |version|
2019

21-
**Download documentation**: `PDF/Zipped HTML <https://readthedocs.org/projects/zarr/downloads/>`_
22-
2320
**Useful links**:
24-
`Installation <installation.html>`_ |
2521
`Source Repository <https://github.com/zarr-developers/zarr-python>`_ |
2622
`Issue Tracker <https://github.com/zarr-developers/zarr-python/issues>`_ |
2723
`Zulip Chat <https://ossci.zulipchat.com/>`_ |
2824
`Zarr specifications <https://zarr-specs.readthedocs.io>`_
2925

30-
Zarr is a file storage format for chunked, compressed, N-dimensional arrays based on an open-source specification.
26+
Zarr-Python is a Python library for reading and writing Zarr groups and arrays. Highlights include:
27+
28+
* Specification support for both Zarr v2 and v3.
29+
* Create and read from N-dimensional arrays using NumPy-like semantics.
30+
* Flexible storage enables reading and writing from local, cloud and in-memory stores.
31+
* High performance: Enables fast I/O with support for asynchronous I/O and multi-threading.
32+
* Extensible: Customizable with user-defined codecs and stores.
3133

3234
.. grid:: 2
3335

@@ -84,7 +86,7 @@ Zarr is a file storage format for chunked, compressed, N-dimensional arrays base
8486
:color: dark
8587
:click-parent:
8688

87-
To the api reference guide
89+
To the API reference guide
8890

8991
.. grid-item-card::
9092
:img-top: _static/index_contribute.svg
@@ -104,3 +106,8 @@ Zarr is a file storage format for chunked, compressed, N-dimensional arrays base
104106
:click-parent:
105107

106108
To the contributor's guide
109+
110+
111+
**Download documentation**: `PDF/Zipped HTML <https://readthedocs.org/projects/zarr/downloads/>`_
112+
113+
.. _NumCodecs: https://numcodecs.readthedocs.io

docs/installation.rst

Lines changed: 0 additions & 37 deletions
This file was deleted.

docs/user-guide/index.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ User guide
66
.. toctree::
77
:maxdepth: 1
88

9+
installation
910
arrays
1011
groups
1112
attributes
1213
storage
1314
config
1415
v3_migration
1516

16-
.. Coming soon
17-
installation
18-
1917
Advanced Topics
2018
---------------
2119

docs/user-guide/installation.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
Installation
2+
============
3+
4+
Required dependencies
5+
---------------------
6+
7+
Required dependencies include:
8+
9+
- `Python <https://docs.python.org/3/>`_ (3.11 or later)
10+
- `packaging <https://packaging.pypa.io>`_ (22.0 or later)
11+
- `numpy <https://numpy.org>`_ (1.25 or later)
12+
- `numcodecs[crc32c] <https://numcodecs.readthedocs.io>`_ (0.14 or later)
13+
- `typing_extensions <https://typing-extensions.readthedocs.io>`_ (4.9 or later)
14+
- `donfig <https://donfig.readthedocs.io>`_ (0.8 or later)
15+
16+
pip
17+
---
18+
19+
Zarr is available on `PyPI <https://pypi.org/project/zarr/>`_. Install it using ``pip``:
20+
21+
.. code-block:: console
22+
23+
$ pip install zarr
24+
25+
There are a number of optional dependency groups you can install for extra functionality.
26+
These can be installed using ``pip install "zarr[<extra>]"``, e.g. ``pip install "zarr[gpu]"``
27+
28+
- ``gpu``: support for GPUs
29+
- ``remote``: support for reading/writing to remote data stores
30+
31+
Additional optional dependencies include ``rich``, ``universal_pathlib``. These must be installed separately.
32+
33+
conda
34+
-----
35+
36+
Zarr is also published to `conda-forge <https://conda-forge.org>`_. Install it using ``conda``:
37+
38+
.. code-block:: console
39+
40+
$ conda install -c conda-forge zarr
41+
42+
Conda does not support optional dependencies, so you will have to manually install any packages
43+
needed to enable extra functionality.
44+
45+
Dependency support
46+
------------------
47+
Zarr has endorsed `Scientific-Python SPEC 0 <https://scientific-python.org/specs/spec-0000/>`_ and now follows the version support window as outlined below:
48+
49+
- Python: 36 months after initial release
50+
- Core package dependencies (e.g. NumPy): 24 months after initial release
51+
52+
Development
53+
-----------
54+
To install the latest development version of Zarr, see the :ref:`contributing guide <dev-guide-contributing>`.

0 commit comments

Comments
 (0)