A Library for scraping all Ticker Symbols from Yahoo Finance
Project description
YAHOO FINANCE SYMBOLS
This Library helps in scraping 450,000+ symbols from yahoo finance. The symbols are saved in a local sqlite database which can be used directly or accessed with the rust or python library functions.
Installation
Python
pip install yahoo_finance_symbols
Rust
cargo install yahoo_finance_symbols
Examples
Python
import yahoo_finance_symbols as ys
# Fetch All Symbols
all_symbols = ys.get_symbols()
print(all_symbols)
# Search for Symbols With a Keyword
symbols = ys.search_symbols("Bitcoin", "ETF")
print(symbols)
# Update the Database
ys.update_database()
Rust
use yahoo_finance_symbols::{get_symbols_df, search_symbols, update_database};
use std::error::Error;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
// Fetch All Symbols
let all_symbols = get_symbols_df().await?;
println!("{:?}", all_symbols);
// Search for Symbols with a Keyword
let symbols = search_symbols("Apple", "Equity").await?;
println!("{:?}", symbols);
// Update the Database
update_database().await()?;
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file yahoo_finance_symbols-0.1.4.tar.gz
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4a52bbe17b825384c6947c52f203c925e8364478697638fbbe9e5cf51e78d7 |
|
MD5 | 373bee33b508779a5fc3920b3487dbb7 |
|
BLAKE2b-256 | 368e754d39bb620aa0b265d94127a1e162982a807f741b910720af39693811d7 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp312-none-win_amd64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp312-none-win_amd64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 395b9c38c693be5bf9fb1356c3a5a95d86b343618d6abfec2800f8e5236e274f |
|
MD5 | dbe5fa7e2dc08ad36a0e5591f559ab45 |
|
BLAKE2b-256 | 0128f17e6be5c43930f006c33332ac8c31d2b62056df7c0977567589595872df |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp312-none-win32.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp312-none-win32.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800e09ea2214502b2a531fc2ccc75f9a3993a5ea5a132c4516292a262d1bdd9f |
|
MD5 | 6700e670c0849aa6829e903e764afe1e |
|
BLAKE2b-256 | 679521f268b29ae6f007c555332b57b46bb93fa098d0a889a3364c2729176405 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856125617f901c07a860fd967d5511b5f86d1b3020483bfcf6a2673eeace868e |
|
MD5 | 59e1bf94fb5da793ba94b7d51c4ec32f |
|
BLAKE2b-256 | c8b299674de7106b366274a336b77fe57d6f77bbecfd3805208301c2d32ea58e |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp312-cp312-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397129d359396b07af2f95bfdd27c847dcf1c33de987a29d88702ed6e7b4eb6a |
|
MD5 | 4c6a0f7f590bcfbb5a8acb0a6659c9b2 |
|
BLAKE2b-256 | c31e725b227df883f3d3c403e9895498aaf575da1cddf7f470a5e5ae6aa35131 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp311-none-win_amd64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp311-none-win_amd64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 983f0cf501048b24b5111318cd061972be9ddcbe994c5d691e8fc35d63e90c7f |
|
MD5 | c52d6f813659131f8c9393f627fb62d6 |
|
BLAKE2b-256 | 1b417aba25a1f377a4fd6bc1b2e3fb9b7bda5e74e3189afd1d78ee02a4bd4099 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp311-none-win32.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp311-none-win32.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71cb894b53b35d6f06265be8275be0b9a512f5377076d1b60c507ab6f4b6fc6b |
|
MD5 | bbd92e81a8eec931e27b63f578d5e39a |
|
BLAKE2b-256 | 6befaaf51d2baf930d8cb05c5369f2074a97bac6b46b85688bca57eea96bbc43 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3b6c5724f90741ab62d99d3abfd9b4cdc58ade5e2becc3e8948760ae19361c |
|
MD5 | e8f6c1a69ed3fa78cd50c15f30e79828 |
|
BLAKE2b-256 | 2d1637c8684f5b9354b37658d27f77061f75fdea7b106a2966a165486ea72ae4 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp311-cp311-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2bd5ba1cfc85537e541afcc16e2523a510cfe5b3fb1070d47238ff9587ffa14 |
|
MD5 | 5eff38e142f2df19027d2470c89dea67 |
|
BLAKE2b-256 | 3bc8f0b6b5b65ccaa728b52eece427e4004759b4fc67bd9eeb8011526c15a51e |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp310-none-win_amd64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp310-none-win_amd64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d41065a73f0e0b6e8850f642e03d18bb5dbbe2120e45910f02171627b388360 |
|
MD5 | 5fd2ab36219bede3e855f516330b33c5 |
|
BLAKE2b-256 | aaac4130d3786d56a8f99766d09c91f5e522749f89f45d7b14c56ccfbbb147c3 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp310-none-win32.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp310-none-win32.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d8ba6d6495317b643bcf1d1c69bad95465b62b1db3681099486245970d72c9 |
|
MD5 | ce25c4c1df3bad3cda7cd4166fdcebd2 |
|
BLAKE2b-256 | b86a63745d9963cd4426c5f9aafb1b3bca081af0bfe25007456f16a6554929f9 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp310-cp310-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 5.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b746d2b187820b48d5c5567113a72d2ab74478b258a52111fa7124f1ea707f34 |
|
MD5 | d996b1bf3941b8ce3374d4ddd7dd1fd9 |
|
BLAKE2b-256 | 86bf2fcad73cabeb23bdce7f2064f880801b87d4756bb5b9a2437d5992f61407 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a063727d2bd54a6d4ce5e93ebb0f8b1df0237a7a77fe9c8f206f4513cb3e1326 |
|
MD5 | caa5e358a6669fa0f93a82b8c4cd8850 |
|
BLAKE2b-256 | 5d4ba17f81c8f4598e0381e8a18e3dc1456ffa1382b9e4de909d36ae2da36fe1 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp310-cp310-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.10, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdf2938da306ef59295ea046bc050ddddf03ade8355445ba5b0cea6d29aa44da |
|
MD5 | d3534f28af106c9c6c42d2881c62e29b |
|
BLAKE2b-256 | acd2611474860d38271d7a1bfd05df3db681c786656f12b9bffcdbe2840c38c5 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp39-none-win_amd64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp39-none-win_amd64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e457628408d9c6352cdc6579dc648e2103b906f5241b5da84f6c7842cebc092 |
|
MD5 | e4d3c888645383d5df0b80dca808c898 |
|
BLAKE2b-256 | 7b94c7aa7f69087c1408cca8b37f2779a3cef1ad98b1252974fed471b350af3a |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp39-none-win32.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp39-none-win32.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d3882779454ba4d9b0817086fe43ed9a8fd450eefc547693e62cd16daa54df4 |
|
MD5 | b530684c2a667e1df89c047fb1dcd848 |
|
BLAKE2b-256 | d92dafb8fdb554a564e1ef04ead2186fc569ee5d4161a3d812642a8b61d0a444 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 425f475b03e81c1d3d0a023c5c4e3a4859d0dfc6c5ed2e4582a9c6c746184183 |
|
MD5 | 1759dda6a8a6d769cb955ee96bdba5af |
|
BLAKE2b-256 | 6849d59f4a2f39f40a5084dd2b732f12fbdad7a4bacadf012848a720b84e8484 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp39-cp39-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp39-cp39-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.9, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2db5e2e6a8041adbdcb078a593be0dea6fb6f430f85e1992a8c5b8468beb11b |
|
MD5 | 454c4056c604e3cf704890995838939e |
|
BLAKE2b-256 | d78861f0f55090c9b27e4b326668ee43a90831d62c805de3dbb4ea494bb119bb |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp38-none-win_amd64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp38-none-win_amd64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee2118e1b264013e57a6ee5386d1ce134ee41e04de1ba6e898ec6576e92ad9a8 |
|
MD5 | ce40ca99ff62d1d13dcc753bac59fa80 |
|
BLAKE2b-256 | f33d5242670a392b6e3557bf244339911091506f366c7b64bf563bfa8ff34f40 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp38-none-win32.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp38-none-win32.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bcdad149de43213bf7246e7324561dbffeb21aa2c6207dc2b53c7811b477a36 |
|
MD5 | 4eaf32e1ce478078e201e74f2c0d3122 |
|
BLAKE2b-256 | b768882eb1ef3468a0defd35b09cacf5c41acf1d73d0f557b55ae7c0b3bddc67 |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp37-none-win_amd64.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp37-none-win_amd64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 802446b369637feebc15bd09cc7266f6c02d6ff166a37a7a7dcf9885b5822898 |
|
MD5 | 3bcdde2db6638346f8731e97ce0392ad |
|
BLAKE2b-256 | 001503040a3fc2b3c25852804b84b1d6e45b83aa50a6970ae5cee6a6ddd121fd |
File details
Details for the file yahoo_finance_symbols-0.1.4-cp37-none-win32.whl
.
File metadata
- Download URL: yahoo_finance_symbols-0.1.4-cp37-none-win32.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.7, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82e6f951d7e4e246dc066551e69d5bb162dd26d31713aaa53e5d8d0196baea61 |
|
MD5 | f8c6d96488d8c21d9f45de477a795bf9 |
|
BLAKE2b-256 | b4e043070a1ff3343bc69e308f88acbd5a48e1ef32685a169aa8455f9dc6f4ed |