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
1414Installation
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
1949Contents
2050--------
@@ -37,7 +67,7 @@ Acknowledgments
3767---------------
3868
3969Numcodecs bundles the `c-blosc <https://github.com/Blosc/c-blosc >`_
40- library and uses it as the default compressor .
70+ library.
4171
4272Development of this package is supported by the
4373`MRC Centre for Genomics and Global Health <http://www.cggh.org >`_.
0 commit comments