{ "info": { "author": "Shrey Dabhi", "author_email": "shrey.dabhi23@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# bsedata\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d0e83bb030de48da8b6b5f2d5df8445d)](https://app.codacy.com/app/sdabhi23/bsedata?utm_source=github.com&utm_medium=referral&utm_content=sdabhi23/bsedata&utm_campaign=Badge_Grade_Dashboard)\n[![PyPi Version](https://img.shields.io/pypi/v/bsedata.svg)](https://pypi.org/project/bsedata/)\n[![PyPi License](https://img.shields.io/pypi/l/bsedata.svg)](https://pypi.org/project/bsedata/)\n[![PyPi PyVersions](https://img.shields.io/pypi/pyversions/bsedata.svg)](https://pypi.org/project/bsedata/)\n[![PyPi Format](https://img.shields.io/pypi/format/bsedata.svg)](https://pypi.org/project/bsedata/)\n\n| master | dev |\n|--------|-----|\n|![TravicCI master](https://api.travis-ci.com/sdabhi23/bsedata.svg?branch=master)| ![TravisCI dev](https://api.travis-ci.com/sdabhi23/bsedata.svg?branch=dev) |\n\nPython library for extracting real-time data from Bombay Stock Exchange (India).\n\n## Introduction\n\nbsedata is a library for collecting real-time data from Bombay Stock Exchange (India). It can be used in various types of projects which require getting live quotes for a given stock or index or build large data sets for data analysis.\n\nThe data is as accurate as provided on the [BSE website](m.bseindia.com).\n\n> **Please do not use this application for production usage. It is best used for learning and building application for your own use. For commercial application you better buy a data service.**\n>\n> **This library uses MIT license hence liability lies with the user and not the author of the application.**\n>\n> **As per India's IT act it is no where mentioned that we cannot scrape a website. It's up to me whether I consume the publicly available data \"visually\" or through my programme or using some kind of \"web reader\". As long as data you are scrapping is available in public domain and you are not breaching security and accessing data of private nature with malicious intent, it cannot be termed as illegal.**\n>\n> **But it can certainly be termed \"unethical\" (which is equally bad) since you are damaging the service itself. Hence be prudent about how much stress you cause to the backend. BSE's website is very capable and even they will not mind if someone is scrapping their website for educational purposes.**\n\n## Features:\n\n* Getting live quotes using stock codes in Python dicttionaries\n* Getting list of top losers\n* Getting list of top gainers\n* Getting quotes for all the indices traded in BSE\n* Helper APIs to check whether a given stock code or index code is correct\n* Getting list of all indices and stocks\n\n## Roadmap:\n\n* Get details of an individual index\n* Complete unit test coverage\n* Daily OHLCV data\n* Historical EOD OHLCV data\n\n## Dependencies\n\n* [BeautifulSoup 4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)\n* [Requests](http://docs.python-requests.org/en/master/)\n* A working internet connection :wink:\n\n## Usage\n\nRefer the documentation at https://bsedata.readthedocs.io/en/latest/usage.html\n\n## Change Log\n\n\n### v0.3.0\n\n**New Features:**\n\n- Implement updateScripCodes, getScripCodes and verifyScripCode methods to verify and search scrip codes\n\n**Bug Fixes:**\n\n- Fix getIndices method returning empty response\n- Fix getQuote method not returning company name\n\n### v0.2.0\n\n**New Features:**\n\n- Getting quotes for all the indices traded in BSE\n\n### v0.1.0\n\n**New Features:**\n\n- Getting live quotes using stock codes\n- Return data in both JSON and python (dict and list) formats\n- Getting list of top losers\n- Getting list of top gainers\n\n## License\n\nMIT License\n\nCopyright (c) 2018 Shrey Dabhi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\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/sdabhi23/bsedata", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "bsedata", "package_url": "https://pypi.org/project/bsedata/", "platform": "", "project_url": "https://pypi.org/project/bsedata/", "project_urls": { "Homepage": "https://github.com/sdabhi23/bsedata" }, "release_url": "https://pypi.org/project/bsedata/0.3.1/", "requires_dist": [ "beautifulsoup4", "requests" ], "requires_python": "", "summary": "A package for fetching data from BSE", "version": "0.3.1" }, "last_serial": 5541425, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8156356bafaccdca70fd3db05ce36da5", "sha256": "cc15744f5af76ffc31d1c6c5a2939f658ada6557efeb753a99840824637d9425" }, "downloads": -1, "filename": "bsedata-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8156356bafaccdca70fd3db05ce36da5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9599, "upload_time": "2018-06-26T21:02:44", "url": "https://files.pythonhosted.org/packages/d1/d3/e908da262e2e48af9191145177b981f8dd50815bb9e5e9b7c6fd574edd9c/bsedata-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13a5f1557306432201f049bb7ab3c69d", "sha256": "870382ebe88a459fb13439e0992601477d3dad613b3199f5e4178cc9f82b0756" }, "downloads": -1, "filename": "bsedata-0.1.0.tar.gz", "has_sig": false, "md5_digest": "13a5f1557306432201f049bb7ab3c69d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5581, "upload_time": "2018-06-26T21:02:46", "url": "https://files.pythonhosted.org/packages/c5/61/9eb6d3924f9f4ca3da120b1abebd2022895c61fe752b93d253d27b04269a/bsedata-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0b6702dd4fb214bab5cd33b80cc35ab6", "sha256": "352814b7d31c938a349ea7acf2f98f654fee5795fdda5ca026df205f7796d66d" }, "downloads": -1, "filename": "bsedata-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0b6702dd4fb214bab5cd33b80cc35ab6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11799, "upload_time": "2018-07-29T19:36:58", "url": "https://files.pythonhosted.org/packages/01/9e/2e72b52f1696cafdea3101dc8b1e26ea8638bc3700ada722bd18240c9b22/bsedata-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "576f4c498a38054de5f160039e4faf93", "sha256": "cb726bcb52fe6835fd2bc7b00af882e778095d084317e468501575468f54a2a0" }, "downloads": -1, "filename": "bsedata-0.2.0.tar.gz", "has_sig": false, "md5_digest": "576f4c498a38054de5f160039e4faf93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6950, "upload_time": "2018-07-29T19:37:00", "url": "https://files.pythonhosted.org/packages/c6/75/280907c42b0675ba5fa4b31f5e25d27148ba16d59fdd3a324e9e2af2b108/bsedata-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "78207d513f78194db8b39459cb742a52", "sha256": "28a9b46a0f24257e5a11f3ea3004fb28135e902dfd92a2bf2fd3d01c2cf3b3d8" }, "downloads": -1, "filename": "bsedata-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "78207d513f78194db8b39459cb742a52", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13350, "upload_time": "2019-07-13T13:07:37", "url": "https://files.pythonhosted.org/packages/f5/6a/e1cad49bbb8e4191cd83ed65f1aa6d33eff327b870ac8804d1ef8e8deb45/bsedata-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b6a66f33c36aef396b94d26551f0ffee", "sha256": "a2460f9d640e3556e851f06e38ba0978b8f937cb3a8da6bf3b82575d36bd25fe" }, "downloads": -1, "filename": "bsedata-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b6a66f33c36aef396b94d26551f0ffee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5550, "upload_time": "2019-07-13T13:07:41", "url": "https://files.pythonhosted.org/packages/87/9b/635e53bd485edc13eeb0003a1c1706ceb1e7711583756f80ed5e9d70ebee/bsedata-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "3022d1ab0a87996bf4270bcb3a64856e", "sha256": "6de1addd3f88d9fe3b54629139d5555911e84937a8d8bbccdca216484f12ee82" }, "downloads": -1, "filename": "bsedata-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3022d1ab0a87996bf4270bcb3a64856e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14273, "upload_time": "2019-07-16T16:05:09", "url": "https://files.pythonhosted.org/packages/6b/f8/c4b24d9f501e78c61ce85d509e03ff1f8cb983b69e3dcb1e34776dc2a038/bsedata-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1de4011f831b6c320218cd4f5f0be248", "sha256": "419dc13a396bf235c8de7880f96a1f3e33ff84669dd7a1ffc16237eba2a74701" }, "downloads": -1, "filename": "bsedata-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1de4011f831b6c320218cd4f5f0be248", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6626, "upload_time": "2019-07-16T16:05:14", "url": "https://files.pythonhosted.org/packages/07/1c/a311ff2297f8d5c3f688fd2191864df573ef3e819cdd51318890dca81601/bsedata-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3022d1ab0a87996bf4270bcb3a64856e", "sha256": "6de1addd3f88d9fe3b54629139d5555911e84937a8d8bbccdca216484f12ee82" }, "downloads": -1, "filename": "bsedata-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3022d1ab0a87996bf4270bcb3a64856e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14273, "upload_time": "2019-07-16T16:05:09", "url": "https://files.pythonhosted.org/packages/6b/f8/c4b24d9f501e78c61ce85d509e03ff1f8cb983b69e3dcb1e34776dc2a038/bsedata-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1de4011f831b6c320218cd4f5f0be248", "sha256": "419dc13a396bf235c8de7880f96a1f3e33ff84669dd7a1ffc16237eba2a74701" }, "downloads": -1, "filename": "bsedata-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1de4011f831b6c320218cd4f5f0be248", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6626, "upload_time": "2019-07-16T16:05:14", "url": "https://files.pythonhosted.org/packages/07/1c/a311ff2297f8d5c3f688fd2191864df573ef3e819cdd51318890dca81601/bsedata-0.3.1.tar.gz" } ] }