Currency conversion for the Flow Launcher
Uses the European Central Bank daily rates to get and convert currency exchange rates.
Currency code that can be used are:
'AUD' , 'BGN' , 'BRL' , 'CAD' , 'CHF' , 'CNY' , 'CZK' , 'DKK' , 'GBP', 'HKD' , 'HRK' , 'HUF' , 'IDR' , 'ILS' , 'INR' , 'ISK' , 'JPY' , 'KRW', 'MXN','MYR' , 'NOK' , 'NZD' , 'PHP' , 'PLN' , 'RON' , 'RUB' , 'SEK', 'SGD' , 'THB' , 'TRY' , 'USD' , 'ZAR' , 'EUR'
Python 3.5 or later installed on your system, with python.exe in your PATH variable and this path updated in the Flow Launcher settings (this is a general requirement to use Python plugins with Flow). As of v1.8, Flow Launcher should take care of the installation of Python for you if it is not on your system.
You must be online when you run the plugin in Flow to download the currency XML file, or you will get a connection error. If the local XML file is 2 hours or less old (that is, you've run the plugin before in the previous two hours), it will just use the local file.
Use the pm install
command from within Flow itself.
Add the Flow.Launcher.Plugin.Currency directory to %APPDATA%\Roaming\FlowLauncher\Plugins\ and restart Flow.
There is no requirement to install the packages as they will be packed with the release.
If you still want to manually pip install them:
The requirements.txt
file in this repo outlines which packages are needed. This can be found online here on Github, as well as in the local plugin directory once installed (%APPDATA%\Roaming\FlowLauncher\Plugins\Currency Converter-X.X.X\ where X.X.X is the currently installed version)
The easiest way to manually install these packages is to use the following command in a Windows Command Prompt or Powershell Prompt
pip install -r requirements.txt -t ./lib
Remember you need to be in the local directory containing the requirements text file.
Currently English and Chinese language supported. Edit the .env file to change the language.
Keyword | Description |
---|---|
cc {amount} {source currency code} {destination currency code} |
Convert amount from source to dest currency |
Open an issue in this repo.