From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MCDlM1PPjWTi0gAASxT56A (envelope-from ) for ; Sat, 17 Jun 2023 17:20:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wCDnMlPPjWTLVgEAG6o9tA (envelope-from ) for ; Sat, 17 Jun 2023 17:20:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A178F31F4C for ; Sat, 17 Jun 2023 17:20:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAXii-0004Sb-02; Sat, 17 Jun 2023 11:20:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAXid-0004Qk-Fx for guix-patches@gnu.org; Sat, 17 Jun 2023 11:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAXid-0007oh-6X for guix-patches@gnu.org; Sat, 17 Jun 2023 11:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qAXid-0000TC-21 for guix-patches@gnu.org; Sat, 17 Jun 2023 11:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64134] [PATCH 05/17] gnu: Add python-ffn. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Jun 2023 15:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64134@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 64134-submit@debbugs.gnu.org id=B64134.16870151711689 (code B ref 64134); Sat, 17 Jun 2023 15:20:03 +0000 Received: (at 64134) by debbugs.gnu.org; 17 Jun 2023 15:19:31 +0000 Received: from localhost ([127.0.0.1]:52327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAXi7-0000RB-B2 for submit@debbugs.gnu.org; Sat, 17 Jun 2023 11:19:31 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAXi6-0000Qq-FV for 64134@debbugs.gnu.org; Sat, 17 Jun 2023 11:19:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F21FF240103 for <64134@debbugs.gnu.org>; Sat, 17 Jun 2023 17:19:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1687015165; bh=97SYLnG1uwXfyNl0Rl0QPBC7eRf+mDu6Eu82dshZh9A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=cYtMaCQFFauQdRQ9Xcnrx0F8IVhSX13qsrB5MXFeQAvmpSZ/HY52w3KhfpgKPWQUp uRUa/YcsF7M+p1ELSxDZiSRPlc67tT02XsdQKbrA4rswkUQhPpDvPavFeYW8c1r0v7 iglrJBvBZfxSrbjjdxiTZJq/AHsLAQrzbaAJ2+u5WsAVQ/aBJnPDlS7D10vSEYfd4i EfGyPlVJDCcNTK7kJzu4NuZ5Lni77ArhneAEs4yBeW4CScZx6eLyB5GVuIVM8JqDHc uDjjf9ceF85aLv2dzXt5/jFgARqwGBeSg6uzBO38PuCy8ogvpXEolvMduXN9Rdv94N gm3VcnKrt1pUA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qk07G2R8Gz6tsg; Sat, 17 Jun 2023 17:19:22 +0200 (CEST) From: Vinicius Monego Date: Sat, 17 Jun 2023 15:18:28 +0000 Message-Id: <20230617151840.1748096-5-monego@posteo.net> In-Reply-To: <20230617151840.1748096-1-monego@posteo.net> References: <20230617151840.1748096-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687015251; a=rsa-sha256; cv=none; b=dKXzhfaGhoN+aaABT4C7qYTdQNY6dS8nvzpAL3EmHxrgk22jfPSctvFKTpgmM7oT2aefkA RtLF6xS/JbBz62+7ruOAQjTx/qm6q9RbdtzEf4/GAqHNVNcwZ5IwnUFt31huRKp3DKt86F XUnClOxuIM8rAlb+/84Ef/MNagQJTrli3Z3afkhWL3s6JRCbLDtEUGJixxfrGawknUR4rR remDiSdHbKkDq5uXURdm8CJtdSe65DMLk8sCHWqEPMO3/U+RbdBNI0RzBWCRjuy3yrUc85 Hb/hTTFP0dWgXKiVYopcuagUy5GgsVeejgBPQMevSbtMVO/ZhmvZXJtHZBFfqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cYtMaCQF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687015251; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=swK7svaVEmjbpA7JaTuwQebLpLRm+RpoXIGTWGHRHyw=; b=Scregc8jfwoT7Fxy+NXHqeDxJfgYfZxSr7o60um7TOMmMzkWKOH18luUXoI97fQ51rTpIl YjHHz7Cl3VVo1B7gf9Uu1aMP4YqauFnPsO57IT3LxaowptjsyWq+se56s4MioJSHGqPNYo vRQGRXRdQphfsyhmTTf+h/P5B8R7cSNP15MS6PVEw8Jb66Z2kncg7IySwe7KAYUWcWST74 8K9Yg8E7R/kgx4pTkjSkpV6NUdBhktd1b1yQblwz8cNjnehZu8/htRq+rBKNAPqNnf4p2x i8KJjiqZmbgo6ryAbM2aemllRaEGuMfj727J+jfmblbU6iV7CGibcKCJYJvFVg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cYtMaCQF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.43 X-Spam-Score: -0.43 X-Migadu-Queue-Id: A178F31F4C X-TUID: /RSB+sKQDBdb * gnu/packages/finance.scm (python-ffn): New variable. --- gnu/packages/finance.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 7eaa5941a0..94f7b2111f 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -103,6 +103,7 @@ (define-module (gnu packages finance) #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) + #:use-module (gnu packages machine-learning) #:use-module (gnu packages man) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) @@ -1094,6 +1095,41 @@ (define-public python-pandas-datareader "This package provides up to date remote data access for Pandas.") (license license:bsd-3))) +(define-public python-ffn + (package + (name "python-ffn") + (version "0.3.7") + (source (origin + ;PyPI is missing files required for testing + (method git-fetch) + (uri (git-reference + (url "https://github.com/pmorissette/ffn") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rq6w2hbf8mcc9blrdf6aj7fnrcj0bvza2y4miznv3il9wqnpd6z")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-decorator + python-matplotlib + python-numpy + python-pandas + python-pandas-datareader + python-scikit-learn + python-scipy + python-tabulate + python-yfinance)) + (native-inputs (list python-black python-codecov python-flake8 + python-pytest python-pytest-cov)) + (home-page "https://github.com/pmorissette/ffn") + (synopsis "Financial functions for Python") + (description + "@code{ffn} is a library that contains many useful functions + for those who work in quantitative finance. It provides a vast array of +utilities, from performance measurement and evaluation to graphing and common +data transformations.") + (license license:expat))) + (define-public python-u2flib-host ;; The package is obsolete and superseded by python-fido2, but ;; needed for python-ledgerblue@0.1.44. -- 2.34.1