{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"Financial","url":"https://skillfed.io/packages/category/office-business-financial"}],"enrichment":{"capability":"Provides Money and Currency classes for representing monetary values in Python with proper arithmetic and currency handling, avoiding pitfalls of using floats or raw Decimal objects.","skillfed_tags":["financial-data","currency-handling"],"use_cases":["Build financial applications that need to track money amounts with explicit currency types and avoid float precision errors","Implement e-commerce systems where prices, totals, and transactions must preserve currency context","Create accounting or bookkeeping tools that require correct arithmetic on monetary values across different currencies","Develop APIs that serialize and deserialize monetary values with currency information intact"],"what_it_does":"py-moneyed provides Money and Currency classes as a safer, more semantically correct way to handle monetary values in Python code. Instead of using floats (which suffer from precision errors) or raw Decimal objects (which lack currency context), you create Money instances tied to a specific currency and perform arithmetic on them as if they were numbers. The package depends on babel for localization and typing-extensions for type hints, and supports Python 3.7 through 3.11.\n\nThe package is designed to be used directly in financial and economics software, or subclassed for domain-specific extensions. It has been stable since its early releases and is classified as Mature, though development has been dormant since late 2022. With significant monthly downloads, it is a widely adopted solution for this problem in the Python ecosystem.","worth_installing":"Yes. The package solves a real problem (safe monetary representation) with a mature, stable API and low install friction. Dormant maintenance is a minor concern for a library this simple and well-established, but the lack of recent activity means you should verify that its currency support and arithmetic operations meet your specific needs before committing to it in new projects."},"id":"py-moneyed","links":{"html":"https://skillfed.io/packages/py-moneyed","md":"https://skillfed.io/packages/py-moneyed.md","pypi":"https://pypi.org/project/py-moneyed/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-11-27","license_spdx":null,"license_treatment":"permissive","name":"py-moneyed","python_support":"supports_current","summary":"Provides Currency and Money classes for use in your Python code."},"popularity":{"monthly_downloads":1146230,"position":4299,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.0"}
