Skip to main content

Polish spelled-out numbers and amounts.

Project description

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:

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slownie-2.3.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slownie-2.3.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file slownie-2.3.0.tar.gz.

File metadata

  • Download URL: slownie-2.3.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for slownie-2.3.0.tar.gz
Algorithm Hash digest
SHA256 1735bdb86a91b2736bf6d5902d3ce31de2dd6b30daad33b895fe1b2cd77695cc
MD5 1eb78b8d96c2fdd481f69c30213cd5c6
BLAKE2b-256 ac21203bd77bfc7ff9cc55fde3d55fb87c8162e7db9c3c2a5eb011994e7b92ed

See more details on using hashes here.

File details

Details for the file slownie-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: slownie-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for slownie-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0251268bb0ceb255b6e1d89b4c27331115f65965b022e86ed5c6f5ffdca398e
MD5 ca12cde1e86391833dac9cfec2f32776
BLAKE2b-256 e589eae6d772f6de92f4ce99d92cdaf0015c3208dd1de9228006d6ff91befeac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page