1
0
Fork 0
Old engine for Continuous Time Bayesian Networks. Superseded by reCTBN. 🐍 https://github.com/madlabunimib/PyCTBN
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
PyCTBN/README.md

84 lines
1.2 KiB

3 years ago
<div align="center">
# PyCTBN
[![coverage](https://codecov.io/gh/madlabunimib/PyCTBN/branch/master/graph/badge.svg)](https://codecov.io/gh/madlabunimib/PyCTBN)
A Continuous Time Bayesian Networks Library
</div>
## Installation from Source
### Prerequisites
+ `python3` (_>=3.6_)
+ `python3-setuptools`
+ `python3-pip`
### Install
At the _root_ of the project's folder launch:
```sh
pip3 install .
```
### Uninstall
Anywhere in the system launch:
```sh
pip3 uninstall <package_name>
```
### Upgrade
At the _root_ of the project's folder launch:
```sh
pip3 install --upgrade .
```
### Installation via wheel package
**Pip installation**
Download the latest release in .tar.gz or .whl format and simply use pip install to install it:
```sh
pip install PyCTBN-2.2.tar.gz
```
## Testing & Linting
Install these dependencies for **tesing**:
```sh
pip3 install -r test-requirements.txt
```
Install these dependencies for **linting**:
```sh
pip3 install -r lint-requirements.txt
```
To launch **pytest**:
```sh
pytest
```
To launch **flake8**:
```sh
flake8
```
To launch **pylint**:
```sh
pylint --output-format=text --rcfile=setup.cfg src/ test/ *.py
```