Simple package to get data from finviz.com
Project description
finviz-data
A simple package for getting fundamental data from finviz.com for a single ticker.
Installation
uv add git+https://github.com/diversen/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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file finviz_data-1.3.1.tar.gz.
File metadata
- Download URL: finviz_data-1.3.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c014e7fa9af9bf5ba496d0e2c6b406156b46ef417bf4ba57083ec901b7064272
|
|
| MD5 |
658866564271a05f6bc17039a531a2b3
|
|
| BLAKE2b-256 |
0d153eb78b3ba9d05d65575a1f80a2605caa1a27da80dcb6a61e52565618c243
|
File details
Details for the file finviz_data-1.3.1-py3-none-any.whl.
File metadata
- Download URL: finviz_data-1.3.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc32b13551ff5c85b80ad943e5eeba48337d392d9b496ae6eedd5fa9cc3bd201
|
|
| MD5 |
69a07a79aae32e1e3ef4a7feee317d37
|
|
| BLAKE2b-256 |
c4c1767bce20561af654b307979b154b0c02b7fb40f4211d76e8f973b85327a1
|