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.
>>> 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 2.7 or higher or 3.4 or higher
2.7 and 3.6 are primary test environments.
pip and setuptools
To install run:
python -m pip install --upgrade slownie
Development
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
Prerequisites:
Development is strictly based on tox. To install it run:
python -m pip install tox
License
Copyright (c) 2016-2018 Adam KarpierzLicensed under the zlib/libpng LicensePlease refer to the accompanying LICENSE file.
Changelog
1.0.0rc1 (2018-11-21)
Fix a bug in slownie_zl() and slownie_zl100gr()
Code improvement according to the suggestion and the patch from Michal Borkowski (https://github.com/wielkiborsuk). Thank you very much, Michal!
1.0.0b5 (2018-11-08)
Drop support for Python 2.6 and 3.0-3.3
Update required setuptools version.
1.0.0b4 (2018-05-08)
Update required setuptools version.
Improve and simplify setup and packaging.
1.0.0b3 (2018-02-26)
Improve and simplify setup and packaging.
1.0.0b2 (2018-01-28)
Fix a bug and inconsistencies in tox.ini
Update of README.rst.
0.9.7b2 (2018-01-24)
Little update of README.rst
0.9.7b1 (2018-01-24)
Update required Sphinx version.
Update doc Sphinx configuration files.
0.9.5b1 (2017-11-18)
Add slownie_zl and slownie_zl100gr.
Setup improvements.
Other minor improvements.
0.9.0b0 (2017-04-03)
First useful release.
0.1.0 (2016-09-23)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file slownie-1.0.0rc1.zip
.
File metadata
- Download URL: slownie-1.0.0rc1.zip
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 801e4ace99d183905989660e89317547d12be04b138b206e98cdf7c3ba0cd12a |
|
MD5 | 5544f1d33b3fcf017b91d11f542e897d |
|
BLAKE2b-256 | 858a29087399b0b6561d0c6d1492d28f159e159b1c857efd14e93e7f2cdf384d |