all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 64134@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#64134] [PATCH 05/17] gnu: Add python-ffn.
Date: Sat, 17 Jun 2023 15:18:28 +0000	[thread overview]
Message-ID: <20230617151840.1748096-5-monego@posteo.net> (raw)
In-Reply-To: <20230617151840.1748096-1-monego@posteo.net>

* 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





  parent reply	other threads:[~2023-06-17 15:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-17 15:16 [bug#64134] [PATCH 00/17] Add some Python financial libraries Vinicius Monego
2023-06-17 15:18 ` [bug#64134] [PATCH 01/17] gnu: Add python-holidays Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 02/17] gnu: Add python-multitasking Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 03/17] gnu: Add python-yfinance Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 04/17] gnu: Add python-pandas-datareader Vinicius Monego
2023-06-17 15:18   ` Vinicius Monego [this message]
2023-06-17 15:18   ` [bug#64134] [PATCH 06/17] gnu: Add python-bt Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 07/17] gnu: Add python-pyhdfe Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 08/17] gnu: Add python-interface-meta Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 09/17] gnu: Add python-arch Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 10/17] gnu: Add python-alpha-vantage Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 11/17] gnu: Add python-ascii-magic Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 12/17] gnu: Add python-degiro-connector Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 13/17] gnu: Add python-detecta Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 14/17] gnu: Add python-financedatabase Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 15/17] gnu: Add python-mstarpy Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 16/17] gnu: Add python-pandas-ta Vinicius Monego
2023-06-17 15:18   ` [bug#64134] [PATCH 17/17] gnu: Add python-vectorbt Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230617151840.1748096-5-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=64134@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.