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.4.2.tar.gz (14.4 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.4.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for slownie-2.4.2.tar.gz
Algorithm Hash digest
SHA256 d4a6255026e16c4c1a042b374a7b2cc4805a9cacc7faec407131659eb31b2823
MD5 9ca6fb24c73a512e3ccc73d8f88a55e8
BLAKE2b-256 a464bb3cbb63d225fbcbc1cf80a8fd4971958385618d4b2729435629f5f5e98f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slownie-2.4.2-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.13

File hashes

Hashes for slownie-2.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88c15d171374d746b5c8ed95351045f459d8f42959372a22b5adbf996f868efa
MD5 3a71cb9ceec269903c6a63002faaaf0b
BLAKE2b-256 a7ecf17b0b7b1f43253c8e6363b59f7b661d007b14ca31b53358b09ffdab510e

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