Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ MobiDB-lite is also available as Docker container [MobiDB-lite_docker](https://g


## Installation

Supported Python versions: >=3.11,<3.15

You can use the tool simply cloning this repo and running `__main__.py` Python script.
which implements a command line interface.
To avoid import errors you need to add the source root folder
Expand All @@ -38,13 +41,26 @@ in this case.

From GitHub:

git clone https://github.com/BioComputingUP/MobiDB-lite.git
pip install .
```bash
git clone https://github.com/BioComputingUP/MobiDB-lite.git

# one-off
python3 -m venv .venv

To install the dependencies:
source .venv/bin/activate

pip install .
```

### How to install MobiDB-lite using Conda?

pip install -r requirements.txt
You can create a Conda environment and install MobiDB-lite using the following commands:

```bash
conda create -n mobidb_lite python=3.12
conda activate mobidb_lite
pip install .
```

## Usage

Expand Down
13 changes: 7 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ authors = [
{name = "Damiano Piovesan", email = "damiano.piovesan@unipd.it"},
{name = "Mahta Mehdiabadi", email = "mahta.mehdiabadi@studenti.unipd.it"}
]
requires-python = ">=3.12.3"
dependencies = []

[project.optional-dependencies]
nu = [
requires-python = ">=3.11.3,<3.15"
dependencies = [
"joblib >= 1.5.2",
"numba >= 0.61.2",
"pandas >= 2.3.2",
"scikit-learn >= 1.4.2",
"numba >= 0.59.1"
]

[project.optional-dependencies]

[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
joblib==1.5.2
numba==0.61.2
numpy==2.3.2
pandas==2.3.2
scikit-learn==1.4.2
setuptools==59.6.0
scikit-learn==1.4.2