-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finance/py-TA-Lib: New port: Python wrapper for TA-LIB based on Cython
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
PORTNAME= TA-Lib # provides Python namespace 'talib' | ||
DISTVERSION= 0.4.25 | ||
CATEGORIES= finance python | ||
MASTER_SITES= CHEESESHOP | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= yuri@FreeBSD.org | ||
COMMENT= Python wrapper for TA-LIB based on Cython | ||
WWW= https://mrjbq7.github.io/ta-lib/ | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= ${PYNUMPY} | ||
LIB_DEPENDS= libta_lib.so:devel/ta-lib | ||
RUN_DEPENDS= ${PYNUMPY} | ||
#TEST_DEPENDS= misc/py-polars - fails to build, see https://github.com/rust-lang/hashbrown/issues/377 | ||
|
||
USES= python | ||
USE_PYTHON= distutils cython autoplist pytest | ||
|
||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} | ||
TEST_WRKSRC= ${WRKSRC}/talib | ||
|
||
post-install: | ||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/talib/_ta_lib${PYTHON_EXT_SUFFIX}.so | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1672030248 | ||
SHA256 (TA-Lib-0.4.25.tar.gz) = 6c51c09fcc138367483bcce6db81329ae6851e6ca1a8ac1e50732e443d15602b | ||
SIZE (TA-Lib-0.4.25.tar.gz) = 271960 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Python-TA-Lib is a Python wrapper for TA-LIB based on Cython instead of SWIG. | ||
|
||
TA-Lib is widely used by trading software developers requiring to perform | ||
technical analysis of financial market data. | ||
* Includes 150+ indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands, | ||
etc. | ||
* Candlestick pattern recognition | ||
* Open-source API for C/C++, Java, Perl, Python and 100% Managed .NET |