semvec/pypi-packages huggingface dataset:
dmbiolib 0.4.3
Library of Python functions used in other projects
Requires Python: >=3.6

# dmbiolib

Library of Python functions for bioinformatics

Install from Bioconda:
````
conda install -c bioconda dmbiolib
````
Install from PyPI:
````
pip install dmbiolib
````
Full documentation: https://dmbiolib.readthedocs.io/

GitHub issues (bug reports, feature requests): https://github.com/damienmarsic/dmbiolib/issues/new/choose

[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/dmbiolib/README.html)

[![dmbiolib documentation](https://img.shields.io/badge/dmbiolib-Documentation-yellow)](https://dmbiolib.readthedocs.io/)
floating 0.0.1
Calculates floating precision

![Tests Status](https://github.com/mreiche/python-floating/actions/workflows/tests.yml/badge.svg)
[![Code Coverage Status](https://codecov.io/github/mreiche/python-floating/branch/main/graph/badge.svg)](https://app.codecov.io/github/mreiche/python-floating)

# python-floating

Calculates floating precision.

## Basic API

```python
import floating

assert floating.round(13) == 13.00
assert floating.round(13.1337) == 13.13
assert floating.round(0.003751) == 0.0038
```

### Precision

```python
assert floating.round(13, precision=3) == 13.000
```

### Calc precision

```python
assert floating.calc_precision(0.003751, 2) == 4
```

## Run the tests

```shell
PYTHONPATH="." pytest --cov=floating tests/
```

### Release update
1. Update version in `setup.py`
2. Package library
    ```shell
    python setup.py sdist
    ```
3. Publish library
    ```shell
    twine upload dist/floating-[version].tar.gz
    ```