aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-25 01:22:30 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-25 01:22:59 +0000
commit832442a942377b585ae516ebdc670665ce6bdb98 (patch)
tree1dea2719fa2403f23597d54230fa3c04a112cd99
parent5d3cbf5c9d61b7ae4f979b9705ca86361f99ece0 (diff)
finance/py-investpy: New port: Financial Data Extraction from Investing.com with Python
-rw-r--r--finance/Makefile1
-rw-r--r--finance/py-investpy/Makefile28
-rw-r--r--finance/py-investpy/distinfo3
-rw-r--r--finance/py-investpy/pkg-descr15
4 files changed, 47 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 3eca5c92f442..97334205ba90 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -101,6 +101,7 @@
SUBDIR += py-ebaysdk
SUBDIR += py-fundamentalanalysis
SUBDIR += py-investiny
+ SUBDIR += py-investpy
SUBDIR += py-mplfinance
SUBDIR += py-ofxparse
SUBDIR += py-pycoin
diff --git a/finance/py-investpy/Makefile b/finance/py-investpy/Makefile
new file mode 100644
index 000000000000..7595eb87d387
--- /dev/null
+++ b/finance/py-investpy/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= investpy
+PORTVERSION= 1.0.8
+CATEGORIES= finance python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Financial Data Extraction from Investing.com with Python
+WWW= https://investpy.readthedocs.io/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0.25.1:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.3:devel/py-pytz@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}unidecode>=1.1.1:converters/py-unidecode@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_DEPENDS}
+RUN_DEPENDS= ${PY_DEPENDS}
+
+USES= python:3.7+
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-investpy/distinfo b/finance/py-investpy/distinfo
new file mode 100644
index 000000000000..64e2c4b262d2
--- /dev/null
+++ b/finance/py-investpy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671930368
+SHA256 (investpy-1.0.8.tar.gz) = 6a7632a94b484ee07cd54afd416bdc759cd905ba60c62dbb8a8d157229b267c6
+SIZE (investpy-1.0.8.tar.gz) = 4385102
diff --git a/finance/py-investpy/pkg-descr b/finance/py-investpy/pkg-descr
new file mode 100644
index 000000000000..13e76fef8a96
--- /dev/null
+++ b/finance/py-investpy/pkg-descr
@@ -0,0 +1,15 @@
+investpy is a Python package to retrieve data from Investing.com, which provides
+data retrieval from up to 39952 stocks, 82221 funds, 11403 ETFs, 2029 currency
+crosses, 7797 indices, 688 bonds, 66 commodities, 250 certificates, and 4697
+cryptocurrencies.
+
+investpy allows the user to download both recent and historical data from all
+the financial products indexed at Investing.com. It includes data from all over
+the world, from countries such as United States, France, India, Spain, Russia,
+or Germany, amongst many others.
+
+investpy seeks to be one of the most complete Python packages when it comes to
+financial data extraction to stop relying on public/private APIs since investpy
+is FREE and has NO LIMITATIONS. These are some of the features that currently
+lead investpy to be one of the most consistent packages when it comes to
+financial data retrieval.