guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit dd46c1813918e717c613d8ccc45a8c14daa5b6e0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Sep 12 23:29:20 2025 +0100

    gnu: Add python-fastnumbers.
    
    * gnu/packages/python-xyz.scm (python-fastnumbers): New variable.
    
    Change-Id: I40176b1b621949972be176eed2cd374eeefad8b9
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dd2ab906dd..f0d8d17e56 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -786,6 +786,30 @@ implemented in pure Python, and most of them are also 
implemented in C.")
 packaging tasks.")
     (license license:expat)))
 
+(define-public python-fastnumbers
+  (package
+    (name "python-fastnumbers")
+    (version "5.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "fastnumbers" version))
+       (sha256
+        (base32 "0jzsylarbckivx762rxmc9syn7a6hqq3xhp5xnpfsln0rlhs0gqq"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-numpy
+           python-pytest
+           python-setuptools
+           python-setuptools-scm))
+    (home-page "https://github.com/SethMMorton/fastnumbers";)
+    (synopsis "Super-fast and clean conversions to numbers")
+    (description
+     "This package provides provides drop-in replacements for the Python
+built-in @code{int} and @code{float} that are on par or faster with the Python
+equivalents.")
+    (license license:expat)))
+
 (define-public python-flake8-class-newline
   (package
     (name "python-flake8-class-newline")

Reply via email to