From 19eea483e54ab0d84666f7b20a29717816ae38ab Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 11 Jun 2024 13:28:36 +0200 Subject: [PATCH] add py-money, remove currencies --- poetry.lock | 41 +++++++++++++++++++++++++++++------------ pyproject.toml | 2 +- 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/poetry.lock b/poetry.lock index 1f9df51..50479ae 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,5 +1,19 @@ # This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +[[package]] +name = "babel" +version = "2.15.0" +description = "Internationalization utilities" +optional = false +python-versions = ">=3.8" +files = [ + {file = "Babel-2.15.0-py3-none-any.whl", hash = "sha256:08706bdad8d0a3413266ab61bd6c34d0c28d6e1e7badf40a2cebe67644e2e1fb"}, + {file = "babel-2.15.0.tar.gz", hash = "sha256:8daf0e265d05768bc6c7a314cf1321e9a123afc328cc635c18622a2f30a04413"}, +] + +[package.extras] +dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"] + [[package]] name = "certifi" version = "2024.6.2" @@ -135,17 +149,6 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -[[package]] -name = "currencies" -version = "2020.12.12" -description = "Display money format and its filthy currencies, for all money lovers out there." -optional = false -python-versions = "<4" -files = [ - {file = "currencies-2020.12.12-py3-none-any.whl", hash = "sha256:33b017bd11b0a70707ffa917e80cd8c4e07a1a6b412239ee19c10f145ed5f031"}, - {file = "currencies-2020.12.12.tar.gz", hash = "sha256:400cf313b8f6f33a59dcc9c9723dbe458eb8ff18a74ad2b79eba8a295a44b556"}, -] - [[package]] name = "idna" version = "3.7" @@ -157,6 +160,20 @@ files = [ {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, ] +[[package]] +name = "py-money" +version = "0.5.0" +description = "Money module for python" +optional = false +python-versions = "*" +files = [ + {file = "py-money-0.5.0.tar.gz", hash = "sha256:6c0f3597022a7d16fe65273c046614b7f30dd63aa0a0765ac7044092e2959014"}, + {file = "py_money-0.5.0-py3-none-any.whl", hash = "sha256:e2ba7fe399a2986913753735874063c5cb816941bba737db7ec1353a04321338"}, +] + +[package.dependencies] +babel = ">=2.4.0,<3.0" + [[package]] name = "pyfiglet" version = "1.0.2" @@ -237,4 +254,4 @@ requests = ">=2.19.1" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "2fea7228b5d6197e7c654a55dfc2415d44e9b6f98abd859a7067910a4fc89571" +content-hash = "61a7f491d35996d86bba6f845a34ab5ca094ade37a82f2eb7a97b8a7a6e2e495" diff --git a/pyproject.toml b/pyproject.toml index 399af5e..584ec68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ click = "^8.1.7" python-dotenv = "^1.0.1" pyfiglet = "^1.0.2" xecd-rates-client = "^1.0.0" -currencies = "^2020.12.12" +py-money = "^0.5.0" [build-system] requires = ["poetry-core"]