Metadata-Version: 2.1
Name: num2rus
Version: 0.1.0
Summary: A small package to convert float numbers to russian string
Home-page: https://github.com/terean-dspd/numbers-2-rus
Author: DennisKot
Author-email: DennisKot@google.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

![Upload Python Package](https://github.com/terean-dspd/numbers-2-rus/workflows/Upload%20Python%20Package/badge.svg)
# num2rus v 0.1.0

Небольшой python пакет для преобразования чисела в текст с учетмо множественного числа. 
A small package to convert float numbers to russian string.

## What's new
- `only_rubles` param was added to cut off kops part completely.

## Usage

### Install package

`pip install num2rus`

### Import it

```python
 import num2rus
 num2rus.converter(1.10) # один рубль десять копеек
 num2rus.converter(651_000_000_000) # шестьсот пятьдесят один миллиард рублей ноль копеек
 num2rus.converter(
    651_000_000_000,
    zero_on=False
) # шестьсот пятьдесят один миллиард рублей
 num2rus.converter(
    651_000_000_000.01,
    only_rubles=True
) # шестьсот пятьдесят один миллиард рублей
```
