unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 62568@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#62568] [PATCH] gnu: Add python-pyoo.
Date: Fri, 31 Mar 2023 12:09:13 +0200	[thread overview]
Message-ID: <20230331100913.4046-1-ngraves@ngraves.fr> (raw)

* 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	other threads:[~2023-03-31 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 10:09 Nicolas Graves via Guix-patches via [this message]
2023-06-18 21:10 ` [bug#62568] [PATCH] gnu: Add python-pyoo Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20230331100913.4046-1-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=62568@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).