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)

PyPI record.

Documentation.

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:

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:

and run:

python -m pip install ./slownie

or on development mode:

python -m pip install --editable ./slownie

License

Copyright (c) 2016-2026 Adam Karpierz
Licensed under the zlib/libpng License
Please refer to the accompanying LICENSE file.

Authors

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.

Donate

Contents

Indices and tables