{"id":37083628,"url":"https://github.com/sdabhi23/bsedata","last_synced_at":"2026-01-14T10:12:20.456Z","repository":{"id":45930755,"uuid":"138792360","full_name":"sdabhi23/bsedata","owner":"sdabhi23","description":"Python library for extracting real-time data from Bombay Stock Exchange (India)","archived":false,"fork":false,"pushed_at":"2025-12-06T00:37:49.000Z","size":308,"stargazers_count":110,"open_issues_count":4,"forks_count":50,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-01-04T04:48:44.879Z","etag":null,"topics":["bse","bse-stock-data","hacktoberfest","python","python3","stock"],"latest_commit_sha":null,"homepage":"https://bsedata.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sdabhi23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-26T20:55:22.000Z","updated_at":"2025-09-10T10:18:07.000Z","dependencies_parsed_at":"2024-06-19T01:51:09.012Z","dependency_job_id":"c9e10fb0-f423-465c-9ae2-765c14564289","html_url":"https://github.com/sdabhi23/bsedata","commit_stats":{"total_commits":91,"total_committers":4,"mean_commits":22.75,"dds":0.08791208791208793,"last_synced_commit":"06cec4b91c58b68da31d59a6449d417a45aabf63"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/sdabhi23/bsedata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdabhi23%2Fbsedata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdabhi23%2Fbsedata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdabhi23%2Fbsedata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdabhi23%2Fbsedata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdabhi23","download_url":"https://codeload.github.com/sdabhi23/bsedata/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdabhi23%2Fbsedata/sbom","scorecard":{"id":806836,"data":{"date":"2025-08-11","repo":{"name":"github.com/sdabhi23/bsedata","commit":"418d2766b8aab4cd5aeb6038960bb68ff22888a5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/daily-tests.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/sdabhi23/bsedata/daily-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/daily-tests.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/sdabhi23/bsedata/daily-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/daily-update-scrip-code-list.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sdabhi23/bsedata/daily-update-scrip-code-list.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/daily-update-scrip-code-list.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sdabhi23/bsedata/daily-update-scrip-code-list.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev-tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sdabhi23/bsedata/dev-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev-tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/sdabhi23/bsedata/dev-tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev-tests.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/sdabhi23/bsedata/dev-tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/daily-tests.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/daily-tests.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/daily-update-scrip-code-list.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/daily-update-scrip-code-list.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/dev-tests.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/dev-tests.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/dev-tests.yml:34","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   7 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/daily-tests.yml:1","Warn: no topLevel permission defined: .github/workflows/daily-update-scrip-code-list.yml:1","Warn: no topLevel permission defined: .github/workflows/dev-tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T12:01:34.829Z","repository_id":45930755,"created_at":"2025-08-23T12:01:34.829Z","updated_at":"2025-08-23T12:01:34.829Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bse","bse-stock-data","hacktoberfest","python","python3","stock"],"created_at":"2026-01-14T10:12:19.621Z","updated_at":"2026-01-14T10:12:20.448Z","avatar_url":"https://github.com/sdabhi23.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# bsedata\n\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\nPython library for extracting real-time data from Bombay Stock Exchange (India).\n\n| Code coverage                                 | Documentation                         |\n| --------------------------------------------- | ------------------------------------- |\n| [![code coverage][codecovbadge]][codecovlink] | [![documentation][docbadge]][doclink] |\n\n\n## Tests\n\n| `daily`                                      | `master` branch                                 | `dev` branch                           |\n|--------------------------------------------- | ----------------------------------------------- | -------------------------------------- |\n| [![tests daily][testsdaily]][testsdailylink] | [![tests master][testsmaster]][testsmasterlink] | [![tests dev][testsdev]][testsdevlink] |\n\n[testsdaily]: https://github.com/sdabhi23/bsedata/actions/workflows/daily-tests.yml/badge.svg\n[testsmaster]: https://github.com/sdabhi23/bsedata/actions/workflows/dev-tests.yml/badge.svg?branch=master\n[testsdev]: https://github.com/sdabhi23/bsedata/actions/workflows/dev-tests.yml/badge.svg?branch=dev\n[testsdailylink]: https://github.com/sdabhi23/bsedata/actions/workflows/daily-tests.yml\n[testsmasterlink]: https://github.com/sdabhi23/bsedata/actions/workflows/dev-tests.yml?query=branch%3Amaster\n[testsdevlink]: https://github.com/sdabhi23/bsedata/actions/workflows/dev-tests.yml?query=branch%3Adev\n[codecovbadge]: https://codecov.io/gh/sdabhi23/bsedata/branch/master/graph/badge.svg?token=QI8ZPA6ODL\n[codecovlink]: https://codecov.io/gh/sdabhi23/bsedata\n[docbadge]: https://readthedocs.org/projects/bsedata/badge/?version=latest\n[doclink]: https://bsedata.readthedocs.io/en/latest/?badge=latest\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\u003e **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\u003e\n\u003e **This library uses MIT license hence liability lies with the user and not the author of the application.**\n\u003e\n\u003e **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\u003e\n\u003e **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\n## Dependencies\n\n- [BeautifulSoup 4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)\n- [Requests](http://docs.python-requests.org/en/master/)\n- [lxml](https://lxml.de/)\n- A working internet connection :wink:\n\n## Usage\n\nRefer the documentation at \u003chttps://bsedata.readthedocs.io/en/latest/usage.html\u003e\n\n## Change Log\n\nRefer the documentation at \u003chttps://bsedata.readthedocs.io/en/latest/chglog.html\u003e\n\n## License\n\nMIT License\n\nCopyright (c) 2018 - 2024 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdabhi23%2Fbsedata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdabhi23%2Fbsedata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdabhi23%2Fbsedata/lists"}