Py-UDF-Extension
Minimal LibreOffice Calc Add-in (extension) for a User-Defined Function written in python
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2019-12-16 |
| Downloads | 0 |
| Last Indexed | 2026-08-09 05:03 |
Installation
nimble install Py-UDF-Extension
choosenim install Py-UDF-Extension
git clone https://gitlab.com/gilgilgil/py-udf-extension
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| Py-UDF-Extension | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/gilgilgil/py-udf-extension |
|---|---|
| Homepage | https://gitlab.com/gilgilgil/py-udf-extension |
| Registry Source | gitlab |
README
PyUDF Extension for LibreOffice Calc (Add-in)
The PyUDF extension is a template to quickly create a python User-Defined Function for LibreOffice Calc.
Installation
- Clone this project and run compile.sh
- This will create a file named 'PyUDF.oxt'
- In LibreOffice Calc, open the Extension Manager (Tools->Extention Manager... or Ctrl-Alt-E)
- In the Extension Manager, Click 'Add' and browse to 'PyUDF.oxt'
Usage
The PyUDF Extension adds a new function to Calc:
USERDEFINEDFUNCTION(param1, param2)
You may type in any cell '=USERDEFINEDFUNCTION("hi", "there")'
The python code that is in 'udf.py' will be called and the fuction will run and return the string "hello"
Now you may modify the function, add new functions and re-compile and re-install the Add-in to make your python function crunch data from LibreOffice Calc
License
This PyUDF Extension is released under the which in layman's terms means:
- You are permitted to use, copy and redistribute the work "as-is".
- You may adapt, remix, transform and build upon the material, releasing any derivatives under your own name.
- You may use the material for commercial purposes as long as the derivative is licenced under the GPL.
- You must track changes you make in the source files.
- You must include or make available the source code with your release.
SMF Extension - thank you!
PyUDF is based on the SMF Extension written by madsailor which can be viewed/downloaded here
The SMF extension can also be found on the LibreOffice Extension Center.