Skip to main content

library to get BSE India data

Project description

bseindia 0.1

Python Library to get publicly available data on new BSE india website.

Release Notes

  • Compatible and Tested with Python 3.9 and above
  • Future release will be done on requirement basic

Libraries Required

  • requests
  • beautifulsoup
  • numpy
  • scipy
  • pandas
  • lxml

For Windows systems you can install Anaconda, this will cover many dependencies (You'll have to install requests and beautifulsoup additionally though)

Installation

Fresh installation

$pip install bseindia

Upgrade

$pip install bseindia --upgrade

Function list

bseindia

  • trading_holiday_calendar
  • historical_stock_data
  • equity_bhav_copy
  • derivative_bhav_copy
  • stock_info

Example :

import bseindia

data = bseindia.trading_holiday_calendar()

Example :

data = bseindia.get_historical_stock_data(symbol='SBIN', from_date='01-06-2023', to_date='10-06-2023')

OR

data = bseindia.get_historical_stock_data(symbol='SBIN', period='1M')

Example :

data = bseindia.equity_bhav_copy(trade_date='01-07-2024')

More functions will be available in future releases...

How can I contribute?

There are multiple ways in which you can contribute-

Write about your project

There are working on to add many function to this library. BSElib at the moment is short of good documentation. There are lot of features in BSElib yet to come :( , so till we complete the documentation, I'll need support from the community.

Please write about your projects in blogs, quora answers and other forums, so that people find working examples to get started.

Raising issues, bugs, enhancement requests

For quick resolution please raise issues both here on issue page. I'll try my best to address the issues quickly on github as and when I get notified, but raising it on stackoverflow will provide you access to a larger group and someone else might solve your problem before I do.

Submit patches

If you have fixed an issue or added a new feature, please fork this repository, make your changes and submit a pull request. Here's good article on how to do this.

Looking forward for healthy participation from community.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bseindia-0.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

bseindia-0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file bseindia-0.1.tar.gz.

File metadata

  • Download URL: bseindia-0.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for bseindia-0.1.tar.gz
Algorithm Hash digest
SHA256 ed38b18b64c0dcab3565456a62c9891f8193c96c9a78063fa88a2c486ef632ca
MD5 ce331848b45981014e1ff07640aeaf95
BLAKE2b-256 995467286906879f67c01f6ba87241d1653ced200933ee5e4d1c0384e188f0d1

See more details on using hashes here.

File details

Details for the file bseindia-0.1-py3-none-any.whl.

File metadata

  • Download URL: bseindia-0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for bseindia-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e433d5d67c3a867a01cffb8470ebe0d4dd51a29aa40324b1b0a1b5cb7640db6
MD5 ce8e547b4a5a441b337fbe00d9cb3663
BLAKE2b-256 2e68bda669ca24d9c87e37b05664bdcce73360cedf116160c4d2e961e081e29f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page