slownie


Nameslownie JSON
Version 1.3.4 PyPI version JSON
download
home_pageNone
SummaryPolish spelled-out numbers and amounts.
upload_time2024-12-13 14:54:35
maintainerAdam Karpierz
docs_urlNone
authorAdam Karpierz
requires_python<4.0.0,>=3.9.0
licensezlib/libpng License ; https://opensource.org/license/zlib
keywords slownie
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.4 (2024-12-13)
------------------
- Source distribution (\*.tar.gz now) is compliant with PEP-0625.
- Setup (dependencies) update.

1.3.3 (2024-11-13)
------------------
- More unittests.
- 100% code linting.
- 100% code coverage.
- Tox configuration is now in native (toml) format.
- Setup (dependencies) update.

1.3.2 (2024-10-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.0b2 (2018-01-28)
--------------------
- Fix a bug and inconsistencies in tox.ini
- Update of README.rst.
- 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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "slownie",
    "maintainer": "Adam Karpierz",
    "docs_url": null,
    "requires_python": "<4.0.0,>=3.9.0",
    "maintainer_email": "adam@karpierz.net",
    "keywords": "slownie",
    "author": "Adam Karpierz",
    "author_email": "adam@karpierz.net",
    "download_url": "https://files.pythonhosted.org/packages/5a/16/777ac346ddf86a4eb4ac2e2114e3486a5e95b4daee7b7a690b397496242e/slownie-1.3.4.tar.gz",
    "platform": "any",
    "description": "slownie\r\n=======\r\n\r\nPolish spelled-out numbers and amounts.\r\n\r\nOverview\r\n========\r\n\r\n| **slownie(value):**\r\n| **slownie_zl(amount):**\r\n| **slownie_zl100gr(amount):**\r\n\r\nProvides routines to spell out numbers and amounts in Polish.\r\n\r\n`PyPI record`_.\r\n\r\n`Documentation`_.\r\n\r\nUsage\r\n-----\r\n\r\n.. code:: python\r\n\r\n  >>> from slownie import *\r\n  >>> slownie(12892)\r\n  dwana\u015bcie tysi\u0119cy osiemset dziewi\u0119\u0107dziesi\u0105t dwa\r\n  >>> slownie_zl(123.34)\r\n  sto dwadzie\u015bcia trzy z\u0142ote trzydzie\u015bci cztery grosze\r\n  >>> slownie_zl100gr(123.34)\r\n  sto dwadzie\u015bcia trzy z\u0142ote 34/100\r\n\r\nInstallation\r\n============\r\n\r\nPrerequisites:\r\n\r\n+ Python 3.9 or higher\r\n\r\n  * https://www.python.org/\r\n\r\n+ pip and setuptools\r\n\r\n  * https://pypi.org/project/pip/\r\n  * https://pypi.org/project/setuptools/\r\n\r\nTo install run:\r\n\r\n  .. parsed-literal::\r\n\r\n    python -m pip install --upgrade |package|\r\n\r\nDevelopment\r\n===========\r\n\r\nPrerequisites:\r\n\r\n+ Development is strictly based on *tox*. To install it run::\r\n\r\n    python -m pip install --upgrade tox\r\n\r\nVisit `Development page`_.\r\n\r\nInstallation from sources:\r\n\r\nclone the sources:\r\n\r\n  .. parsed-literal::\r\n\r\n    git clone |respository| |package|\r\n\r\nand run:\r\n\r\n  .. parsed-literal::\r\n\r\n    python -m pip install ./|package|\r\n\r\nor on development mode:\r\n\r\n  .. parsed-literal::\r\n\r\n    python -m pip install --editable ./|package|\r\n\r\nLicense\r\n=======\r\n\r\n  | |copyright|\r\n  | Licensed under the zlib/libpng License\r\n  | https://opensource.org/license/zlib\r\n  | Please refer to the accompanying LICENSE file.\r\n\r\nAuthors\r\n=======\r\n\r\n* Adam Karpierz <adam@karpierz.net>\r\n\r\n.. |package| replace:: slownie\r\n.. |package_bold| replace:: **slownie**\r\n.. |copyright| replace:: Copyright (c) 2016-2024 Adam Karpierz\r\n.. |respository| replace:: https://github.com/karpierz/slownie.git\r\n.. _Development page: https://github.com/karpierz/slownie\r\n.. _PyPI record: https://pypi.org/project/slownie/\r\n.. _Documentation: https://slownie.readthedocs.io/\r\n\r\nChangelog\r\n=========\r\n\r\n1.3.4 (2024-12-13)\r\n------------------\r\n- Source distribution (\\*.tar.gz now) is compliant with PEP-0625.\r\n- Setup (dependencies) update.\r\n\r\n1.3.3 (2024-11-13)\r\n------------------\r\n- More unittests.\r\n- 100% code linting.\r\n- 100% code coverage.\r\n- Tox configuration is now in native (toml) format.\r\n- Setup (dependencies) update.\r\n\r\n1.3.2 (2024-10-30)\r\n------------------\r\n- Drop support for Python 3.8\r\n- Setup (dependencies) update.\r\n\r\n1.2.4 (2024-08-13)\r\n------------------\r\n- Add support for Python 3.13\r\n- Setup (dependencies) update.\r\n\r\n1.2.3 (2024-01-26)\r\n------------------\r\n- Setup update (now based on tox >= 4.0).\r\n- Cleanup.\r\n\r\n1.2.0 (2023-12-15)\r\n------------------\r\n- | Added 'conjunction' parameter for the slownie_zl() function.\r\n  | Thanks to Tomasz Pichlinski (@tomaszpichlinskiapz).\r\n- | The supported parts of the amount have been extended up to\r\n  | 'duodecyliard'.\r\n- Add support for Python 3.12\r\n- Drop support for Python 3.7\r\n- Add support for PyPy 3.9 and 3.10\r\n- Copyright year update.\r\n- Tox configuration has been moved to pyproject.toml\r\n\r\n1.1.3 (2022-09-02)\r\n------------------\r\n- Add support for Python 3.10 and 3.11\r\n- Drop support for Python 3.6\r\n- Copyright year update.\r\n- Setup update (currently based mainly on pyproject.toml).\r\n\r\n1.1.2 (2020-10-17)\r\n------------------\r\n- Add support for Python 3.8 and 3.9\r\n- Drop support for Python 3.5\r\n- Drop support for Python 2\r\n- Fix a bug in slownie_zl().\r\n- Add unittests.\r\n- General update and cleanup.\r\n- Fixed docs setup.\r\n\r\n1.0.0rc1 (2018-11-21)\r\n---------------------\r\n- Fix a bug in slownie_zl() and slownie_zl100gr()\r\n- | Code improvement according to the suggestion and the patch\r\n  | from Michal Borkowski (https://github.com/wielkiborsuk).\r\n  | Thank you very much, Michal!\r\n\r\n1.0.0b5 (2018-11-08)\r\n--------------------\r\n- Drop support for Python 2.6 and 3.0-3.3\r\n- Update required setuptools version.\r\n\r\n1.0.0b4 (2018-05-08)\r\n--------------------\r\n- Update required setuptools version.\r\n- Improve and simplify setup and packaging.\r\n\r\n1.0.0b2 (2018-01-28)\r\n--------------------\r\n- Fix a bug and inconsistencies in tox.ini\r\n- Update of README.rst.\r\n- Update required Sphinx version.\r\n- Update doc Sphinx configuration files.\r\n\r\n0.9.5b1 (2017-11-18)\r\n--------------------\r\n- Add slownie_zl and slownie_zl100gr.\r\n- Setup improvements.\r\n- Other minor improvements.\r\n\r\n0.9.0b0 (2017-04-03)\r\n--------------------\r\n- First useful release.\r\n\r\n0.1.0 (2016-09-23)\r\n------------------\r\n- Initial release.\r\n",
    "bugtrack_url": null,
    "license": "zlib/libpng License ; https://opensource.org/license/zlib",
    "summary": "Polish spelled-out numbers and amounts.",
    "version": "1.3.4",
    "project_urls": {
        "Documentation": "https://slownie.readthedocs.io/",
        "Download": "https://pypi.org/project/slownie/",
        "Homepage": "https://pypi.org/project/slownie/",
        "Issues": "https://github.com/karpierz/slownie/issues",
        "Source": "https://github.com/karpierz/slownie"
    },
    "split_keywords": [
        "slownie"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bda80e767c71bd156656c40bfff13ce99e9e5a224b710eaa88ab5369475cc05a",
                "md5": "d87fdaaa50df3fb34db3aee49a195c57",
                "sha256": "3d2b236fe6092c511f638857dc7fda05732b1cfb222b0f2cc1444ac64e009dd0"
            },
            "downloads": -1,
            "filename": "slownie-1.3.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d87fdaaa50df3fb34db3aee49a195c57",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0.0,>=3.9.0",
            "size": 5946,
            "upload_time": "2024-12-13T14:54:32",
            "upload_time_iso_8601": "2024-12-13T14:54:32.883585Z",
            "url": "https://files.pythonhosted.org/packages/bd/a8/0e767c71bd156656c40bfff13ce99e9e5a224b710eaa88ab5369475cc05a/slownie-1.3.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a16777ac346ddf86a4eb4ac2e2114e3486a5e95b4daee7b7a690b397496242e",
                "md5": "4ec1e91fde98fe77b400c20575ab8a5d",
                "sha256": "ac5bc21bde0082172a2df29f77b5f767989345e1d3a5621f5b579bfeac8176d6"
            },
            "downloads": -1,
            "filename": "slownie-1.3.4.tar.gz",
            "has_sig": false,
            "md5_digest": "4ec1e91fde98fe77b400c20575ab8a5d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0.0,>=3.9.0",
            "size": 12994,
            "upload_time": "2024-12-13T14:54:35",
            "upload_time_iso_8601": "2024-12-13T14:54:35.155837Z",
            "url": "https://files.pythonhosted.org/packages/5a/16/777ac346ddf86a4eb4ac2e2114e3486a5e95b4daee7b7a690b397496242e/slownie-1.3.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-13 14:54:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "karpierz",
    "github_project": "slownie",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "slownie"
}
        
Elapsed time: 0.79563s