<commit_before>.. _installing:

Download and installing
=======================

VaeX is available as binary for OSX and Linux, without any dependencies. See the next section how to get it. For development, other plaforms, or for more optimized compiling of the source, you may want to build from source.


.. _installing_from_binary:

Download the binary
-------------------

The binary should be fully self contained, it should not need any other software. 

OSX (10.7 is tested):
 
* `Vaex 0.2.1-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-0.2.1-osx.zip>`_.
* `Vaex 0.1.8-5-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.8-5-osx.zip>`_.
* `Vaex 0.1.7-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.7-osx.zip>`_.
* `Vaex 0.1.6-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-osx-0.1.6.zip>`_.
* `Vaex 0.1.5-osx <https://astrodrive.astro.rug.nl/public.php?service=files&t=a408a79bc2811920878fda861f615f2a>`_.

Linux:
	
Simpy unpack the tarball and run it like:

.. code-block:: python
	
	$ tar vaex-0.2.1-linux.tar.gz
	$ ./vaex-0.2.1/vaex
	

* `Vaex 0.2.1-linux <https://www.astro.rug.nl/~breddels/vaex/vaex-0.2.1-linux.tar.gz>`_.
* `Vaex 0.1.8-5-linux <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.8-5-linux.tar.gz>`_.
* `Vaex 0.1.7-linux <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.7-linux.tar.gz>`_.
* `Vaex 0.1.5-linux <https://astrodrive.astro.rug.nl/public.php?service=files&t=86be18567ca6327a903f7863787c4ebf>`_


From source
-----------

If for some reason the binaries above don't work, or you want to work on the source code, this method of installing is preferred. Make sure you have a Python version (2.7) with PyQt4 or PySide installed (check by running 'python -c "import PyQt4"', or 'python -c "import PySide"). If you have any issues getting PyQt working, get Anaconda (for Python 2.7) from http://continuum.io/downloads (it's a Python distribution with many packages). Also numpy and scipy may have issues installing from pip, check if you have these packages, or again go for Anaconda.

Vaex has several dependencies, besides PyQt4/PySide and possibly numpy and scipy, for all steps below the required software can be installed by running:

.. code-block:: python
	
	$ pip install -r requirements.txt

For this you need to have pip installed (try running 'pip'), or get pip from https://pip.pypa.io/en/latest/installing.html (pip makes installing easier).


Using PIP
^^^^^^^^^

* install using

 * ``pip install veax`` (if you have admin rights)<commit_msg>added links to new binaries<commit_after>.. _installing:

Download and installing
=======================

VaeX is available as binary for OSX and Linux, without any dependencies. See the next section how to get it. For development, other plaforms, or for more optimized compiling of the source, you may want to build from source.


.. _installing_from_binary:

Download the binary
-------------------

The binary should be fully self contained, it should not need any other software. 

OSX (10.7 is tested):
 
* `Vaex 0.3.10-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-0.3.10-osx.zip>`_.
* `Vaex 0.2.1-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-0.2.1-osx.zip>`_.
* `Vaex 0.1.8-5-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.8-5-osx.zip>`_.
* `Vaex 0.1.7-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.7-osx.zip>`_.
* `Vaex 0.1.6-osx <https://www.astro.rug.nl/~breddels/vaex/vaex-osx-0.1.6.zip>`_.
* `Vaex 0.1.5-osx <https://astrodrive.astro.rug.nl/public.php?service=files&t=a408a79bc2811920878fda861f615f2a>`_.

Linux:
	
Simpy unpack the tarball and run it like:

.. code-block:: python
	
	$ tar vaex-0.3.10-linux.tar.gz
	$ ./vaex-0.3.10/vaex
	

* `Vaex 0.3.10-linux <https://www.astro.rug.nl/~breddels/vaex/vaex-0.3.10-linux.tar.gz>`_.
* `Vaex 0.2.1-linux <https://www.astro.rug.nl/~breddels/vaex/vaex-0.2.1-linux.tar.gz>`_.
* `Vaex 0.1.8-5-linux <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.8-5-linux.tar.gz>`_.
* `Vaex 0.1.7-linux <https://www.astro.rug.nl/~breddels/vaex/vaex-0.1.7-linux.tar.gz>`_.
* `Vaex 0.1.5-linux <https://astrodrive.astro.rug.nl/public.php?service=files&t=86be18567ca6327a903f7863787c4ebf>`_


From source
-----------

If for some reason the binaries above don't work, or you want to work on the source code, this method of installing is preferred. Make sure you have a Python version (2.7) with PyQt4 or PySide installed (check by running 'python -c "import PyQt4"', or 'python -c "import PySide"). If you have any issues getting PyQt working, get Anaconda (for Python 2.7) from http://continuum.io/downloads (it's a Python distribution with many packages). Also numpy and scipy may have issues installing from pip, check if you have these packages, or again go for Anaconda.

Vaex has several dependencies, besides PyQt4/PySide and possibly numpy and scipy, for all steps below the required software can be installed by running:

.. code-block:: python
	
	$ pip install -r requirements.txt

For this you need to have pip installed (try running 'pip'), or get pip from https://pip.pypa.io/en/latest/installing.html (pip makes installing easier).


Using PIP
^^^^^^^^^

* install using

 * ``pip install veax`` (if you have admin rights)
{'fraction_non_alphanumeric': 0.16068343252063735, 'fraction_numerical': 0.04645805336916874, 'mean_word_length': 3.578207381370826, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 22, 'lorem ipsum': 0, 'www.': 16, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4196496', 'n_tokens_mistral': 2104, 'n_tokens_neox': 1885, 'n_words': 533}