{ "info": { "author": "Dimitrios Kouzis-Loukas", "author_email": "lookfwd@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Office/Business :: Financial" ], "description": "Kaiko - Bittrex Python index\n============================\n\nA python module that provides easier access to the Kaiko Bittrex\nHistorical trade data. Assuming that you've bought the files from\n`here `__,\nyou can now use these (relativelly) simple 2 steps to process them.\n\n1. Create an ``index.csv`` file. We assume that you have unziped the\n file and when you ``ls Bittrex`` you see the pairs e.g. ``2GIVEBTC``,\n ``8BITBTC`` etc. Then you run:\n ``find Bittrex -type f | grep -v \".DS_Store\" > index.csv`` and an\n ``index.csv`` file must have been created for you. This file has all\n the ``.csv.gz`` files of the archive.\n2. When you install with ``pip install kaikobittrex``, you can create an\n ``Index`` object from Python and access the content of those files\n like this:\n\n::\n\n #!/usr/bin/env python\n\n from kaikobittrex import Index\n\n idx = Index.from_file()\n\n def process_pair(year, month, day, pair, f):\n for lineno, line in enumerate(f.readlines()):\n line = line.strip()\n if lineno == 0:\n assert line == \"id,exchange,symbol,date,price,amount,sell\"\n else:\n record = idx.parse_line(line)\n print record\n\n idx.process_all(process_pair)\n\nThere are additional ``process_*`` methods that allow you to process\nsubset of those data. ``process_day(self, year, month, day, f)`` and\n``process_pair(self, year, month, day, pair, f)`` all take the same type\nof callback argument ``f`` and process the subset of records you\ndefined. The ``Index`` object also exposes the ``index`` member which\nhas records for given date/pair, the ``pairs`` member that has all\navailable pairs and the ``pairs_map`` member that maps pairs to coin\nbase/quote pairs. See the test file for more details.\n\nNotes\n-----\n\nTo release ``python setup.py sdist``, ``twine upload dist/*``.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lookfwd/python-kaiko-bittrex", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "kaikobittrex", "package_url": "https://pypi.org/project/kaikobittrex/", "platform": "", "project_url": "https://pypi.org/project/kaikobittrex/", "project_urls": { "Homepage": "https://github.com/lookfwd/python-kaiko-bittrex" }, "release_url": "https://pypi.org/project/kaikobittrex/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "Python bindings for Kaiko Bittrex Historical trade data", "version": "1.0.3" }, "last_serial": 3110664, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "5e1f9550d82cf72eccb72ad5685de0de", "sha256": "ae66498c6bed913ffbae7a510180253a53433cdc5744dc91f2050c42fefc7b99" }, "downloads": -1, "filename": "kaikobittrex-1.0.3.tar.gz", "has_sig": false, "md5_digest": "5e1f9550d82cf72eccb72ad5685de0de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3948, "upload_time": "2017-08-20T23:48:17", "url": "https://files.pythonhosted.org/packages/56/d4/b434da1df16ed6a6fcff5e58b06796ba8b24c9672d5d999550a1fb843ee4/kaikobittrex-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e1f9550d82cf72eccb72ad5685de0de", "sha256": "ae66498c6bed913ffbae7a510180253a53433cdc5744dc91f2050c42fefc7b99" }, "downloads": -1, "filename": "kaikobittrex-1.0.3.tar.gz", "has_sig": false, "md5_digest": "5e1f9550d82cf72eccb72ad5685de0de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3948, "upload_time": "2017-08-20T23:48:17", "url": "https://files.pythonhosted.org/packages/56/d4/b434da1df16ed6a6fcff5e58b06796ba8b24c9672d5d999550a1fb843ee4/kaikobittrex-1.0.3.tar.gz" } ] }