From nobody Sun Dec 25 09:57:53 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NfxDd6PpXz1HSVc; Sun, 25 Dec 2022 09:57:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NfxDd5yFCz3kRL; Sun, 25 Dec 2022 09:57:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671962273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qnaEhWkEtftjXjWWsw5Wx5Zf5BFtDGxNUG6qMBFoRxY=; b=pplGl9Bp2/Mi+Z/mUL378A32IKzQ7EPAFiFFj1jAxfx4bSqmsoLRPbghg7VqDY93yQKCij 0JLSXp2QB+9aLl6zKFRwmSs+VS9Ym2rFEjN47c6iy0mEYFLYJ0DX4LQz0x8S7FXaHoYFvc aQIhprCeq2gRJ4coNyZjKoTSdtH4g1+9FbZ9nRX4jIr/EnL/OjavIoHpqfj5/9uNM0SGRm AsPcL9+tzI1vn2VHrpOxcehx9MLQF9MJ5wKRqLH2A4W5A+PLoCsxw2H8PTHgfJ6oubo38Y YgQnuOrC5qvcv/L9k6cnMNdbCaScatciSjwr8mLXxDlgtFH59ek4uGW5WhKe0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671962273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qnaEhWkEtftjXjWWsw5Wx5Zf5BFtDGxNUG6qMBFoRxY=; b=xdENlWPHw1Ut2n5VSbc+pomokefc3QrI0tHgReMB/nMKxXaz0pGnNm6hzm//rrNls1Biec xp+8cMjxd0cYLlcTwey1X3HunZzqwxwa9+V4yv/DJqlNpW1rsGf0KweZVt2KRFfNf/gHaJ ID6GDeOMapQu60iXepn8gvYXObOxo9upm2NjCzpL6VlW8H+DouBPPbspzGxMnW6Vk3dAXI whYx2q9NXhy7ZV8TpxMd/D77CPv0/ZSE9PoC/WQrRwcN4NitZHSHA0UqoGG2r1VwZK+1vy GHqIyodRBsdD1Mt7huMobrWp47i6eT53Xeonde3BvVgWGAd4rUq3Y9oIT1R48g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671962273; a=rsa-sha256; cv=none; b=hxSb3M+EZ9bRFi3TOFPs30Bf+FAan0uZLahZ3RVAAhM+Q7s1L1RlPlQ4Vqctv7vx8pwPtC N7bwJAQQPgt78UvkfveGT58tl+hrvF4nEhjdjINXhcuD5YrSqkEV4bM/UBQffzhTrz+xfI /mNzW2wieSUhlcB9j8w03nR5ArHbf22u0RGwiBk4K3VWOlGJe7uHzyLvrvKbVCWhg1d+u8 oBaz84wlFfH/4b1pm6KEAjWF3OAi9I8CfTFb4nlQu3bbigD3W+xllCwBK9K3dHETqDqPL4 3+z6hvhvXEKgzX59wrWUBzDqO4gX+ZOWtVF7boZfKT/J3kRdzfNoisrYlAaOPw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NfxDd50WbznYL; Sun, 25 Dec 2022 09:57:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BP9vrKA057463; Sun, 25 Dec 2022 09:57:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BP9vr4F057462; Sun, 25 Dec 2022 09:57:53 GMT (envelope-from git) Date: Sun, 25 Dec 2022 09:57:53 GMT Message-Id: <202212250957.2BP9vr4F057462@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: aa19ea550912 - main - finance/py-finnhub-python: New port: Python API to access Finnhub List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aa19ea5509129e68f1f7fcd421e62563a21d658e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa19ea5509129e68f1f7fcd421e62563a21d658e commit aa19ea5509129e68f1f7fcd421e62563a21d658e Author: Yuri Victorovich AuthorDate: 2022-12-25 07:02:08 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-25 09:57:38 +0000 finance/py-finnhub-python: New port: Python API to access Finnhub --- finance/Makefile | 1 + finance/py-finnhub-python/Makefile | 22 ++++++++++++++++++++++ finance/py-finnhub-python/distinfo | 3 +++ finance/py-finnhub-python/pkg-descr | 10 ++++++++++ 4 files changed, 36 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index a734ca741d4e..7c07b49e5443 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -100,6 +100,7 @@ SUBDIR += py-bitcoin SUBDIR += py-ebaysdk SUBDIR += py-financedatabase + SUBDIR += py-finnhub-python SUBDIR += py-finvizfinance SUBDIR += py-fundamentalanalysis SUBDIR += py-investiny 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 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.