Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
py-currency-converter
Advanced tools
This is a currency converter that uses https://www.exchangerate-api.com/ API.
This package help in converting converting the any currency amount to any other(s) currency. This consumes the https://www.exchangerate-api.com/ free REST API.
You can install directly after cloning:
use the Python package:
.. code-block:: bash
$ pip install --user py_currency_converter
After installation, you should have py_currency_converter
in your $PATH
:
.. code-block:: bash
$ currency_converter 1 USD --to SGD 1.00 USD = 1.364903 SGD on 2020-02-02
Create once the currency converter object:
.. code-block:: python
>>> from py_currency_converter import convert
Convert from SGD
to USD, EUR
using the last available rate:
.. code-block:: python
>>> convert(base='USD', amount=1, to=['SGD', 'EUR'])
{'SGD': 1.364903, 'EUR': 0.904506}
Default base currency is USD
:
.. code-block:: python
>>> convert(amount=1, to=['SGD', 'EUR'])
{'SGD': 1.364903, 'EUR': 0.904506}
supported currencies
Please visit the below link for refering supported currencies:
`Supported currencies <ttps://www.exchangerate-api.com/docs/supported-currencies>`__
License
~~~~~~~
MIT License
~~~~~~~~~~~
.. code:: rst
|MIT license|
.. image:: https://img.shields.io/badge/License-MIT-blue.svg
Contact
~~~~~~~
Please submit an issue if you encounter a bug and please email any questions or requests to catchmaurya@gmail.com
FAQs
Python Currency Converter
We found that py-currency-converter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.