{ "info": { "author": "Stefan Grosser", "author_email": "stefan@unibit.ai", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# UniBit\n\n[![PyPI version](https://badge.fury.io/py/python-unibit.svg)](https://badge.fury.io/py/python-unibit)\n[![Documentation Status](https://readthedocs.org/projects/unibit/badge/?version=latest)](https://unibit.readthedocs.io/en/latest/?badge=latest)\n\n*A Python module to get stock data and news from the UniBit API*\n\nUniBit is a free API that provides real time and historical financial data, as well as financial news. This SDK is a client-side implementation of the UniBit API (https://www.unibit.ai) which has Python functions for each available API call. For the UniBit API documentation, visit (https://unibit.ai/docs)\n\nTo get started, sign up at (https://unibit.ai/login) to request a free access key. With a free key, all non-news API features are available with generous rate limits.\n\nThe UniBit Stock News API requires a premium account, but in return gives a wealth of news articles on all 8000 US-listed companies. Along with this, UniBit provides analyses on each news article. With deep learning, each article is classified into a comprehensive genre list, and named entities and sentiment are also extracted. \n\n## Install\nTo install UniBit, type:\n```shell\npip install python-unibit\n```\n\nTo install from the source, type:\n```shell\ngit clone https://github.com/unibit-api/python-unibit.git\npip install -e python-unibit\n```\n\n## Examples\n\nGet the real time price of Apple (AAPL)\n\n```python\nfrom unibit.stockprice import StockPrice\nsp = StockPrice(key=\"YOUR_KEY\")\naapl_price = sp.getPricesRealTime(\"AAPL\")\n```\n\nGet Apple's Company Profile\n\n```python\nfrom unibit.companyinfo import CompanyInfo\nci = CompanyInfo(key=\"YOUR_KEY\")\naapl_profile = ci.getCompanyProfile(\"AAPL\")\n```\n\nGet the latest news on Apple\n\n```python\nfrom unibit.news import StockNews\nsn = StockNews(key=\"YOUR_KEY\")\naapl_news = sn.getLatestStockNews(\"AAPL\")\n```\n\nThe CSV format is supported on many of the UniBit APIs. Requesting a CSV datatype will return a ```csv.reader()``` of the data\n\n```python\nfrom unibit.stockprice import StockPrice\nsp = StockPrice(key=\"YOUR_KEY\")\naapl_price_csv = sp.getPricesRealTime(\"AAPL\", size=10, datatype=\"csv\")\n```\n\n## Contribute!\nIn the UniBit Python SDK, we not only want to wrap the UniBit API, but open source methods of stock analysis, be it with some fancy quantitative strategy, with graphing, or with machine learning. Propose something in an issue or contact me at stefan@unibit.ai if you want to help!\n\n## Documentation\nDetailed documentation on the UniBit API is available at https://unibit.ai/docs.\n\n## License\nThis project is developed under an MIT License. \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/unibit-api/python-unibit", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "python-unibit", "package_url": "https://pypi.org/project/python-unibit/", "platform": "", "project_url": "https://pypi.org/project/python-unibit/", "project_urls": { "Homepage": "https://github.com/unibit-api/python-unibit" }, "release_url": "https://pypi.org/project/python-unibit/1.0.2/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Python SDK for the UniBit API", "version": "1.0.2" }, "last_serial": 4999006, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6b1dceacfcb111aac0149460dfdb7209", "sha256": "dd2946b1b426488309fba105f1cfcaf4443aa729f6ae3e3943d82210117c2f9b" }, "downloads": -1, "filename": "python_unibit-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6b1dceacfcb111aac0149460dfdb7209", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5471, "upload_time": "2019-03-19T20:09:51", "url": "https://files.pythonhosted.org/packages/f4/ba/75b50bef5ca2de152d4bc4cb34f4a3fbe26706b9b8d909eb87ca58425cdc/python_unibit-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1539c026ec9faa09fd9a061b30747575", "sha256": "de8e95b5326a20598bf42fe48493a96b600415744073eadd126883103e92dee9" }, "downloads": -1, "filename": "python-unibit-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1539c026ec9faa09fd9a061b30747575", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3338, "upload_time": "2019-03-19T20:09:53", "url": "https://files.pythonhosted.org/packages/be/18/89872cdca8131b0048686f7e75fa84f0d097738764686b5f67bd5ba4f91d/python-unibit-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "0ad77d9f708186013600dbbc8347f96c", "sha256": "18b0ad3c4fe6ae0b7912a65d01069538dec046d4d01aea4c4ae29bf5314c3b4b" }, "downloads": -1, "filename": "python_unibit-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0ad77d9f708186013600dbbc8347f96c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5469, "upload_time": "2019-03-19T20:25:06", "url": "https://files.pythonhosted.org/packages/eb/ab/cdfdf6bc1aa3b6ed9e7ee90a65ab27bad7b89474042c0a23ed8d302b7c0f/python_unibit-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b8b58928805c15bcad12a78526f7f18", "sha256": "bb051a943e86afdfbf2e3eee3ff18ea9e23f646bba00668cfdd22ac55e284755" }, "downloads": -1, "filename": "python-unibit-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7b8b58928805c15bcad12a78526f7f18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3333, "upload_time": "2019-03-19T20:25:07", "url": "https://files.pythonhosted.org/packages/93/a9/7455a877fe3ea83d2e11714abab6097e9b3e24aef883fbcc07fbc37c74a9/python-unibit-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "73bf3cfbe41f13b8963751e30bfcfd64", "sha256": "05fee582f92caab98a6f3b8bded79924138a661a2edd956ab7ff259d8502437a" }, "downloads": -1, "filename": "python_unibit-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "73bf3cfbe41f13b8963751e30bfcfd64", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6501, "upload_time": "2019-03-28T17:35:19", "url": "https://files.pythonhosted.org/packages/77/8c/fcf16c7b612d1238c289c2dfc9dc5191b39e74c00407205f78f9932bb173/python_unibit-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5ad1ffa63c7ef48ec78258ea691f058", "sha256": "0554e5b3b9a3422f766a8a8f4d2b639163ab4e564e7d5a5659e0c29d93a32e92" }, "downloads": -1, "filename": "python-unibit-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d5ad1ffa63c7ef48ec78258ea691f058", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4359, "upload_time": "2019-03-28T17:35:21", "url": "https://files.pythonhosted.org/packages/6f/27/9e5334819eb7ef99761fc5235e89c71eba0f243deb2a33d5c4b455f72cdd/python-unibit-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "73bf3cfbe41f13b8963751e30bfcfd64", "sha256": "05fee582f92caab98a6f3b8bded79924138a661a2edd956ab7ff259d8502437a" }, "downloads": -1, "filename": "python_unibit-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "73bf3cfbe41f13b8963751e30bfcfd64", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6501, "upload_time": "2019-03-28T17:35:19", "url": "https://files.pythonhosted.org/packages/77/8c/fcf16c7b612d1238c289c2dfc9dc5191b39e74c00407205f78f9932bb173/python_unibit-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5ad1ffa63c7ef48ec78258ea691f058", "sha256": "0554e5b3b9a3422f766a8a8f4d2b639163ab4e564e7d5a5659e0c29d93a32e92" }, "downloads": -1, "filename": "python-unibit-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d5ad1ffa63c7ef48ec78258ea691f058", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4359, "upload_time": "2019-03-28T17:35:21", "url": "https://files.pythonhosted.org/packages/6f/27/9e5334819eb7ef99761fc5235e89c71eba0f243deb2a33d5c4b455f72cdd/python-unibit-1.0.2.tar.gz" } ] }