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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for slownie-2.2.0.tar.gz
Algorithm Hash digest
SHA256 9b9feecbb9a0cfb7f0a2d0c482522d7a2930db0135aff1ad6cd3e8ed5efd389d
MD5 43721ef4454c8f970908c31d4b3e8321
BLAKE2b-256 db5f402f423936920eb80b069f78f152671f396c59eb401f301e83feb111a646

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slownie-2.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60b2e2eab4c2d7fc8280fb594db704dd73bccde8710191b53d8fd9c9247ef6dd
MD5 96e509fe60db005597822c67bacc291e
BLAKE2b-256 a18e5e434ca87ea5992e846fb3eb676c8e2384f4262dc2aa1376162e709c3097

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