Skip to content

brsynth/brs-utils

Repository files navigation

brs_utils

Basic Utilities

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Description

brs_utils provides some basic functions useful to handle files, lists, logger, printing...

Installation

conda install -c conda-forge brs_utils

Usage

Example: Computes the deep size of an object. After a git clone:

from brs_utils import total_size
total_size('tests/data/1l_file.txt')

Tests

You need to install pytest and pytest-cov if it's not done yet (conda install pytest pytest-cov).

cd <repository>
python -m pytest -v --cov --cov-report term-missing

CI/CD

For further tests and development tools, a CI toolkit is provided in ci folder (see ci/README.md).

Authors

  • Joan Hérisson

Licence

brs-utils is released under the MIT licence. See the LICENCE file for details.