Skip to content

Commit

Permalink
finance/py-fredapi: New port: Python API for Federal Reserve Economic…
Browse files Browse the repository at this point in the history
… Data (FRED) from St. Louis Fed
  • Loading branch information
yurivict committed Dec 27, 2022
1 parent 3adc410 commit 4111a7a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions finance/Makefile
Expand Up @@ -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
Expand Down
27 changes: 27 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
4 changes: 4 additions & 0 deletions 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.

0 comments on commit 4111a7a

Please sign in to comment.