{"library":"odfdo","title":"odfdo - Python library for OpenDocument Format","description":"A Python library to create, read, and manipulate OpenDocument Format (ODF) files (ODT, ODS, ODP). Version 3.22.6 supports Python >=3.10, <4. Active development, frequent releases.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install odfdo"],"cli":null},"imports":["from odfdo import Document","from odfdo import Paragraph","from odfdo.style import ParagraphStyle","from odfdo.element import Element"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from odfdo import Document, Paragraph\nfrom odfdo.style import ParagraphStyle\n\n# Create a new text document\ndoc = Document('text')\nbody = doc.body\n\n# Add content\nbody.append(Paragraph('Hello, ODF!'))\n\n# Save\ndoc.save('hello.odt')\nprint('Document created.')\n","lang":"python","description":"Creates a simple ODT file with a paragraph.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}