Coverage for src/polars_yahoo/__init__.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.17.3, created at 2026-11-17 15:16 +0000

1"""Minimal Yahoo Finance price history as polars DataFrames. 

2 

3>>> import polars_yahoo as yh 

4>>> yh.Ticker("aapl") 

5Ticker('AAPL') 

6""" 

7 

8from __future__ import annotations 

9 

10from ._chart import INTERVALS, PERIODS, DateLike 

11from ._download import download 

12from ._http import Response, Session 

13from ._ticker import Ticker 

14from .exceptions import NetworkError, RateLimitError, ResponseError, TickerNotFoundError, YahooError 

15 

16__all__ = [ 

17 "INTERVALS", 

18 "PERIODS", 

19 "DateLike", 

20 "NetworkError", 

21 "RateLimitError", 

22 "Response", 

23 "ResponseError", 

24 "Session", 

25 "Ticker", 

26 "TickerNotFoundError", 

27 "YahooError", 

28 "download", 

29] 

30 

31__version__ = "0.3.1"