Skip to content

Commit d7aec32

Browse files
committed
doco
1 parent 8ba41ad commit d7aec32

File tree

2 files changed

+39
-9
lines changed

2 files changed

+39
-9
lines changed

docs/abc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Base Codec class
2-
================
1+
Codec
2+
=====
33
.. module:: numcodecs.abc
44

55
.. autoclass:: Codec

docs/index.rst

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,47 @@
44
Numcodecs
55
=========
66

7-
TODO
7+
This package contains compression and other codecs intended primarily for use
8+
with numerical data.
89

9-
Status
10-
------
11-
12-
TODO
10+
If you have a question, find a bug, would like to make a suggestion or
11+
contribute code, please `raise an issue on GitHub
12+
<https://github.com/alimanfoo/numcodecs/issues>`_.
1313

1414
Installation
1515
------------
1616

17-
TODO
17+
Numcodecs depends on NumPy. It is generally best to `install NumPy
18+
<http://docs.scipy.org/doc/numpy/user/install.html>`_ first using
19+
whatever method is most appropriate for you operating system and
20+
Python distribution.
21+
22+
Install from PyPI::
23+
24+
$ pip install numcodecs
25+
26+
Alternatively, install via conda::
27+
28+
$ conda install -c conda-forge numcodecs
29+
30+
Numcodecs includes a C extension providing integration with the Blosc_
31+
library. Installing via conda will install a pre-compiled binary distribution.
32+
However, if you have a newer CPU that supports the AVX2 instruction set (e.g.,
33+
Intel Haswell, Broadwell or Skylake) then installing via pip is preferable,
34+
because this will compile the Blosc library from source with optimisations
35+
for AVX2.
36+
37+
To work with Numcodecs source code in development, install from GitHub::
38+
39+
$ git clone --recursive https://github.com/alimanfoo/numcodecs.git
40+
$ cd numcodecs
41+
$ python setup.py install
42+
43+
To verify that Numcodecs has been fully installed (including the Blosc
44+
extension) run the test suite::
45+
46+
$ pip install nose
47+
$ python -m nose -v numcodecs
1848

1949
Contents
2050
--------
@@ -37,7 +67,7 @@ Acknowledgments
3767
---------------
3868

3969
Numcodecs bundles the `c-blosc <https://github.com/Blosc/c-blosc>`_
40-
library and uses it as the default compressor.
70+
library.
4171

4272
Development of this package is supported by the
4373
`MRC Centre for Genomics and Global Health <http://www.cggh.org>`_.

0 commit comments

Comments
 (0)