finance/py-yahooquery: New port: Python wrapper for an unofficial Yahoo Finance API

This commit is contained in:
Yuri Victorovich 2023-12-31 14:56:09 -08:00
parent b1d7e1fda1
commit 6a12c628c6
4 changed files with 35 additions and 0 deletions

View File

@ -131,6 +131,7 @@
SUBDIR += py-tradingview-ta
SUBDIR += py-valinvest
SUBDIR += py-vatnumber
SUBDIR += py-yahooquery
SUBDIR += py-yfinance
SUBDIR += py-ystockquote
SUBDIR += qtbitcointrader

View File

@ -0,0 +1,28 @@
PORTNAME= yahooquery
DISTVERSION= 2.3.7
CATEGORIES= finance python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python wrapper for an unofficial Yahoo Finance API
WWW= https://yahooquery.dpguthrie.com/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.12.2:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=4.9.3:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>=2.0.3:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests-futures>=1.0.1:www/py-requests-futures@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>=4.65.0:misc/py-tqdm@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1704051491
SHA256 (yahooquery-2.3.7.tar.gz) = edb0db22316be7b0f4cdb051c3dfacaeaafef810ace92622cf8254cf5bb81b06
SIZE (yahooquery-2.3.7.tar.gz) = 50164

View File

@ -0,0 +1,3 @@
Yahooquery is a python interface to unofficial Yahoo Finance API endpoints.
The package allows a user to retrieve nearly all the data visible via the
Yahoo Finance front-end.