Python Numpy Extension for LibreOffice
Numpy is The fundamental package for scientific computing with Python.This is a LibreOffice extension that allows you to use Numpy in LibreOffice python macros and scripts.&
latest release: 2024-03-21 14:22:45
Description
Example Usage:
# using OooDev to for easy access to LibreOffice from __future__ import annotations from ooodev.loader import Lo try: import numpy as np # type: ignore except ImportError: raise ImportError("The Numpy Extension must be installed before running this macro!") def np_ex01(*args): x = np.arange(15, dtype=np.int64).reshape(3, 5) x[1:, ::2] = -99 _ = Lo.current_doc.msgbox(str(x), "Numpy 01") _ = Lo.current_doc.msgbox(str(x.max(axis=1)).center(50), "x.max(axis=1)") def np_ex02(*args): # Generate normally distributed random numbers: rng = np.random.default_rng() samples = rng.normal(size=2500) _ = Lo.current_doc.msgbox(str(samples), "Numpy 02") g_exportedScripts = (np_ex01, np_ex02)
Homepage: https://github.com/Amourspirit/python-libreoffice-numpy-ext
Repository: https://github.com/Amourspirit/python-libreoffice-numpy-ext
Release List
Update OooDev and Example.
Download 1.2.4 1.2.4 Update 7.0 Linux, Windows, macOS MITUpdate for flatpak install.
Download 1.2.2 Better install error handling during install. 7.0 Linux, Windows, macOS MITBetter install error handling during install.
Update to OooDev version 0.15.0
Download 1.2.0 Support for LibreOffice 32 and 64 bit versions for Windows 7.0 Linux, Windows, macOS MITSupport for LibreOffice 32 and 64 bit versions for Windows. If you running both 32 bit and 64 bint versions of LibreOffice on Windows now there will be no binary conflict and both version will work.
Download 1.1.1 Update for Mac 7.0 Linux, Windows, macOS MITUpdates for better support on Mac and AppImage on Linux.
Download 1.0.0 Initial Release 7.0 Linux, Windows, macOS MITInitial Release
Download
☆ ☆ ☆ ☆ ☆
Post your review
You cannot post reviews until you have logged in. Login Here.
Reviews
No one has commented on this page yet.
RSS feed for reviews on this page | RSS feed for all reviews