annotate doc/installation.rst @ 429:97eff033c8f8

Update README
author Amine Sehili <amine.sehili@gmail.com>
date Wed, 30 Oct 2024 11:17:38 +0100
parents c6308873f239
children 81bc2375354f
rev   line source
amine@369 1 Installation
amine@369 2 ------------
amine@369 3
amine@369 4 A basic version of ``auditok`` will run with standard Python (>=3.4). However,
amine@369 5 without installing additional dependencies, ``auditok`` can only deal with audio
amine@369 6 files in *wav* or *raw* formats. if you want more features, the following
amine@369 7 packages are needed:
amine@369 8
amine@377 9 - `pydub <https://github.com/jiaaro/pydub>`_ : read audio files in popular audio formats (ogg, mp3, etc.) or extract audio from a video file.
amine@377 10 - `pyaudio <https://people.csail.mit.edu/hubert/pyaudio>`_ : read audio data from the microphone and play audio back.
amine@377 11 - `tqdm <https://github.com/tqdm/tqdm>`_ : show progress bar while playing audio clips.
amine@377 12 - `matplotlib <https://matplotlib.org/stable/index.html>`_ : plot audio signal and detections.
amine@377 13 - `numpy <https://numpy.org/>`_ : required by matplotlib. Also used for some math operations instead of standard python if available.
amine@377 14
amine@377 15
amine@377 16 Install the latest stable version with pip:
amine@377 17
amine@377 18 .. code:: bash
amine@377 19
amine@377 20 sudo pip install auditok
amine@377 21
amine@377 22 Install with the latest development version from github:
amine@377 23
amine@377 24 .. code:: bash
amine@377 25
amine@377 26 pip install git+https://github.com/amsehili/auditok
amine@377 27
amine@377 28 or
amine@377 29
amine@377 30 .. code:: bash
amine@377 31
amine@377 32 git clone https://github.com/amsehili/auditok.git
amine@377 33 cd auditok
amine@377 34 python setup.py install