https://github.com/brsynth/brs-utils
Utilities
https://github.com/brsynth/brs-utils
Last synced: 8 months ago
JSON representation
Utilities
- Host: GitHub
- URL: https://github.com/brsynth/brs-utils
- Owner: brsynth
- License: mit
- Created: 2020-04-28T09:52:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-10-16T11:24:12.000Z (8 months ago)
- Last Synced: 2025-10-21T20:57:16.861Z (8 months ago)
- Language: Python
- Homepage:
- Size: 462 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# brs_utils
Basic Utilities
| Name | Downloads | Version | Platforms |
| --- | --- | --- | --- |
| [](https://anaconda.org/conda-forge/brs_utils) | [](https://anaconda.org/conda-forge/brs_utils) | [](https://anaconda.org/conda-forge/brs_utils) | [](https://anaconda.org/conda-forge/brs_utils) |
## Description
*brs_utils* provides some basic functions useful to handle files, lists, logger, printing...
## Installation
```sh
conda install -c conda-forge brs_utils
```
## Usage
Example: Computes the deep size of an object.
After a git clone:
```python
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`).
```bash
cd
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](ci/README.md)).
## Authors
* **Joan Hérisson**
## Licence
brs-utils is released under the MIT licence. See the LICENCE file for details.