Skip to main content

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::keys::{AssetClass, Category, Exchange};
use yahoo_finance_symbols::{get_symbols, 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(AssetClass::All, Category::All, Exchange::All).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

yahoo_finance_symbols-0.1.3.tar.gz (14.6 MB view details)

Uploaded Source

Built Distributions

yahoo_finance_symbols-0.1.3-cp312-none-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.12 Windows x86-64

yahoo_finance_symbols-0.1.3-cp312-none-win32.whl (2.4 MB view details)

Uploaded CPython 3.12 Windows x86

yahoo_finance_symbols-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.3-cp311-none-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.11 Windows x86-64

yahoo_finance_symbols-0.1.3-cp311-none-win32.whl (2.4 MB view details)

Uploaded CPython 3.11 Windows x86

yahoo_finance_symbols-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.3-cp310-none-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.10 Windows x86-64

yahoo_finance_symbols-0.1.3-cp310-none-win32.whl (2.4 MB view details)

Uploaded CPython 3.10 Windows x86

yahoo_finance_symbols-0.1.3-cp310-cp310-manylinux_2_34_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

yahoo_finance_symbols-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.3-cp39-none-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.9 Windows x86-64

yahoo_finance_symbols-0.1.3-cp39-none-win32.whl (2.4 MB view details)

Uploaded CPython 3.9 Windows x86

yahoo_finance_symbols-0.1.3-cp39-cp39-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.3-cp38-none-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.8 Windows x86-64

yahoo_finance_symbols-0.1.3-cp38-none-win32.whl (2.4 MB view details)

Uploaded CPython 3.8 Windows x86

yahoo_finance_symbols-0.1.3-cp37-none-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.7 Windows x86-64

yahoo_finance_symbols-0.1.3-cp37-none-win32.whl (2.4 MB view details)

Uploaded CPython 3.7 Windows x86

File details

Details for the file yahoo_finance_symbols-0.1.3.tar.gz.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b77a88bd0611b464d42508025b5e1b563ce51410b93d00150ecb15e7ae371f04
MD5 cd9d51e0922df5b23c208a8b8c290ad7
BLAKE2b-256 21f22243a75e5aa3ccbf989d9dd466f1b2782c53220a3eac28ac64c2d4f1f43b

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 033ea894d8f6acae7ccda84ce57ac9df66cebeb242db61eaf5cf7faabc8885bd
MD5 54ccc9114a77ffb7d549e1553c0a96d4
BLAKE2b-256 cccebf020e60926edfd300cc62eb412134c076de596b54a1deb281b7fec51bae

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp312-none-win32.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp312-none-win32.whl
Algorithm Hash digest
SHA256 7f0a1d5b196a548e6fa00927e125a5221818d843a6ebf96d5ceb95475afa7832
MD5 dc6372a1020a31fa1fb3881ce1d079b9
BLAKE2b-256 9ea4712a226ada0791a0a1dc8fa25a813f5545e7bab872d89c57fbeac056c379

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bf8dc4f426616a50fd1448ff60847c67335c2231febf04ac1462ace657668ca5
MD5 bb628b8cb43e8f079073dacb984f8e07
BLAKE2b-256 60c8f11ce8a8b70ade668fc4656ae58e365c2cea189228ee42dc41d46049af24

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b4c8aa938015ee5976aa8456e0eab1bf13ad4545555ff59692199c58eb35b561
MD5 360c72ecb4f1f2200242bdda089f5cec
BLAKE2b-256 90d9f511351a57e3b0cb27f1f6367e5aa95b41c850a6abb5701b6423745e769c

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 32d15bc12836d3296eeb84aae361dc2cfa5081e4123bfa60553ee6f770fe0d75
MD5 185601096dc1a0cb801299284d0db6b5
BLAKE2b-256 1ed1ef3bc4700dd57b93bd3a3146b0b408ff3a8253031900850fb8880006753a

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp311-none-win32.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp311-none-win32.whl
Algorithm Hash digest
SHA256 05298deeb5bf901c618f96595804e5e938d76b448ec10107387c747ab6f18598
MD5 faed4b512c2b8594be45b9f31a91af8e
BLAKE2b-256 cdf7077697614ac7e89c9bc1eafd894c4b5352c6ab2bd9d7fc0c12db97b0f457

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c2c70cf2867246ce56ace6a63cbec04b8978dea10ad4de949a8580a1e8c8b9c8
MD5 dcd33e7c6e0ac406656f221a27138436
BLAKE2b-256 93180a61d25dca6f3cdf8505c143828ee4530d9ca70c68f6ac4066023349a16a

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 62b2c4b6ba3a25d42d6648d511b8284016164def980cd6025c6d5dfc4a74649d
MD5 e6ff641f9118d8d873e3798e317cc334
BLAKE2b-256 e97fe6bacc273074e50959fe66cbef4dedfaa5cdcfc9ef41ca78778a6e2f17cc

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 b61be26476f3a75e400ccb1d1a0bca44b12288fd4573c7883421888984b6b35b
MD5 e54041b86efa955647ef03ed8c9d929b
BLAKE2b-256 87ff8e1eadb79a02ea3b9a2c6bde0477c9bbf18de7ee158ba05675b1bea40a24

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp310-none-win32.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp310-none-win32.whl
Algorithm Hash digest
SHA256 2d51202269514bb93af0853584cfc830fda378e3d3a24af39ee0c8ed95ff2d84
MD5 041e0b9102ec6669790d71b2beae943d
BLAKE2b-256 6462f9d584b23d8ff82a94992d87805ea9117afac010f5c799de9f9b39bb0562

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 91f6f85f05b1bf572ad5eb35721cba5e522cfb216d93573e6149d481418f172f
MD5 70df3e493da6d0160afa6305dd9e8d6c
BLAKE2b-256 ea819381ff8ba99871faa5c1a239a5ee2b52938597e3d6a3008a803e41f84214

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6163829885bc8ab4c62bdd706de9e9e85943f81630bce811074459a4ae6e086a
MD5 ad3562f457a72637ef709a0cfb5a85fd
BLAKE2b-256 3dbcb8f6ca3fb297b60f2941fa29d5608c62386312fafb70c28dbf748032679e

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4efb2289a2a55435268b0dc86f669eecc72f4ff72260b43e19439de62ca8da4e
MD5 4bb81f166a7899026392cd05812a0f1d
BLAKE2b-256 0c8e80769febc32409babf90e343c429e94184169ba9ea3122ecadb1dc60efa8

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 f2a80e7fb9497e0d138a48f382b7669f17b4e5807c5edeab4c14f747da2b2157
MD5 820baab13c48d0e7ba1392fda4ff16b8
BLAKE2b-256 ec8e67e53062f33427f3930819065ba3b91b1ffb0c47ca784c195a2eceb3ba20

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp39-none-win32.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp39-none-win32.whl
Algorithm Hash digest
SHA256 a00536ef6cccc7faafd50505e9733180008ed063466fc8f38a6d0c62bdf58b44
MD5 099795106e1052ad43f44fa9cddb5111
BLAKE2b-256 432dbffbf5eb400d6729fbb6e9a1674b305fb2c03936697a13c3884a2e77a44f

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 835c3d685be0c23c36629b6acccdf2d7ef8f28b4bf342c1ee70f92833eb9c892
MD5 afbad6a7b28eeddda524f8bff5ced6c7
BLAKE2b-256 7674bef95ab277abd8bc342f87b4c25f57ee7743ca8f7d197fde07c8f9757cfd

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 be090369ac64369194a38dbbc1f98d5da872b9b7b791db272483e5cc633bd8d9
MD5 6aa30222cc3e1baaacc21d1a44731f27
BLAKE2b-256 dd86164c6a7d41ef1e8ab3ad5ed61b5de4152e0c2b235a4f37d568d77282d49b

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 dc7f134554c3f7130737aa2401a90f541809cf5d320f833819a96761d6e86bbf
MD5 d8376869578378ed8118c987cef2dfab
BLAKE2b-256 4b6b746be1e8b631eb370929ccafd123dbcc3f263eaa23bc43dc9be59899d577

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp38-none-win32.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp38-none-win32.whl
Algorithm Hash digest
SHA256 14a00a43efb6c222dd1753a74d5cd998b3eb4a84990f82416333bb9092638490
MD5 2a2ee75e2bee95dfb04eca67826a3db6
BLAKE2b-256 f25764e175de95fee4edf5e495e34459db6526f90f669a118ab701e0185425b2

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 242836f3d2c9e48c93a27bdb1044565562e8adff826aba5951a7b861b72c7009
MD5 75115310f7aa125a0d443f39e38140c3
BLAKE2b-256 5f01f72c20739e085e34a7b52ae399bac3c5c40a96167efe2e6673f3f79db053

See more details on using hashes here.

File details

Details for the file yahoo_finance_symbols-0.1.3-cp37-none-win32.whl.

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.3-cp37-none-win32.whl
Algorithm Hash digest
SHA256 e4e69784cb1b25c25dc03517de03133636ec3903cc6f737d358256ff190f9395
MD5 223aab69a6a74df99f5fd0f06e5426ab
BLAKE2b-256 45e8625ff950560b5eea2c107ca257dcd69b5533390e56d4ba4efbf1d5e8d49e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page