Skip to content

Releases: asokratis/python-currency-anywhere

Version 0.11.1

11 Aug 05:19
Compare
Choose a tag to compare

Version 0.11.1

  • This is a more stable release of version 0.11 after testing the code, fixing minor bugs and updating documentation.

Version 0.11

09 Aug 15:51
Compare
Choose a tag to compare

Version 0.11

  • python-currency-anywhere: Our microservice is now agnostic by the currency service provider that you want to use. Currently, made it compatible with currency service providers fixer, openexchangerates, and currencylayer.

Version 0.10

06 Apr 10:37
Compare
Choose a tag to compare

Version 0.10

  • Legal stuff: Added script wikipedia_currency_configurations.py[1] for downloading the currencies from Wikipedia and to load them into currency configurations. Fixer (and most likely any other subscription API) does not allow you to share the API data that you retrieve from them with your API key. It is only for your personal use.
  • The default currency configurations provided is replaced by the data provided by Wikipedia instead of Fixer. Please follow all steps in Installation so currency configurations reflect all currencies in Fixer (requires registration of a Fixer API key)
  • Updated main documentation and Q&A section on existing and new features.

[1] Uses BeautifulSoup4 (for scraping) and re (for regular expressions)

Version 0.09

03 Apr 14:13
Compare
Choose a tag to compare

Version 0.09

  • Added the ability to cache data into an SQLite database. This allows user to not get charged the next time it calls API for the same date (or same date and base currency if having flag parameter legacy_user turned on). The database is stored in data folder with filename currency_eur.sqlite (or currency_<base_currency>.sqlite if flag parameter legacy_user is enabled). All the data in the database is stored in the table currency with columns symbol, date, rate.
  • To remove clutter, moved the location of configurations (currency_configurations.py, retry_configurations.py) in the configurations folder.
  • Flag parameter debug will display running queries on database and URL API calls for data not available at database.
  • Updated main documentation and Q&A section on existing and new features.

Version 0.08

31 Mar 07:01
Compare
Choose a tag to compare

Version 0.08

  • Added flag parameter output_fluctuation that sorts output in the same format as flag parameter sort_by_symbol and displays fluctuation data by adding the following two columns within the output: perc_diff and difference.
  • Added new section within documentation: Installation.
  • Fixed encoding issues when running update_currency_configurations.
  • Updated main documentation and Q&A section on existing and new features.

Version 0.07

28 Mar 21:11
Compare
Choose a tag to compare

Version 0.07

  • Fixed wrong calculation of reciprocal rate.

Version 0.06

28 Mar 19:16
Compare
Choose a tag to compare

Version 0.06

  • Streamline output: Before, printing output was called for every API call. Now, printing output is only done once after all API calls are done.
  • Added flag parameter sort_by_symbol that sorts results instead by currency symbol in ascending order and then by date in ascending order.
  • Updated main documentation and Q&A section on existing and new features.

Version 0.05

28 Mar 06:20
Compare
Choose a tag to compare

Version 0.05

  • Script converted from Python 2 to Python 3. Unfortunately, we are dropping support for Python 2. The latest supported working version of python_currensy_fixer for Python 2 is Version 0.04.
  • All output is sorted by date in ascending order and then by currency symbol in ascending order.
  • To keep track of all new changes properly, currency configurations, as well script update_currency_configurations is now sorted by currency symbol in ascending order.
  • Optional parameter daysinterval now supports negative numbers.
  • Updated main documentation on the new features and added required modules for python_currency_fixer in requirements.txt

Version 0.04

28 Mar 06:32
6e571bb
Compare
Choose a tag to compare

Version 0.04

  • Numerical figures extended from 12 digits to 14 digits and increased decimal precision.
  • Added a new column and optional parameter amount which is used to multiply the rate. The optional parameter amount must be between the values of one hundredth and one million and is rounded to the nearest one hundredth.
  • Added optional parameter symbollist that allows filtering output by only the list of symbols in the symbolllist that match with the symbols within the currency configurations (case insensitive).
  • Added optional parameter daysinterval that represents the number of consecutive days from the parameter datelist for the use of retrieving exchange rate within those dates. Parameter daysinterval must be a positive number and can have only one date in parameter datelist.
  • Updated main documentation and Q&A section on existing and new features.