Skip to main content

fundamental: Dataframe for fundamental financials

It is a Python 3 library for generating stock fundamental data through YahooFinance. The library is primarily based on yfinance package. fundamental requires only list of tickers input from the user and easily generate dataframe for fundamental ratio analysis, relative value ratio analysis and industry relative analysis.

Data inclusion

  • financials for recent 3 years. (income statement, balance sheet, cash flow statement)

  • calendar year end financials for comparision.

  • TTM financial by aggregate recent 4 quarters data

  • Basic share data for each fiscal year end and recent fiscal quarter end

  • price data for each fiscal year end and recent fiscal quarter end

  • It takes about 10 minutes to create a dataframe for 100 stocks.

Usage

::

# pip install fundamental

from fundamental import fundamental

symlist=[‘GOOG’,’MSFT’,’FB’]

df = fundamental.get_df_list(symlist)

https://github.com/steven2K19/fundamental

Limitation

  • slow internet connection would lead scraping error and the program will auto try 3 times.

Metadata

Release files for fundamental 0.1.1.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fundamental 0.1.1.18
File Size Uploaded Provenance Actions
fundamental-0.1.1.18.tar.gz 4.6 kB Without provenance Details for fundamental-0.1.1.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fundamental 0.1.1.18
File Interpreter ABI Platform Actions
fundamental-0.1.1.18-py3-none-any.whl Python 3 none any Details for fundamental-0.1.1.18-py3-none-any.whl

Total release size: 10.5 kB

Release files / fundamental-0.1.1.18.tar.gz

Download URL fundamental-0.1.1.18.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f8482e59ae9ee7a8684f7aa5ca1500c7d8e4d111092927e9fe62b046b12646e2
BLAKE2b-256 checksum
How to use checksums
83f89b36027b7db87ce77e65044a013f1c00134ff00b9ca170f5c4442ddc143a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

Release files / fundamental-0.1.1.18-py3-none-any.whl

Download URL fundamental-0.1.1.18-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d2c308672b1266bea56f9cf0f29e6d4ebffc7950c961a60da7c91bd163cfd8b
BLAKE2b-256 checksum
How to use checksums
274f6c00f9c6601f50b4b787737775f17993d4c41ae1839a582b246c3219734e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

Security for fundamental 0.1.1.18

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page