{ "info": { "author": "David Jetelina", "author_email": "david@djetelina.cz", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# aiocrypto_prices\n\nVery early version - API WILL CHANGE!\n\nIf you happen to stumble upon this library, please provide any and all feedback\nthrough any means comfortable to you.\n\n## Install\n\n`$ pipenv install aiocrypto_prices`\n\nor\n\n`$ pip install aiocrypto_prices --user`\n\n## Usage\n\nBehind the scenes we are (currently) using cryptocompare's API,\nwhich means all of the symbols need to be in their format and supported\nby them.\n\n### Simple\n\n```python\n>> from aiocrypto_prices import currencies\n>> await currencies.ETH.prices.get('USD')\n1053.28\n```\n\n### Advanced\n\nUseful for loading things in parallel.\n\nCareful, if you're not accessing the target price through `get`,\nit might not reload after cache expires\n```python\n>> from aiocrypto_prices import currencies\n>> currencies.add('BTC', 'ETH', 'IOT')\n>> await currencies.load_all()\n>> currencies.IOT.prices.USD\n2.79\n```\n\n### Setting up extra options\n\n```python\n>>> from aiocrypto_prices import currencies\n>>> currencies.cache = 120 # 2 minute cache\n>>> currencies.target_currencies.append('EUR') # In addition to defaults, let's fetch EUR too.\n>>> currencies.extra_information = True\t# Get name and url of a logo\n```\n\nor\n\n```python\n>>> from aiocrypto_prices import Currencies\n>>> currencies = Currencies(cache=120, target_currencies=['USD', 'EUR'], extra_information=True)\n```\n\n## Changelog\n\n### 0.0.3\n\n* extra_information parameter was renamed to human\n* new paramter 'full' providing market cap and supply\n\t* More data should be provided with 'full', but requires a redesign of Prices class\n\n## TODO\n\n* all the TODOs scattered around the code\n* All the available information cryptocompare offers\n* Assign amount in that currency? - perhaps aiocrypto_folio?\n\t* Implement adding together currencies of the same symbol and possibly other interactions\n\n\n\n* aiocrypto_exchanges\n* aiocrypto_pools\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "cryptocurrency finance crypto bitcoin asyncio", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aiocrypto-prices", "package_url": "https://pypi.org/project/aiocrypto-prices/", "platform": "", "project_url": "https://pypi.org/project/aiocrypto-prices/", "project_urls": null, "release_url": "https://pypi.org/project/aiocrypto-prices/0.0.3/", "requires_dist": [ "aiohttp (>=2.3.9)" ], "requires_python": "", "summary": "asyncio cryptocurrency prices library", "version": "0.0.3" }, "last_serial": 3530167, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "28e71a8bc1fe770b509355fa16134dd7", "sha256": "303b10488c9d6379cc6064e0c6e7704101740453a3bd9665d6287a7ec9dab75a" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "28e71a8bc1fe770b509355fa16134dd7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5325, "upload_time": "2018-01-22T02:01:03", "url": "https://files.pythonhosted.org/packages/51/32/38086301b5db6e5197f905dc1a209d482def47ce9044a9723771f9566616/aiocrypto_prices-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3305ea25957f5b61ad2e637adec80516", "sha256": "b21bb297d47e21b60e930412749f2e96a2fbfc1f7d8c4101746ce7358e408442" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3305ea25957f5b61ad2e637adec80516", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3342, "upload_time": "2018-01-22T02:01:05", "url": "https://files.pythonhosted.org/packages/d8/ba/a1ae8549602cb22322d85d11abb713ba713b24b02cb6d2fbf927d183c07a/aiocrypto_prices-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9e3e4313603604b1ec416faccf987c62", "sha256": "48b6969ec81f907bce87b075048c0320c08a990c6576d85ad361c640cbe4577f" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9e3e4313603604b1ec416faccf987c62", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6065, "upload_time": "2018-01-22T05:00:08", "url": "https://files.pythonhosted.org/packages/35/71/c4396af7cfff17160e78a4a16cb36fdde7576b1b02b8b9a08bb4eb3a19f1/aiocrypto_prices-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fad1ee900fa309165292f1d334c27dd0", "sha256": "27f3a11f99e4c9f0d66c2258acee8e45396e887b112feae5730b2b1db207e62a" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.2.tar.gz", "has_sig": false, "md5_digest": "fad1ee900fa309165292f1d334c27dd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3857, "upload_time": "2018-01-22T05:00:10", "url": "https://files.pythonhosted.org/packages/05/4a/b88e1147799a19cdd09628b865e2ab40e58985e75cac7a5a60a8d5021fe4/aiocrypto_prices-0.0.2.tar.gz" } ], "0.0.2.1": [ { "comment_text": "", "digests": { "md5": "0b9f10f3cd0a85ad961b30f38a42efe2", "sha256": "f9e249bb15a0304f5d361fcf9172ca20596ff981e67cc399658708e1182d5bc0" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0b9f10f3cd0a85ad961b30f38a42efe2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6094, "upload_time": "2018-01-22T05:39:41", "url": "https://files.pythonhosted.org/packages/ce/20/ed3197058578f4118a3eb3b85d47ffa7e8098cdb02c984c48638cb051e4d/aiocrypto_prices-0.0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dec664866b0bc2bd2727e5a917829f51", "sha256": "15816a3e526ed9dd635d731256e6f28b845196eb1bfdf4103d70080bbbde1717" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.2.1.tar.gz", "has_sig": false, "md5_digest": "dec664866b0bc2bd2727e5a917829f51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3858, "upload_time": "2018-01-22T05:39:42", "url": "https://files.pythonhosted.org/packages/0c/3a/bc04bc121abbc062690e233aec91b62f2a9c4889b75dfe33664869ccd4cd/aiocrypto_prices-0.0.2.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "5f6160fff27483827f4ba8b807f07aa7", "sha256": "e445d80cf98432add3721b772bafbcaf2c23ecfd44721d4a805765280688776f" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5f6160fff27483827f4ba8b807f07aa7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8059, "upload_time": "2018-01-29T01:14:54", "url": "https://files.pythonhosted.org/packages/8e/99/05bb3158e64406bae4e1132e176b108f029f7b07f1daefaaaec4de26a5b0/aiocrypto_prices-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c9475d042615df905e7799e01c58b7b", "sha256": "31a9eb3c038203e6f84e5d31e8ef7144c7322558c310fa3894dcc13fffd1d08d" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6c9475d042615df905e7799e01c58b7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5425, "upload_time": "2018-01-29T01:14:55", "url": "https://files.pythonhosted.org/packages/d1/e0/22eeeefd8e29fcd5bb799d24df8fa60648b0545705a82f9d4e9260150187/aiocrypto_prices-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5f6160fff27483827f4ba8b807f07aa7", "sha256": "e445d80cf98432add3721b772bafbcaf2c23ecfd44721d4a805765280688776f" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5f6160fff27483827f4ba8b807f07aa7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8059, "upload_time": "2018-01-29T01:14:54", "url": "https://files.pythonhosted.org/packages/8e/99/05bb3158e64406bae4e1132e176b108f029f7b07f1daefaaaec4de26a5b0/aiocrypto_prices-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c9475d042615df905e7799e01c58b7b", "sha256": "31a9eb3c038203e6f84e5d31e8ef7144c7322558c310fa3894dcc13fffd1d08d" }, "downloads": -1, "filename": "aiocrypto_prices-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6c9475d042615df905e7799e01c58b7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5425, "upload_time": "2018-01-29T01:14:55", "url": "https://files.pythonhosted.org/packages/d1/e0/22eeeefd8e29fcd5bb799d24df8fa60648b0545705a82f9d4e9260150187/aiocrypto_prices-0.0.3.tar.gz" } ] }