ForexPy: A currency conversion tool that also scraps the web and gives the Forex Exchange rates from major services.
Project description
ForexPy
A command-line tool for currency conversion that fetches live Forex exchange rates from popular exchange services using web scraping.
Motivation
When sending money to another country, how to choose which service to use?
- You could google the conversion ,visit every site and compare the rates to find the best exchange rate
OR
- Use
ForexPyand get rates from major services with a single command!
Personally, I was frustated whenever I needed to do a foreign transaction. If, I choose one service due to its better rate. Next time, the same service might be offering the worst rate. Therefore, I created ForexPy to save myself time, hassle and money.
Quick Start
Install ForexPy using:
- Pypi
pip install fxpy
- Git
pip install git+https://github.com/navrajkalsi/forexpy.git
- Clone the Repo
git clone https://github.com/navrajkalsi/forexpy
cd forexpy
pip install .
Usage
After Installation is complete, ForexPy can be used in the following ways:
- With Arguments: If you know the ISO Alpha 3 Codes of the currencies you want to convert, simply use the following command and pass the currency codes as arguments. The below example uses 'USD' and 'INR'.
# codes are case insensitive and the flags avaliable are:
# '-s' - Sender Currency Code
# '-r' - Receiver Currency Code
fxpy --sender USD --receiver INR
# or
fxpy -s usd -r inr
- Without Arguments: If you do not know the exact currency codes, then you could just enter the following command and follow the instructions by entering in the respective country names (these names do not need to be perfect, the program will help in choosing the correct names).
fxpy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fxpy-1.1.4.tar.gz.
File metadata
- Download URL: fxpy-1.1.4.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeef641d213423781b4af73d0362d927a1b22a24d25455c5e748c9f3048bf611
|
|
| MD5 |
efb2828d342ab21e8950c618b3d2601d
|
|
| BLAKE2b-256 |
69c0d487a07123b7d9800cd4babec8669f99c04b5c7839030e38cd48ddb704e7
|
File details
Details for the file FxPy-1.1.4-py3-none-any.whl.
File metadata
- Download URL: FxPy-1.1.4-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06769d7a57bbd9ba342d7205b50ceafc0bd7b6ffac5dce93446c513c9aeefabf
|
|
| MD5 |
285008ba27ef72632afddb8989642807
|
|
| BLAKE2b-256 |
c897b45c4795568e874e5f0216152a6b945b94f7fc637937f4d8d9f7b283cf2a
|