Date: Tue, 27 Dec 2022 23:10:04 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4111a7af8836 - main - finance/py-fredapi: New port: Python API for Federal Reserve Economic Data (FRED) from St. Louis Fed Message-ID: <202212272310.2BRNA4f6001194@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4111a7af8836b9b0da73627e9f06d5dd4c8aee91 commit 4111a7af8836b9b0da73627e9f06d5dd4c8aee91 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-12-27 23:07:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-12-27 23:07:49 +0000 finance/py-fredapi: New port: Python API for Federal Reserve Economic Data (FRED) from St. Louis Fed --- finance/Makefile | 1 + finance/py-fredapi/Makefile | 27 +++++++++++++++++++++++++++ finance/py-fredapi/distinfo | 3 +++ finance/py-fredapi/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index 8b9719e15234..e595bd63179c 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -110,6 +110,7 @@ SUBDIR += py-finnhub-python SUBDIR += py-finviz SUBDIR += py-finvizfinance + SUBDIR += py-fredapi SUBDIR += py-fundamentalanalysis SUBDIR += py-investiny SUBDIR += py-investpy diff --git a/finance/py-fredapi/Makefile b/finance/py-fredapi/Makefile new file mode 100644 index 000000000000..63d6259f22cc --- /dev/null +++ b/finance/py-fredapi/Makefile @@ -0,0 +1,27 @@ +PORTNAME= fredapi +DISTVERSIONPREFIX= v +DISTVERSION= 0.5.0 +CATEGORIES= finance python +#MASTER_SITES= CHEESESHOP # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python API for Federal Reserve Economic Data (FRED) from St. Louis Fed +WWW= https://github.com/mortada/fredapi + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=0.15:math/py-pandas@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python +USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/mortada/fredapi/issues/60 + +USE_GITHUB= yes +GH_ACCOUNT= mortada + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/finance/py-fredapi/distinfo b/finance/py-fredapi/distinfo new file mode 100644 index 000000000000..eb98eff42b37 --- /dev/null +++ b/finance/py-fredapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672179382 +SHA256 (mortada-fredapi-v0.5.0_GH0.tar.gz) = 8a81e2e427e3da463bde5df479985bffe686872ea7435ac2194c46dff7be49a4 +SIZE (mortada-fredapi-v0.5.0_GH0.tar.gz) = 15167 diff --git a/finance/py-fredapi/pkg-descr b/finance/py-fredapi/pkg-descr new file mode 100644 index 000000000000..e0baa69dab54 --- /dev/null +++ b/finance/py-fredapi/pkg-descr @@ -0,0 +1,4 @@ +fredapi is a Python API for the FRED data provided by the Federal Reserve Bank +of St. Louis. fredapi provides a wrapper in python to the FRED web service, +and also provides several convenient methods for parsing and analyzing +point-in-time data (i.e. historic data revisions) from ALFRED.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212272310.2BRNA4f6001194>