Skip to main content

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 ForexPy and 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fxpy-1.1.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FxPy-1.1.2-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file fxpy-1.1.2.tar.gz.

File metadata

  • Download URL: fxpy-1.1.2.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

Hashes for fxpy-1.1.2.tar.gz
Algorithm Hash digest
SHA256 07268cab85be77863dcbc0e0277d59102b7149c2ae02cb59b15ba5aa65d73630
MD5 642232c09bf42f0c284d572966524087
BLAKE2b-256 ab9cc9a27e48d6aa834ca78b6653cc9b8448fe14c42ddbb1f4ffaa8e736d2a29

See more details on using hashes here.

File details

Details for the file FxPy-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: FxPy-1.1.2-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

Hashes for FxPy-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 987f5318d4d325a2db9e98deaccdb72cd08f68b573746aa163933cd1b09e8747
MD5 16e13cd8bd0ac9fe18fe6b2ef7eb4a85
BLAKE2b-256 c25b8b82c7c23f0f2adb305260cdbd03cc6cf6c6ec5e85664f3795a941f2d1e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page