@@ -31,11 +31,11 @@ python-isal
3131===========
3232
3333Faster zlib and gzip compatible compression and decompression
34- by providing python bindings for the isa-l library.
34+ by providing Python bindings for the ISA-L library.
3535
36- This package provides Python bindings for the `isa-l
36+ This package provides Python bindings for the `ISA-L
3737<https://github.com/intel/isa-l> `_ library. The Intel Infrastructure Storage
38- Acceleration Library (isa-l ) implements several key algorithms in `assembly
38+ Acceleration Library (ISA-L ) implements several key algorithms in `assembly
3939language <https://en.wikipedia.org/wiki/Assembly_language> `_. This includes
4040a variety of functions to provide zlib/gzip-compatible compression.
4141
@@ -45,54 +45,58 @@ and ``gzip`` modules from the stdlib (with some minor exceptions, see below).
4545
4646Installation
4747------------
48- Recommended installation via conda
49- ..................................
50- The recommended installation is an installation via Conda. For example using
51- the `miniconda <https://docs.conda.io/en/latest/miniconda.html >`_ installer
52- with a properly setup `conda-forge
53- <https://conda-forge.org/docs/user/introduction.html#how-can-i-install-packages-from-conda-forge> `_
54- channel. When used with bioinformatics tools setting up `bioconda
55- <http://bioconda.github.io/user/install.html#install-conda> `_
56- provides a clear set of installation instructions for conda.
48+ Installation with pip
49+ .....................
50+ Python-isal can be installed with::
5751
58- python-isal is available on conda-forge and can be installed with
52+ pip install isal
5953
60- .. code-block ::
54+ This will include a staticallly linked version of isa-l. On Linux, wheels
55+ are provided. If a wheel is not provided for your system the installation will
56+ build ISA-L first in a temporary directory. Please check the `ISA-L homepage
57+ <https://github.com/intel/isa-l> `_ for the build requirements.
6158
62- conda install python-isal
59+ The latest development version of python-isal can be installed with::
6360
64- This will automatically install the isa-l library dependency as well, since
65- it is available on conda-forge.
61+ pip install git+https://github.com/rhpvorderman/python-isal.git
6662
67- Installation with pip
68- .....................
69- isa-l version 2.26.0 or higher is needed on your system. This includes bindings
70- for the adler32 function.
63+ If you wish to link
64+ dynamically against a version of libisal installed on your system use::
7165
72- isa-l is available in numerous Linux distro's as well as on conda via the
66+ PYTHON_ISAL_LINK_DYNAMIC=true pip install isal
67+
68+ ISA-L is available in numerous Linux distro's as well as on conda via the
7369conda-forge channel. Checkout the `ports documentation
74- <https://github.com/intel/isa-l/wiki/Ports--Repos> `_ on the isa-l project wiki
75- to find out how to install it. It is important that the development headers
70+ <https://github.com/intel/isa-l/wiki/Ports--Repos> `_ on the ISA-L project wiki
71+ to find out how to install it. It is important that the development headers
7672are also installed.
7773
78- On debian and ubuntu the isa-l libraries (including the development headers)
79- can be installed with:
74+ On Debian and Ubuntu the ISA-L libraries (including the development headers)
75+ can be installed with:
8076
8177.. code-block ::
8278
8379 sudo apt install libisal-dev
8480
85- python-isal can be installed via pypi with:
81+ Installation via conda
82+ ..................................
83+ Python-isal can be installed via conda, for example using
84+ the `miniconda <https://docs.conda.io/en/latest/miniconda.html >`_ installer
85+ with a properly setup `conda-forge
86+ <https://conda-forge.org/docs/user/introduction.html#how-can-i-install-packages-from-conda-forge> `_
87+ channel. When used with bioinformatics tools setting up `bioconda
88+ <http://bioconda.github.io/user/install.html#install-conda> `_
89+ provides a clear set of installation instructions for conda.
8690
87- .. code-block ::
91+ python-isal is available on conda-forge and can be installed with
8892
89- pip install isal
93+ .. code-block ::
9094
91- The latest development version of python-isal can be installed with
95+ conda install python-isal
9296
93- .. code-block ::
97+ This will automatically install the isa-l library dependency as well, since
98+ it is available on conda-forge.
9499
95- pip install git+https://github.com/rhpvorderman/python-isal.git
96100
97101Usage
98102-----
@@ -122,7 +126,7 @@ Differences with zlib and gzip modules
122126
123127+ Compression level 0 in ``zlib `` and ``gzip `` means **no compression **, while
124128 in ``isal_zlib `` and ``igzip `` this is the **lowest compression level **.
125- This is a design choice that was inherited from the isa-l library.
129+ This is a design choice that was inherited from the ISA-L library.
126130+ Compression levels range from 0 to 3, not 1 to 9.
127131+ ``isal_zlib.crc32 `` and ``isal_zlib.adler32 `` do not support negative
128132 numbers for the value parameter.
0 commit comments