{ "info": { "author": "Chris Simpson", "author_email": "chris15leicester@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "\n## What\n\n- Convert a http://www.floatrates.com/json-feeds.html daily rates json src file \nto valid Open Bank Project payload.\n- HTTP PUT them to an Open Bank Project endpoint to populate the database via the `fx` api call\n\n- Uses python3 \n\n## Setup \n\n- You must have a valid Direct Login token\n- You must have the `CanCreateFxRateAtAnyBank` permission\n\n```\nexport ENDPOINT=\nexport AUTH_TOKEN=\n```\n#### Options\n\n- WRITE_TO_FILE - Write output to disk\n- POST_TO_OBP - Post to Open Bank Project api endpoint\n\n**Note:** By default this wont post to the enpoint. This is to allow testing\nto post to an endpoint, set the environment up:\n\n```\nexport WRITE_TO_FILE=False\nexport POST_TO_OBP=True\n```\nThe above allows you to test before blasting an endpint with invalid data.\n\n\n## Run\n pip install -r requirements.txt\n python3 convert.py\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chrisjsimpson/fx2obp", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "fx2obp", "package_url": "https://pypi.org/project/fx2obp/", "platform": "", "project_url": "https://pypi.org/project/fx2obp/", "project_urls": { "Homepage": "https://github.com/chrisjsimpson/fx2obp" }, "release_url": "https://pypi.org/project/fx2obp/0.2/", "requires_dist": [ "bs4", "requests" ], "requires_python": "", "summary": "Convert exchange rates to OBP format, and optionally post to an OBP instance", "version": "0.2" }, "last_serial": 5746755, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "0f13e468c5be3e470999dfe7a5737e7b", "sha256": "316396f243c5a95a36717e77e0dc221d7ea9b0899f533770e574e3304321a6db" }, "downloads": -1, "filename": "fx2obp-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0f13e468c5be3e470999dfe7a5737e7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5466, "upload_time": "2019-08-28T23:37:28", "url": "https://files.pythonhosted.org/packages/14/a4/2390f14f3d78405d6c9966ee25b931b40c6f5d43c854544301254394b775/fx2obp-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7659d77bc802833bc513e18647a5051f", "sha256": "822d9406e250a228b0f7479e2e296738f745a6478ff955c4783e63b96831e7eb" }, "downloads": -1, "filename": "fx2obp-0.2.tar.gz", "has_sig": false, "md5_digest": "7659d77bc802833bc513e18647a5051f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4624, "upload_time": "2019-08-28T23:37:31", "url": "https://files.pythonhosted.org/packages/52/d9/b7fb309507678300cc81ab219550ee3426bea3eb3898191516b1ba1193fb/fx2obp-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0f13e468c5be3e470999dfe7a5737e7b", "sha256": "316396f243c5a95a36717e77e0dc221d7ea9b0899f533770e574e3304321a6db" }, "downloads": -1, "filename": "fx2obp-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0f13e468c5be3e470999dfe7a5737e7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5466, "upload_time": "2019-08-28T23:37:28", "url": "https://files.pythonhosted.org/packages/14/a4/2390f14f3d78405d6c9966ee25b931b40c6f5d43c854544301254394b775/fx2obp-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7659d77bc802833bc513e18647a5051f", "sha256": "822d9406e250a228b0f7479e2e296738f745a6478ff955c4783e63b96831e7eb" }, "downloads": -1, "filename": "fx2obp-0.2.tar.gz", "has_sig": false, "md5_digest": "7659d77bc802833bc513e18647a5051f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4624, "upload_time": "2019-08-28T23:37:31", "url": "https://files.pythonhosted.org/packages/52/d9/b7fb309507678300cc81ab219550ee3426bea3eb3898191516b1ba1193fb/fx2obp-0.2.tar.gz" } ] }