Indian Stocks- Fundamentals Data Downloader
A web scrapper using Selenium Python to download the fundamentals as well as price data from Screener.in
Introduction
Fundamental analysis of any company includes the financial statement analysis of the respective company. This package helps to download the financial data of companies listed on the NSE - India. Also, some tools are provided to help analyse the financial data of the companies as well.
Usage
First, either create the list of companies or create a file containing the names of companies. The elements of the list must be the stock symbols on NSE. NOTE: The first element of the list is the name of the list and will be ignored.
You also need to download the chrome web driver for your respective Chrome browser version. Note that this version of the package currently supports only Google Chrome browser, support for other browsers will be added in future versions.
1. Downloading the financials of companies
- Import the module and define the webdriver path
from fdscraper.scrape.download import Companies
driver_path = 'chromedriver.exe'
- Downloading the financial data
- Downloading from a list
companies_list = ['my_list','ITC','HDFCBANK']
comps = Companies(companies=companies_list,driver_path='chromedriver.exe')
data_comps = comps.get_financials()
- Downloading from a text file:
Create a text file in the following format:
my_list,TCS,HDFCBANK
And then download the data:
file_path = 'input.txt' # Path to the input file
comps = Companies(driver_path='chromedriver.exe')
data_comps = comps.get_financials(file_path=file_path)
Metadata
Release files for fdscraper 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fdscraper-0.0.1.tar.gz | 8.8 kB | Without provenance | Details for fdscraper-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fdscraper-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for fdscraper-0.0.1-py3-none-any.whl |
Total release size: 23.0 kB
Release files / fdscraper-0.0.1.tar.gz
| Download URL | fdscraper-0.0.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
226d13257a7706c9bc9d16da4a62eb917b4e0d38cacc754cedaa5c93ca64e69c
|
|
BLAKE2b-256 checksum How to use checksums |
a346b74796f3427715ab92bc7ef77e385df925505d142bb3c34683a6725f8c05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.0
|
Release files / fdscraper-0.0.1-py3-none-any.whl
| Download URL | fdscraper-0.0.1-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
193158b8c5d34437506505b5d3d7bd51a005d76d3c7aeb34368516cf6d5f53a0
|
|
BLAKE2b-256 checksum How to use checksums |
9c72cfe7b5457abe461f9356a26cd69cee6b444d6517c42ce392df6eec843dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.0
|
Security for fdscraper 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.