finviz-data
A simple package for getting fundamental data from finviz.com for a single ticker.
Installation
uv add finviz-data
Alternatively, install it with pip:
pip install finviz-data
Development
uv sync
uv run python -m unittest discover
By default, the live Finviz test is skipped. To run the full test suite without
skipping the live test, enable it with FINVIZ_LIVE_TESTS=1:
FINVIZ_LIVE_TESTS=1 uv run python -m unittest discover
The live test makes a real request to finviz.com and may still be skipped if Finviz temporarily rate limits your IP.
Usage
from finviz_data import finviz_data
# Get the html soup for a single ticker
soup = finviz_data.get_soup('AAPL')
# Get the fundamentals for a single ticker
fundamentals = finviz_data.get_fundamentals(soup)
# Get the fundamentals where all is formatted to float values where possible
fundamentals = finviz_data.get_fundementals_float(soup)
# Get basic company info, sector, ticker etc.
company_info = finviz_data.get_company_info(soup)
Metadata
Release files for finviz-data 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| finviz_data-1.3.2.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finviz_data-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / finviz_data-1.3.2.tar.gz
| Download URL | finviz_data-1.3.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67752f0bd2cfd5bb6777ea53dde5a9a9937370ecde53290642fa8021c9c30df0
|
|
BLAKE2b-256 checksum How to use checksums |
d89a24efd98013f4ebfa9e2c4c05ac435448b47fdb58606f79e58f24d2604128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / finviz_data-1.3.2-py3-none-any.whl
| Download URL | finviz_data-1.3.2-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a5c301a4ad65d58a330d00f50d5bc30e9432d869be039fd524975bc4f3138b4
|
|
BLAKE2b-256 checksum How to use checksums |
f3eaa78a7762e12345e692626c3a76609cc63d63e195c3671e8a3cf2ff8c7f47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|