{"id":45451,"library":"money","title":"money","description":"money is a Python class for representing and manipulating monetary amounts with precision. It supports currency-aware arithmetic, formatting, and exchange rates. Current version 1.3.0. Release cadence is low; no recent updates.","status":"active","version":"1.3.0","language":"python","source_language":"en","source_url":"https://github.com/carlospalol/money","tags":["money","currency","finance"],"install":[{"cmd":"pip install money","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from money import Money","symbol":"Money","correct":"import money"}],"quickstart":{"code":"from money import Money\nm = Money(amount='100.50', currency='USD')\nprint(m)\nprint(m.amount)  # Decimal('100.50')\nprint(m.currency)  # 'USD'","lang":"python","description":"Create a Money object with amount string and ISO currency code."},"warnings":[{"fix":"Always use a string for the amount: Money(amount='19.99', currency='USD')","message":"Amount must be passed as a string to avoid floating-point precision issues.","severity":"gotcha","affected_versions":"all"},{"fix":"Assign result: new_m = m + Money(amount='10', currency='USD')","message":"Money objects are immutable; arithmetic returns new objects.","severity":"gotcha","affected_versions":"all"},{"fix":"See documentation for updated provider interface.","message":"Currency provider interface changed in 1.0.0; custom providers must implement new methods.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.3.0':27 'amount':12 'arithmet':20 'awar':19 'cadenc':29 'class':6 'currenc':18,36 'currency-awar':17 'current':25 'exchang':23 'financ':37 'format':21 'low':31 'manipul':10 'monetari':11 'money':1,2,35 'precis':14 'python':5 'rate':24 'recent':33 'releas':28 'repres':8 'support':16 'updat':34 'version':26","created_at":"2026-06-07T12:55:04.842351+00:00","updated_at":"2026-06-07T12:55:04.842351+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmppt_l1yx5/venv/lib/python3.12/site-packages/money/__init__.py\", line 5, in <module>\n    from .money import Money, XMoney\n  File \"/tmp/tmppt_l1yx5/venv/lib/python3.12/site-packages/money/money.py\", line 6, in <mo"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/carlospalol/money","github":"https://github.com/carlospalol/money","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["payments"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}