yfinance offers a Pythonic way to fetch financial & market data from Yahoo!Ⓡ finance. yfinance is not affiliated, endorsed, or vetted by Yahoo, Inc. It's an open-source tool that uses Yahoo's publicly available APIs, and is intended for research and educational purposes.
Yes, almost every library/unofficial API available to access the Yahoo Finance data supports Python. Some options support a range of other languages as well, just in case Python is not your thing.