# Installation

You can install biome.text with pip or from source. For the installation we recommend setting up a fresh conda environment:

conda create -n biome python==3.7.1
conda activate biome

# Pip

The recommended way for installing the library is using pip. You can install everything required for the library as follows:

pip install biome-text

# From Source

If you want to contribute to biome.text you have to install the library from source. Clone the repository from github:

git clone https://github.com/recognai/biome-text.git
cd biome-text

and install the library in editable mode together with the test dependencies:

pip install --upgrade -e .[testing]

If the make command is enabled in your system, you can also use the make dev directive:

make dev

For the UI to work you need to build the static web resources:

cd ui 
npm install 
npm run build

Note: node>=12 is required in your machine. You can follow installation instructions here

Again, you can also use the make ui directive if the make command is enabled in your system:

make ui

You can see all defined directives with:

make help

After installing biome.text, the best way to test your installation is by running the biome.text cli command:

biome --help

# Tests

Biome.text uses pytest for its unit and integration tests. To run the tests, make sure you installed biome.text together with its test dependencies and simply execute pytest from within the biome-text directory:

cd biome-text
pytest
Maintained by