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.11 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.
Release files for slownie 2.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| slownie-2.4.4.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| slownie-2.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.3 kB
Release files / slownie-2.4.4.tar.gz
| Download URL | slownie-2.4.4.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51a100f5625f3ab3e752fb5e16c8c8a8b8b9bca4028413add3b60bc230dcff20
|
|
BLAKE2b-256 checksum How to use checksums |
26b3bb6cc39fc262f44a741f62fab467362ab7444c0fe346951de444b5882584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / slownie-2.4.4-py3-none-any.whl
| Download URL | slownie-2.4.4-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b3a3144b3812f514196fcb972ecae61f5b6a368144025dbdfd0e4cb26843846
|
|
BLAKE2b-256 checksum How to use checksums |
d64fef9a4259383842b1eefe2a81b16843f9d82241231b0d70261f93efb985dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|