PyUSDforex - Fiat to USD
Project Description
PyUSDforex is a python package to convert foreign currencies into US dollars. It uses the free API key from openexchangerates.org to get over 200 currencies. PyUSDforex allows you to perform as many currency conversions as you wish by caching the hourly exchange rates from openexchange.org in a python shelve.
Installation
install from https://pypi.org/project/pyUSDforex/
pip install pyUSDforex
Usage
import pyUSDforex
pyUSDforex.convert(100, 'EUR', 'Your APP_ID')
Get your app_id from https://openexchangerates.org/signup/free
Notes
We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us on github
Changelog
1.3
- replace shelve with requests-cache
1.2
- raise an exception when the currency code cannot be found
1.1
- make threading safe with lock object
1.0
- Init release
Metadata
Release files for pyUSDforex 0.1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyUSDforex-0.1.3.1.tar.gz | 2.0 kB | Without provenance | Details for pyUSDforex-0.1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyUSDforex-0.1.3.1-py3-none-any.whl | Python 3 | none | any | Details for pyUSDforex-0.1.3.1-py3-none-any.whl |
Total release size: 5.0 kB
Release files / pyUSDforex-0.1.3.1.tar.gz
| Download URL | pyUSDforex-0.1.3.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdf2b22641889acb84fdc10da4fe3b2410785de138c90f0c81ffb3651e8121d1
|
|
BLAKE2b-256 checksum How to use checksums |
503727502a5eaf377b0acd956bb0d7ff52a8bd4f2af417437053a4d573547226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / pyUSDforex-0.1.3.1-py3-none-any.whl
| Download URL | pyUSDforex-0.1.3.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbffeec3db3ee8c3221aa2f1ca3a77bb4da2fc9c512cac4b891786c67e63dd30
|
|
BLAKE2b-256 checksum How to use checksums |
fdc3bdf5fe98a953ec4d5a94bf1556ee4dea5c56a68b7ead292a039279452e6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for pyUSDforex 0.1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.