finance/py-fredapi: New port: Python API for Federal Reserve Economic Data (FRED) from St. Louis Fed

This commit is contained in:
Yuri Victorovich 2022-12-27 15:07:49 -08:00
parent 3adc4101b9
commit 4111a7af88
4 changed files with 35 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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.