summaryrefslogtreecommitdiff
path: root/finance/py-finnhub-python
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-24 23:02:08 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-25 01:57:38 -0800
commitaa19ea5509129e68f1f7fcd421e62563a21d658e (patch)
tree172d1635bfbf6f98c9bb8c0ebaf5ff89b66b4e91 /finance/py-finnhub-python
parentfinance/py-financedatabase: New port: Database of 300.000+ symbols containing... (diff)
finance/py-finnhub-python: New port: Python API to access Finnhub
Diffstat (limited to 'finance/py-finnhub-python')
-rw-r--r--finance/py-finnhub-python/Makefile22
-rw-r--r--finance/py-finnhub-python/distinfo3
-rw-r--r--finance/py-finnhub-python/pkg-descr10
3 files changed, 35 insertions, 0 deletions
diff --git a/finance/py-finnhub-python/Makefile b/finance/py-finnhub-python/Makefile
new file mode 100644
index 000000000000..e1da4b60e585
--- /dev/null
+++ b/finance/py-finnhub-python/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= finnhub-python
+PORTVERSION= 2.4.15
+CATEGORIES= finance python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python API to access Finnhub
+WWW= https://finnhub.io/docs/api
+
+LICENSE= APACHE20
+
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_DEPENDS}
+RUN_DEPENDS= ${PY_DEPENDS}
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-finnhub-python/distinfo b/finance/py-finnhub-python/distinfo
new file mode 100644
index 000000000000..ee1ccb3e1b8a
--- /dev/null
+++ b/finance/py-finnhub-python/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671951327
+SHA256 (finnhub-python-2.4.15.tar.gz) = 5a9f9cb61571783ee8f49b770b4ce962e5af237ec9231824b8a8403bbdd0cef2
+SIZE (finnhub-python-2.4.15.tar.gz) = 7954
diff --git a/finance/py-finnhub-python/pkg-descr b/finance/py-finnhub-python/pkg-descr
new file mode 100644
index 000000000000..a995e362bc03
--- /dev/null
+++ b/finance/py-finnhub-python/pkg-descr
@@ -0,0 +1,10 @@
+financedatabase is a database of 300.000+ symbols containing Equities, ETFs,
+Funds, Indices, Currencies, Cryptocurrencies and Money Markets.
+
+As a private investor, the sheer amount of information that can be found on the
+internet is rather daunting. Trying to understand what type of companies or ETFs
+are available is incredibly challenging with there being millions of companies
+and derivatives available on the market. Sure, the most traded companies and
+ETFs can quickly be found simply because they are known to the public (for
+example, Microsoft, Tesla, S&P500 ETF or an All-World ETF). However, what else
+is out there is often unknown.