slownie documentation¶
slownie¶
Polish spelled-out numbers and amounts.
Overview¶
Provides routines to spell out numbers and amounts in Polish.
slownie(value)
slownie_zl(amount)
slownie_zl100gr(amount)
Usage¶
>>> 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
Installation¶
Prerequisites:
Python 3.10 or higher
pip
To install run:
python -m pip install --upgrade slownie
Development¶
Prerequisites:
Development is strictly based on nox. To install it run:
python -m pip install --upgrade nox
Visit Development page.
Installation from sources:
clone the sources:
git clone https://github.com/karpierz/slownie slownie
and run:
python -m pip install ./slownie
or on development mode:
python -m pip install --editable ./slownie
License¶
Copyright (c) 2016-2026 Adam KarpierzLicensed under the zlib/libpng LicensePlease refer to the accompanying LICENSE file.
Sponsoring¶
If you would like to sponsor the development of this project, your contribution
is greatly appreciated.
As I am now retired, any support helps me dedicate more time to maintaining and
improving this work.