slownie


Nameslownie JSON
Version 1.3.3 PyPI version JSON
download
home_pageNone
SummaryPolish spelled-out numbers and amounts.
upload_time2024-11-14 16:38:13
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.3 (2024-11-13)
------------------
- More unittests.
- 100% code coverage.
- 100% code linting.
- 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/67/15/5b03b2a6ffe6802b0edff16a989907649609b37cfc16d4e45319e7a22f37/slownie-1.3.3.zip",
    "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.3 (2024-11-13)\r\n------------------\r\n- More unittests.\r\n- 100% code coverage.\r\n- 100% code linting.\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.3",
    "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": "2ca44f16b66ecf2785142fe201bc2a635c859d59e0d5a4df1669871ee8678110",
                "md5": "bf817561ac7f98f0459f52a57f3b58fc",
                "sha256": "c7f26409f9efef223fdbf9dc02dd060324935d7994bf6c5d1c74eceedc16ed4d"
            },
            "downloads": -1,
            "filename": "slownie-1.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bf817561ac7f98f0459f52a57f3b58fc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0.0,>=3.9.0",
            "size": 5899,
            "upload_time": "2024-11-14T16:38:11",
            "upload_time_iso_8601": "2024-11-14T16:38:11.385064Z",
            "url": "https://files.pythonhosted.org/packages/2c/a4/4f16b66ecf2785142fe201bc2a635c859d59e0d5a4df1669871ee8678110/slownie-1.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67155b03b2a6ffe6802b0edff16a989907649609b37cfc16d4e45319e7a22f37",
                "md5": "3ffa0ce23e18e69dcf85a6dd451cf572",
                "sha256": "983a9370a17ddb7d96eaa6bbac2227b54c4b527bc6f690c157481242a1d6971a"
            },
            "downloads": -1,
            "filename": "slownie-1.3.3.zip",
            "has_sig": false,
            "md5_digest": "3ffa0ce23e18e69dcf85a6dd451cf572",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0.0,>=3.9.0",
            "size": 19335,
            "upload_time": "2024-11-14T16:38:13",
            "upload_time_iso_8601": "2024-11-14T16:38:13.845970Z",
            "url": "https://files.pythonhosted.org/packages/67/15/5b03b2a6ffe6802b0edff16a989907649609b37cfc16d4e45319e7a22f37/slownie-1.3.3.zip",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-14 16:38:13",
    "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: 1.64636s