py-moneyed


Namepy-moneyed JSON
Version 3.0 PyPI version JSON
download
home_page
SummaryProvides Currency and Money classes for use in your Python code.
upload_time2022-11-27 21:29:38
maintainerDmitry Dygalo
docs_urlNone
authorKai
requires_python>=3.7
licenseBSD
keywords money currency class abstraction
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/py-moneyed/py-moneyed/workflows/build/badge.svg
    :target: https://github.com/py-moneyed/py-moneyed/actions?query=workflow%3Abuild
    :alt: Build Status

.. image:: https://badge.fury.io/py/py-moneyed.svg
    :target: https://pypi.org/project/py-moneyed/
    :alt: Latest PyPI version

.. image:: https://readthedocs.org/projects/py-moneyed/badge/?version=latest
   :target: http://py-moneyed.readthedocs.io/en/latest/?badge=latest

Overview
========

The need to represent instances of money frequently arises in software
development, particularly any financial/economics software. To address that
need, the py-moneyed package provides the classes of Money and Currency, at a
level more useful than just using Python's Decimal class, or ($DEITY forbid) the
float primitive. The package is meant to be stand-alone and used directly, or
be subclassed further. py-moneyed is BSD-licensed.

Quick start
-----------

To install::

    pip install py-moneyed

Use:

.. sourcecode:: python

    from moneyed import Money, USD

    five_dollars = Money(5, USD)

You then use ``Money`` objects as if they were numbers, and they behave
sensibly. See `docs <https://py-moneyed.readthedocs.io/en/latest/>`_ for more
information (or the ``docs/`` folder).

History
-------

Some of the py-moneyed code was first derived from python-money
available via this URL: http://code.google.com/p/python-money/
Due to inactivity, it was forked by @limist in 2010 and later
moved to the py-moneyed organization.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "py-moneyed",
    "maintainer": "Dmitry Dygalo",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "dadygalo@gmail.com",
    "keywords": "money currency class abstraction",
    "author": "Kai",
    "author_email": "k@limist.com",
    "download_url": "https://files.pythonhosted.org/packages/2c/d9/cb6f113d2b7cf930bb3963d2b84ee245c20f93f9afc2e41adece58d324ae/py-moneyed-3.0.tar.gz",
    "platform": "any",
    "description": ".. image:: https://github.com/py-moneyed/py-moneyed/workflows/build/badge.svg\n    :target: https://github.com/py-moneyed/py-moneyed/actions?query=workflow%3Abuild\n    :alt: Build Status\n\n.. image:: https://badge.fury.io/py/py-moneyed.svg\n    :target: https://pypi.org/project/py-moneyed/\n    :alt: Latest PyPI version\n\n.. image:: https://readthedocs.org/projects/py-moneyed/badge/?version=latest\n   :target: http://py-moneyed.readthedocs.io/en/latest/?badge=latest\n\nOverview\n========\n\nThe need to represent instances of money frequently arises in software\ndevelopment, particularly any financial/economics software. To address that\nneed, the py-moneyed package provides the classes of Money and Currency, at a\nlevel more useful than just using Python's Decimal class, or ($DEITY forbid) the\nfloat primitive. The package is meant to be stand-alone and used directly, or\nbe subclassed further. py-moneyed is BSD-licensed.\n\nQuick start\n-----------\n\nTo install::\n\n    pip install py-moneyed\n\nUse:\n\n.. sourcecode:: python\n\n    from moneyed import Money, USD\n\n    five_dollars = Money(5, USD)\n\nYou then use ``Money`` objects as if they were numbers, and they behave\nsensibly. See `docs <https://py-moneyed.readthedocs.io/en/latest/>`_ for more\ninformation (or the ``docs/`` folder).\n\nHistory\n-------\n\nSome of the py-moneyed code was first derived from python-money\navailable via this URL: http://code.google.com/p/python-money/\nDue to inactivity, it was forked by @limist in 2010 and later\nmoved to the py-moneyed organization.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Provides Currency and Money classes for use in your Python code.",
    "version": "3.0",
    "split_keywords": [
        "money",
        "currency",
        "class",
        "abstraction"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be2b2d87f12edc70f0d8c85148c51b57a4b8cf89e4d8ad291935a47ed1b7c52e",
                "md5": "e09633ade6b2b24dc9ca87cc1b74e006",
                "sha256": "9583a14f99c05b46196193d8185206e9b73c8439fc8a5eee9cfc7e733676d9bb"
            },
            "downloads": -1,
            "filename": "py_moneyed-3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e09633ade6b2b24dc9ca87cc1b74e006",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 11324,
            "upload_time": "2022-11-27T21:29:37",
            "upload_time_iso_8601": "2022-11-27T21:29:37.201796Z",
            "url": "https://files.pythonhosted.org/packages/be/2b/2d87f12edc70f0d8c85148c51b57a4b8cf89e4d8ad291935a47ed1b7c52e/py_moneyed-3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2cd9cb6f113d2b7cf930bb3963d2b84ee245c20f93f9afc2e41adece58d324ae",
                "md5": "cbba7e2b31e093d25d990e8e4103f86e",
                "sha256": "4906f0f02cf2b91edba2e156f2d4e9a78f224059ab8c8fa2ff26230c75d894e8"
            },
            "downloads": -1,
            "filename": "py-moneyed-3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cbba7e2b31e093d25d990e8e4103f86e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 20385,
            "upload_time": "2022-11-27T21:29:38",
            "upload_time_iso_8601": "2022-11-27T21:29:38.564653Z",
            "url": "https://files.pythonhosted.org/packages/2c/d9/cb6f113d2b7cf930bb3963d2b84ee245c20f93f9afc2e41adece58d324ae/py-moneyed-3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-11-27 21:29:38",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "py-moneyed"
}
        
Kai
Elapsed time: 0.03786s