{ "info": { "author": "Semy Mechaab", "author_email": "s.mechaab@protonmail.com", "bugtrack_url": null, "classifiers": [], "description": "Currency Viewer \n===============\nThis is a short python3 program that dynamically displays and converts the cryptocurrencies in your Kraken wallet into equivalents fiat money. \n\nIf this script helped you or if you have any feedback, please don't hesitate to contact me. \n\nAuthor : smechaab\nContact : s.mechaab@protonmail.com\n\nCredits \n------- \nThis code is based on Krakenex Python3 API by veox: https://github.com/veox/python3-krakenex \n\n* v0.2.1\n\nThis is a tiny program I personally use it daily. \nIt allows me to check my currencies without logging every 10 minutes on Kraken website. \nThis is also very useful for developers on the Krakenex API thanks to dynamically extracted data. \n\nPlease note that you need to fill your kraken.key file with your API keys. You can easily generate a pair of keys on the Kraken website, see the API documentation : https://www.kraken.com/help/api \n\nv0.2.1 Changes \n---------------- \nAdding CSV log writing feature. Your data are now stored in data.csv by default which is located in the same directory. \nProviding more object-oriented code, thus more library-oriented.\n\nTODO\u00c2\u00a0:\nIt is also planned to add other exchanges than Kraken. \n\n\n\nI wish you a good \u00e2\u20ac\u02dcback-to-school\u00e2\u20ac\u2122\u00c2\u00a0!\n\nProgram features \n---------------- \n\n1. Displaying the different amount of crypto currencies you own on your Kraken wallet. \n\n2. Displaying the total crypto money you own in equivalent fiat money. \n\n3. Adapted to the crypto and fiat currencies you already own. \n\n4. If you don't own any fiat money on your Kraken wallet, it will be displayed the equivalent in USD. \n\n5. Working with multi-fiat currencies wallets.\n\n6. Writes data in a csv file located in the project folder (default : data.csv).\n\nNOTE: Some bugs need to be fixed with fiat currencies other than EUR or USD,\nit will be patched in the next one.\n\nExample\n-------\n\nSee `example.py`\n```\nimport CurrencyViewer as cv\n\na = cv.CurrencyViewer()\na.processCViewer(log=True, currency=\"USD\", time=\"rfc1123\")\n```\n\nThis is aimed to be very easy to use.\n\nIt is also possible to call some intermediate functions :\n\n* ```processCViewer(self, log=True, currency=\"USD\", time=\"rfc1123\")```:\nMain function to call, implies to call : collectData(), getMarketPrice(), processingConversion(), displayResults() and writeLog().\nReturns nothing\n\n\n* ```collectData(self)```:\nUses krakenex library get data from Kraken API in Json.\nReturns raw data, list of crypto in user's wallet, list of fiat in user's wallet\n\n\n* ```getXBTtoFiatPrice(self, fiat)```:\nReturn XBT price for \"fiat\" input currency\n\n\n* ```getMarketPrice(self, crypto_index)```:\nReturns crypto price in XBT\n\n\n* ```updateFiatInTotal(self, fiat)```:\nUpdates \"total\" dict table to add { Fiat_currency : Total_Wallet_Value }.\nReturns nothing\n\n\n* ```displayResults(self)```:\n\t* ``values`` (dict), total value of all crypto in XBT\n\t* ``total`` (dict), total value in fiat currencies\n\n\nInteresting variables \n--------------------- \n\n* ``currencies`` : List of differents currencies owned by user \n* ``balance`` : List of the differents amount of crypto currencies owned by client \n* ``market`` : List of markets concerned by currencies in user's wallet (same order as price) \n* ``values`` : Dictionnary of current values in fiat money user's crypto currencies balance is equivalent to (according to real-time markets) \n\t\tKeys are dynamically generated by markets concerned by user \n* ``total`` : Dictionnary of total differents fiat money owned by user \n\n\n\n\nTODO: \n----- \n1. Add e-mail sender with timer or interruptions to user (user will add its own e-mail to ensure privacy) \n2. Add other exchanges \n3. Add a GUI \n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/smechaab/CurrencyViewer", "keywords": "cryptocurrencies kraken wallet bitcoin api converter currency exchange csv-files module package", "license": "GPL V3", "maintainer": "Semy Mechaab", "maintainer_email": "s.mechaab@protonmail.com", "name": "currency-viewer", "package_url": "https://pypi.org/project/currency-viewer/", "platform": "ALL", "project_url": "https://pypi.org/project/currency-viewer/", "project_urls": { "Homepage": "https://github.com/smechaab/CurrencyViewer" }, "release_url": "https://pypi.org/project/currency-viewer/0.2.1/", "requires_dist": [ "krakenex (>=2.1.0)" ], "requires_python": "", "summary": "Currency Viewer is a Kraken exchange framework", "version": "0.2.1" }, "last_serial": 4283000, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "7234ef664de1b01cc746a361ad2da1bb", "sha256": "33e400b06a2e323937af18f2c8d65a90c3d4cde74c8d68e464bd2390eede0a12" }, "downloads": -1, "filename": "currency_viewer-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7234ef664de1b01cc746a361ad2da1bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15036, "upload_time": "2018-09-18T10:13:32", "url": "https://files.pythonhosted.org/packages/59/69/9834c1a4a6804aacf123b9cf55efb8cb4793ea6400f131dad406ce96ea76/currency_viewer-0.2.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7234ef664de1b01cc746a361ad2da1bb", "sha256": "33e400b06a2e323937af18f2c8d65a90c3d4cde74c8d68e464bd2390eede0a12" }, "downloads": -1, "filename": "currency_viewer-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7234ef664de1b01cc746a361ad2da1bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15036, "upload_time": "2018-09-18T10:13:32", "url": "https://files.pythonhosted.org/packages/59/69/9834c1a4a6804aacf123b9cf55efb8cb4793ea6400f131dad406ce96ea76/currency_viewer-0.2.1-py3-none-any.whl" } ] }