Detect trend in time series, drawdown, drawdown within a constant look-back window , maximum drawdown, time underwater.
rafa-rod/pytrendseries has 165 GitHub stars.
It currently ranks #23715 daily, #24361 weekly, #26635 monthly by momentum on Trending Repos; its best-ever rank is #5123.