Metadata-Version: 2.1
Name: slownie
Version: 1.3.2
Summary: Polish spelled-out numbers and amounts.
Author: Adam Karpierz
Author-email: adam@karpierz.net
Maintainer: Adam Karpierz
Maintainer-email: adam@karpierz.net
License: zlib/libpng License ; https://opensource.org/license/zlib
Project-URL: Homepage, https://pypi.org/project/slownie/
Project-URL: Documentation, https://slownie.readthedocs.io/
Project-URL: Download, https://pypi.org/project/slownie/
Project-URL: Source, https://github.com/karpierz/slownie
Project-URL: Issues, https://github.com/karpierz/slownie/issues
Keywords: slownie
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: zlib/libpng License
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: Polish
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <4.0.0,>=3.9.0
Description-Content-Type: text/x-rst; charset=UTF-8
License-File: LICENSE
Requires-Dist: setuptools>=75.3.0
Requires-Dist: pkg-about>=1.2.2
Provides-Extra: doc
Requires-Dist: Sphinx>=7.4.7; extra == "doc"
Requires-Dist: sphinx-toolbox>=3.8.1; extra == "doc"
Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
Requires-Dist: sphinx-lint>=1.0.0; extra == "doc"
Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
Requires-Dist: nbsphinx>=0.9.5; extra == "doc"
Provides-Extra: test
Requires-Dist: deepdiff>=8.0.1; extra == "test"
Requires-Dist: rich>=13.9.4; extra == "test"

slownie
=======

Polish spelled-out numbers and amounts.

Overview
========

| **slownie(value):**
| **slownie_zl(amount):**
| **slownie_zl100gr(amount):**

Provides routines to spell out numbers and amounts in Polish.

`PyPI record`_.

`Documentation`_.

Usage
-----

.. code:: python

  >>> 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.9 or higher

  * https://www.python.org/

+ pip and setuptools

  * https://pypi.org/project/pip/
  * https://pypi.org/project/setuptools/

To install run:

  .. parsed-literal::

    python -m pip install --upgrade |package|

Development
===========

Prerequisites:

+ Development is strictly based on *tox*. To install it run::

    python -m pip install --upgrade tox

Visit `Development page`_.

Installation from sources:

clone the sources:

  .. parsed-literal::

    git clone |respository| |package|

and run:

  .. parsed-literal::

    python -m pip install ./|package|

or on development mode:

  .. parsed-literal::

    python -m pip install --editable ./|package|

License
=======

  | |copyright|
  | Licensed under the zlib/libpng License
  | https://opensource.org/license/zlib
  | Please refer to the accompanying LICENSE file.

Authors
=======

* Adam Karpierz <adam@karpierz.net>

.. |package| replace:: slownie
.. |package_bold| replace:: **slownie**
.. |copyright| replace:: Copyright (c) 2016-2024 Adam Karpierz
.. |respository| replace:: https://github.com/karpierz/slownie.git
.. _Development page: https://github.com/karpierz/slownie
.. _PyPI record: https://pypi.org/project/slownie/
.. _Documentation: https://slownie.readthedocs.io/

Changelog
=========

1.3.2 (2024-10-30)
------------------
- Setup (dependencies) update.

1.3.1 (2024-10-09)
------------------
- Setup (dependencies) update.

1.3.0 (2024-09-30)
------------------
- Drop support for Python 3.8
- Setup (dependencies) update.

1.2.4 (2024-08-13)
------------------
- Add support for Python 3.13
- Setup (dependencies) update.

1.2.3 (2024-01-26)
------------------
- Setup update (now based on tox >= 4.0).
- Cleanup.

1.2.0 (2023-12-15)
------------------
- | Added 'conjunction' parameter for the slownie_zl() function.
  | Thanks to Tomasz Pichlinski (@tomaszpichlinskiapz).
- | The supported parts of the amount have been extended up to
  | 'duodecyliard'.
- Add support for Python 3.12
- Drop support for Python 3.7
- Add support for PyPy 3.9 and 3.10
- Copyright year update.
- Tox configuration has been moved to pyproject.toml

1.1.3 (2022-09-02)
------------------
- Add support for Python 3.10 and 3.11
- Drop support for Python 3.6
- Copyright year update.
- Setup update (currently based mainly on pyproject.toml).

1.1.2 (2020-10-17)
------------------
- Add support for Python 3.8 and 3.9
- Drop support for Python 3.5
- Drop support for Python 2
- Fix a bug in slownie_zl().
- Add unittests.
- General update and cleanup.
- Fixed docs setup.

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.
