guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#62568] [PATCH] gnu: Add python-pyoo.


From: Nicolas Graves
Subject: [bug#62568] [PATCH] gnu: Add python-pyoo.
Date: Fri, 31 Mar 2023 12:09:13 +0200

* gnu/packages/libreoffice.scm (python-pyoo): New variable.
---
 gnu/packages/libreoffice.scm | 42 ++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 48689b9342..35074982e4 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1187,3 +1187,45 @@ (define (install-python-script name)
      '((release-monitoring-url
         . "https://www.libreoffice.org/download/download-libreoffice/";)))
     (license license:mpl2.0)))
+
+(define-public python-pyoo
+  (package
+    (name "python-pyoo")
+    (version "1.4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyoo" version))
+              (sha256
+               (base32
+                "1bxj24nwrvqra0d18w0lckvm9iw6bvks1fid2b6xrpvfc5xb37ry"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f))
+    (inputs (list libreoffice))
+    (home-page "https://github.com/mila/pyoo";)
+    (synopsis "Pythonic interface to Apache OpenOffice API (UNO)")
+    (description "PyOO allows you to control a running OpenOffice or
+LibreOffice program for reading and writing spreadsheet documents.  The
+library can be used for generating documents in various formats.
+
+The main advantage of the PyOO library is that it can use almost any
+functionality implemented in OpenOffice / LibreOffice applications.  On the
+other hand it needs a running process of a office suite application which is
+significant overhead.  It uses the UNO standard interface to a running
+OpenOffice or LibreOffice application.
+
+PyOO wraps a robust Python-UNO bridge to simple and Pythonic interface.
+
+Available features:
+@itemize
+@item Opening and creation of spreadsheet documents
+@item Saving documents to all formats available in OpenOffice
+@item Charts and diagrams
+@item Sheet access and manipulation
+@item Formulas
+@item Cell merging
+@item Number, text, date, and time values
+@item Cell and text formating
+@item Number formating
+@item Locales
+@end itemize")
+    (license license:expat)))
-- 
2.39.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]