mirror of
https://github.com/wassname/pandas-ta.git
synced 2026-08-01 12:40:12 +08:00
23 lines
747 B
Python
23 lines
747 B
Python
name = "pandas_ta"
|
|
"""
|
|
.. moduleauthor:: Kevin Johnson
|
|
"""
|
|
from pkg_resources import get_distribution, DistributionNotFound
|
|
import os.path
|
|
|
|
try:
|
|
_dist = get_distribution('pandas_ta')
|
|
# Normalize case for Windows systems
|
|
dist_loc = os.path.normcase(_dist.location)
|
|
here = os.path.normcase(__file__)
|
|
if not here.startswith(os.path.join(dist_loc, 'pandas_ta')):
|
|
# not installed, but there is another version that *is*
|
|
raise DistributionNotFound
|
|
except DistributionNotFound:
|
|
__version__ = 'Please install this project with setup.py'
|
|
else:
|
|
__version__ = _dist.version
|
|
|
|
categories = ["candles", "momentum", "overlap", "performance", "statistics", "trend", "volatility", "volume"]
|
|
|
|
from pandas_ta.core import * |