Skip to main content

A Library for scraping all Ticker Symbols from Yahoo Finance

Project description

YAHOO FINANCE SYMBOLS

This Library helps in scraping 200,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};

// Fetch All Symbols
let all_symbols = get_symbols(AssetClass::All, Category::All, Exchange::All)?;
println!("{:?}", all_symbols);

// Search for Symbols with a Keyword
let symbols = search_symbols("Apple", "Equity").unwrap();
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.1.tar.gz (7.1 MB view details)

Uploaded Source

Built Distributions

yahoo_finance_symbols-0.1.1-cp312-none-win_amd64.whl (9.7 MB view details)

Uploaded CPython 3.12 Windows x86-64

yahoo_finance_symbols-0.1.1-cp312-none-win32.whl (9.5 MB view details)

Uploaded CPython 3.12 Windows x86

yahoo_finance_symbols-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (10.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.1-cp312-cp312-macosx_10_12_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.1-cp311-none-win_amd64.whl (9.7 MB view details)

Uploaded CPython 3.11 Windows x86-64

yahoo_finance_symbols-0.1.1-cp311-none-win32.whl (9.5 MB view details)

Uploaded CPython 3.11 Windows x86

yahoo_finance_symbols-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (10.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.1-cp311-cp311-macosx_10_12_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.1-cp310-none-win_amd64.whl (9.7 MB view details)

Uploaded CPython 3.10 Windows x86-64

yahoo_finance_symbols-0.1.1-cp310-none-win32.whl (9.5 MB view details)

Uploaded CPython 3.10 Windows x86

yahoo_finance_symbols-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl (13.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

yahoo_finance_symbols-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (10.1 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.1-cp310-cp310-macosx_10_12_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.1-cp39-none-win_amd64.whl (9.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

yahoo_finance_symbols-0.1.1-cp39-none-win32.whl (9.5 MB view details)

Uploaded CPython 3.9 Windows x86

yahoo_finance_symbols-0.1.1-cp39-cp39-macosx_11_0_arm64.whl (10.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

yahoo_finance_symbols-0.1.1-cp39-cp39-macosx_10_12_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

yahoo_finance_symbols-0.1.1-cp38-none-win_amd64.whl (9.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

yahoo_finance_symbols-0.1.1-cp38-none-win32.whl (9.5 MB view details)

Uploaded CPython 3.8 Windows x86

yahoo_finance_symbols-0.1.1-cp37-none-win_amd64.whl (9.7 MB view details)

Uploaded CPython 3.7 Windows x86-64

yahoo_finance_symbols-0.1.1-cp37-none-win32.whl (9.5 MB view details)

Uploaded CPython 3.7 Windows x86

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0333fb881bf69348ada6155d0a6177bb738c9e7e9ad0cd4198fcf07a7efccdc1
MD5 39198ef6b62009a20a0eed8079463830
BLAKE2b-256 f6c6a4dcefcb4139e181de9336765515e24fd77dfeba4d01395ecad08e50ced9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 ceb1caa26f849e382640fd3fcc3f68671086547c582494a773ca63d3aad7b54c
MD5 f5931ffc3fba43b11edd2d2a030ab88b
BLAKE2b-256 3cc5134a16a00aa7581c1a4b029bad4d496d5239409af9b6a6e018fdd38192e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp312-none-win32.whl
Algorithm Hash digest
SHA256 47a569fcf68e13979dd58f726440d0c75f9aa0ed1411813787bbbb13fa28c130
MD5 6236943d9c6ace2e7a3abd1991211ecb
BLAKE2b-256 f587a0b75930052145217e3de3a306abf76d7c3a85a4b17bd93bad18a4a38fda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7b3285bf80449a76bfec29481affc5d87508fe9aa55ebaebb82cc6ece74b464
MD5 014c850a3ebf5db144ae93b3a694a8e7
BLAKE2b-256 cc4512b0783a6002faa5cf9c6e7b787260212a82b38a1ee71e0ca6232627f175

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 351ec5dbf9ab84849cb7dc365b924e79c8fc216fe1fb201a087f88f6c386133d
MD5 c49d757b7087e0ee1394a2e7c3720898
BLAKE2b-256 bc869148dd0d30ac45a097c77754d5954441b56ec4abebae265b7121e5d56332

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 b412adf04761cafcb95ffcfcae97492f311b9706d618a4d8b4f681c22eceac75
MD5 d1a9b4606e7c70d127a8bfbe0a4c164f
BLAKE2b-256 eb4f61d4bd95221a8fbe209390fc31efefc155ce3222df781b082549a6db8f69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp311-none-win32.whl
Algorithm Hash digest
SHA256 a135ba16ec945a4420153ac9e92d34359b6881b237b3a20f6666ef88dbfcafcc
MD5 d3307528a1e4f134adf87ad675879152
BLAKE2b-256 7876505dc5addca59ad44e5f62d353cfff2ebe8ebfb88d01cf5eba6f4cbcc348

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2049be38e1e30e721d2e3d40aee7af621b0af38561db94f6ad9d2d6301178018
MD5 541dc284d0fa198c17ef68a9f6671549
BLAKE2b-256 a679a8c938953bb3a910f1d516e22aaf3a45b72fab9d044fdf51ad7f7693f6d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f878a74f868bb34f5e74a4b5f4a6f2cf6f942fda25361fb6a7378ab7323bf7a1
MD5 08ade2fb7baf81087d2ecf7d82957442
BLAKE2b-256 7fafe5c227bf4dd3bf4767e24a51658bfc3c7220185398cd78c58075f85dc3ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 84c333cd7872ee5e3c070cf3cd78071cabe22b05b440e5cfe83c8be864b70ca9
MD5 8c5454ad3066d6070a4a1eb47391792b
BLAKE2b-256 f1e8a43003720501b70502aec7a3f4c93a64ad407d3f758ea517b5896d77dd5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp310-none-win32.whl
Algorithm Hash digest
SHA256 f4ebb789b8fe9435e9d8e7c7574f216795a45d29e7ad1859d19b3678e7b13581
MD5 50e15312a3a51feabbb1cfc52a1fe6ba
BLAKE2b-256 a0634fd5076589d404d41867fcbf4acd562f8f9ea70fe285a82ac40f3eee5c2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3b9949460be015a8afd05e35284ceaa2d8f1342871b953c7146212a3f1dbf903
MD5 8bbf3751774d51624b2a2785620b7fd0
BLAKE2b-256 eef688689d59c10936b45b8ca39833f78e40e1709fd46573cc4408d93c2ba1e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f79cf33ae40acc0210548e372de522fced2d07fe0a2cf308266f22e19e7f3704
MD5 47d71a01314c0b747d7c9786c8db8c0a
BLAKE2b-256 e3aa36706badf6b2b921c1797c6081f64b944dba8230ec1d12b1617b56dafb77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c9adc1823d4fb6b394f66e93b5f6dbc939c8a3bc5022029650004263f989b088
MD5 6d9881b5960dfaa4988b04965644e3cc
BLAKE2b-256 1ba4681fa175ede7f4f5ce455356f43b13a62c6c52abc3d5fe56da5552ee81e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 7baffe4629294a108bda87193c524c0bb6c8837fed16c8c3b5d10bd49ba27128
MD5 50acd37b8999eaf76222fe3c1960e964
BLAKE2b-256 9b81b9acb0b1b646c1882fd61d9b9a76364ae662bcbc4a471007e9c90dc88023

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp39-none-win32.whl
Algorithm Hash digest
SHA256 0378af3c4f86fd91d02785cb114619d55875deef4cac040e1633019d00ffdeb7
MD5 77bcd80bd7df164ebc6186b6866bce41
BLAKE2b-256 79661fef763985ed46dfaaab4a6b8aed80e6869aad73e577b39613ffc8f8e489

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 740fbb2fee4209953a8c41ebd4b97747f0cca54127fb141a7833b32557cec9cd
MD5 53babb3493822260cd879e687fedde42
BLAKE2b-256 1192f3ca439b7741e25e642b97fa276551d39d06760a4347b2a31affd7a2e51a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e9e927e3d8cdfa591d1584f3b5e4ceaa4396683442a8af06c35ef27e9ab5f3f7
MD5 49bb8dfb873bcb9e3c90f7b7e2e94e27
BLAKE2b-256 a4c44f6a7837e9aa5febcb81dbd60a08431f684a522e3a7c32ef952a9292705d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 d2bbc4cc3c9b455f41ec5472b221d6fdcaedbecadcbc1456c75fa10abcb1db20
MD5 ca13594362f3529cf7a63751299bac5a
BLAKE2b-256 26d57043cf25368b067bca17527a024aab4f773f37e111bfdbe81f8a58382a7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp38-none-win32.whl
Algorithm Hash digest
SHA256 04da7692e69c8c7bbcaac882c63aef1777f892b94c7db35addfe75c17d47df03
MD5 a70b8f39e97b27c82e0a3b3f178fb91d
BLAKE2b-256 e2e995773043aa988c9f964bcbc29d09331a6782e84f354c8a4c8eea587f1ede

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 2b86f9e82168c1cc20416229df6b0ec246b265f6a9ae55b7474b7c662272a47d
MD5 e54c4c7f19e537a8d9541ac7eb6b9641
BLAKE2b-256 ab23c246fc68bb29a27117462b4297a59f730358c8a3b303b014f765df0a6790

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yahoo_finance_symbols-0.1.1-cp37-none-win32.whl
Algorithm Hash digest
SHA256 22d5f71b1997cc1b005ec11f44f7a84e7fa8e68dbcba3e0f5fad4375a14d8679
MD5 99f06c7eb60c11d0c65b5e4644b82261
BLAKE2b-256 6b204ef5ca5d311a7ec4bd336f854a79057013dcd805ae5ad5e389963068973b

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