Polish spelled-out numbers and amounts.
slownie(value):
slownie_zl(amount):
slownie_zl100gr(amount):
Provides routines to spell out numbers and amounts in Polish.
>>> from slownie import *
>>> slownie(12892)
dwanaście tysięcy osiemset dziewięćdziesiąt dwa
>>> slownie_zl(123.34)
sto dwadzieścia trzy złote trzydzieści cztery grosze
>>> slownie_zl100gr(123.34)
sto dwadzieścia trzy złote 34/100
Prerequisites:
- Python 3.9 or higher
- pip and setuptools
To install run:
python -m pip install --upgrade slownie
Prerequisites:
-
Development is strictly based on tox. To install it run:
python -m pip install --upgrade tox
Visit Development page.
Installation from sources:
clone the sources:
git clone https://github.com/karpierz/slownie.git slownie
and run:
python -m pip install ./slownie
or on development mode:
python -m pip install --editable ./slownie
Copyright (c) 2016-2024 Adam KarpierzLicensed under the zlib/libpng LicensePlease refer to the accompanying LICENSE file.
- Adam Karpierz <adam@karpierz.net>