https://github.com/grimen/python-humanizer
A human/developer friendly value humanizer - for Python.
https://github.com/grimen/python-humanizer
data debug debugging format formatting humanize humanizer log logging print printing value
Last synced: 3 months ago
JSON representation
A human/developer friendly value humanizer - for Python.
- Host: GitHub
- URL: https://github.com/grimen/python-humanizer
- Owner: grimen
- License: mit
- Created: 2019-01-31T22:11:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T02:02:49.000Z (over 5 years ago)
- Last Synced: 2025-02-12T08:19:14.144Z (3 months ago)
- Topics: data, debug, debugging, format, formatting, humanize, humanizer, log, logging, print, printing, value
- Language: Python
- Homepage: https://pypi.org/project/humanizer
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# `humanizer` [](https://badge.fury.io/py/humanizer) [](https://travis-ci.com/grimen/python-humanizer) [](https://codecov.io/gh/grimen/python-humanizer)
*A developer friendly data/value humanizer for debugging/logging - for Python.*
## Introduction
*TODO*
## Install
Install using **pip**:
```sh
$ pip install humanizer
```## Use
Very basic **[example](https://github.com/grimen/python-humanizer/tree/master/examples/basic.py)**:
```python
from humanizer import bytesize, duration# TODO: add example
```
## Test
Clone down source code:
```sh
$ make install
```Run **colorful tests**, with only native environment (dependency sandboxing up to you):
```sh
$ make test
```Run **less colorful tests**, with **multi-environment** (using **tox**):
```sh
$ make test-tox
```## About
This project was mainly initiated - in lack of solid existing alternatives - to be used at our work at **[Markable.ai](https://markable.ai)** to have common code conventions between various programming environments where **Python** (research, CV, AI) is heavily used.
## License
Released under the MIT license.