1. LOUCA23 から GraphQL Summit 参加
インドネシアからサンディエゴへの旅
Koji Annoura
04 November 2020
2. Illustrations by Pixeltrue on icons8
Agenda
Who am I
SFC and Priority Pass
LOUCA23
●
Unleashing the Power of Data Science with
Python Macros in LibreOffice
GraphQL Summit
3. Who am I
I love Award User Groups
LibreOffice
Neo4j
Apache Hop
Python
Cypher (GQL)
Ubuntu
2020 neo4j
GRAPHIE AWARD
* LibreOffice Japanese Team
* Neo4j Users Group Tokyo
* Apache Hop User Group
Japan
5. SFC and Priority Pass
Priority Pass
Plan
* Standard US$99 (US$35)
* Standard Plus US$329 (10 Free Visit)
* Prestige US$469 (Full fee)
or
Credit Cards
6. LOUCA23
LibreOffice Conf. Asia & UbuCon Asia 2023
October 7-8 2023 Surakarta, Indonesia
Unleashing the Power of Data Science with Python
Macros in LibreOffice
Source: LOUCA23, https://louca.id/
22. LibreOffice and Python Integration 1
Explanation of integrating Python with LibreOffice
Python seamlessly integrates with LibreOffice, enabling
automation and data manipulation within the LibreOffice
suite.
23. LibreOffice and Python Integration 2
How Python macros can enhance data analysis and automation
Python macros in LibreOffice empower advanced data
analysis and automation, streamlining tasks and improving
efficiency.
24. LibreOffice and Python Integration 3
Advantages of using LibreOffice for data visualization
LibreOffice offers effective data visualization tools,
aiding in the creation of informative and visually appealing
charts and graphs.
26. System requirements
LibreOffice OS Python
LibreOffice 7.6.2 Linux (64-bit) (deb)
Linux (64-bit) (rpm)
macOS (Apple Silicon)
macOS (Intel)
Windows (32/64-bit)
Python 3
33. Windows
%APPDATA%libreoffice4user (LibreOffice 4 to 7)
%APPDATA%libreoffice3user (LibreOffice 3)
GNU/Linux
/home/<user name>/.config/libreoffice/4/user (LibreOffice 4 and above)
/home/<user name>/.config/libreoffice/3/user (LibreOffice 3 since 3.5.0)
/home/<user name>/.libreoffice/3/user (prior to LibreOffice 3.5.0)
macOS
~/Library/Application Support/LibreOffice/4/user (LibreOffice 4 to 7)
~/Library/Application Support/libreoffice/3/user (LibreOffice 3)
Where to save macros?
35. My Macros
└─ test1
└─ my_first_macro_writer
Macro
~/Library/Application Support/LibreOffice/4/user/Scripts/python/test1.py
Source
import uno
def my_first_macro_writer():
doc = XSCRIPTCONTEXT.getDocument()
text = doc.getText() # com.sun.star.text.Text
text.setString('Pythonを使ってWriterからHello world')
return
Hello World
36. Big Data
Wikipedia
Big data primarily refers to data sets that are too large or
complex to be dealt with by traditional data-processing
application software.
37. Big data in LibreOffice
too large Complex Various Data
LibreOffice
Rows ?
LibreOffice
Column ?
Sheets ?
LibreOffice
Data Types ?
38. Big data in LibreOffice 1/3
too large
Rows: 1,048,576
Column: 16,384
(one million is not huge, but it is not a small number.)
39. Big data in LibreOffice 2/3
Complex
Rows: 1,048,576
Column: 16,384
40. Big data in LibreOffice 3/3
Various Data
Text
Binary
Image
41. Big data in LibreOffice
too large Complex Various Data
LibreOffice
(one million is not huge, but it
is not a small number.)
Rows: 1,048,576
Column: 16,384
LibreOffice
Rows: 1,048,576
Column: 16,384
LibreOffice
Text
Binary
Image
...
42. Movies
Data OS Python
Movie and Person Linux (64-bit) (deb)
Linux (64-bit) (rpm)
macOS (Apple Silicon)
macOS (Intel)
Windows (32/64-bit)
Python 3