unoconv | Universal Office Converter - Convert between any document | Document Editor library

 by   unoconv Python Version: 0.8.2 License: GPL-2.0

kandi X-RAY | unoconv Summary

kandi X-RAY | unoconv Summary

unoconv is a Python library typically used in Editor, Document Editor applications. unoconv has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has high support. You can download it from GitHub.

unoconv can be installed using packages coming from your distribution, or simply by copying the unoconv python script to your system. If you installed unoconv by hand, make sure you have the required LibreOffice or OpenOffice packages installed. A hard requirement is the UNO python bindings which are often inside a subpackage named libreoffice-pyuno or libobasis4.4-pyuno. Various sub-packages are needed for specific import or export filters, e.g. XML-based filters require the xsltfilter subpackage, e.g. libobasis4.4-xsltfilter.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              unoconv has a highly active ecosystem.
              It has 2419 star(s) with 406 fork(s). There are 104 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 82 open issues and 397 have been closed. On average issues are closed in 2186 days. There are 15 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of unoconv is 0.8.2

            kandi-Quality Quality

              unoconv has 0 bugs and 0 code smells.

            kandi-Security Security

              unoconv has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              unoconv code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              unoconv is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              unoconv releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed unoconv and discovered the below as its top functions. This is intended to give you an instant insight into unoconv implemented functionality, and help decide if they suit your requirements.
            • Convert adoc to rst .
            Get all kandi verified functions for this library.

            unoconv Key Features

            No Key Features are available at this moment for unoconv.

            unoconv Examples and Code Snippets

            Usage,LibreOffice
            PHPdot img1Lines of Code : 54dot img1License : Permissive (MIT)
            copy iconCopy
            use Gotenberg\Gotenberg;
            use Gotenberg\Stream;
            
            $request = Gotenberg::libreOffice($apiUrl)
                ->convert(Stream::path('/path/to/my.docx'));
            
            use Gotenberg\Gotenberg;
            use Gotenberg\Stream;
            
            $request = Gotenberg::libreOffice($apiUrl)
                ->output  
            PHP Unoconv,Silex Service Provider
            PHPdot img2Lines of Code : 10dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            $app = new Silex\Application();
            $app->register(new Unoconv\UnoconvServiceProvider(), array(
                'unoconv.configuration' => array(
                    'unoconv.binaries' => '/opt/local/unoconv/bin/unoconv',
                    'timeout'          => 42,
                ),
                 
            PHP Unoconv,API Usage
            PHPdot img3Lines of Code : 8dot img3License : Non-SPDX (NOASSERTION)
            copy iconCopy
            $unoconv = Unoconv\Unoconv::create();
            
            $unoconv = Unoconv\Unoconv::create(array(
                'timeout'          => 42,
                'unoconv.binaries' => '/opt/local/unoconv/bin/unoconv',
            ), $logger);
            
            $unoconv->transcode('document.docx', 'pdf', 'document.pd  

            Community Discussions

            QUESTION

            Dockerfile Ubuntu with interactive install
            Asked 2021-Dec-17 at 17:49

            I'm making this post to you, because I'm currently doing a docker file from a UBUNTU 20.04.

            In my dockerfile I run installs which for some require multiple choice questions with "interactive" answer.

            So I wanted to know how I could automate the thing.

            I leave you attached my docker file, I put a hash in front of the packages causing me problem.

            ...

            ANSWER

            Answered 2021-Dec-17 at 17:49

            add the following before calling apt-get

            Source https://stackoverflow.com/questions/70396054

            QUESTION

            Convert ODS to CSV using command line when Libreoffice instance is running
            Asked 2020-Oct-30 at 18:21

            I'm working with an ODS file in LibreOffice, and every now and then I want to convert it to CSV from the command line. I have found two tools for this: libreoffice --headless --convert-to csv and unoconv -f csv but none of them works when there is an UI instance of LibreOffice running.

            Is there a way to convert an ODS file to CSV from the command line, while LibreOffice UI instance is running?

            ...

            ANSWER

            Answered 2020-Oct-30 at 15:29

            To convert csv on the command line while LibreOffice is running, just skip the --headless parameter. The following command (run in PowerShell) worked for me even while C:\TEMP\Untitled1.ods resp. /tmp/Untitled1.ods was opened in LibreOffice Calc:

            Windows 10 (tested with LibreOffice 7.0.1)

            & 'C:\Program Files\LibreOffice\program\soffice.exe' --convert-to csv --outdir C:\TEMP\ .\Untitled1.ods

            Or similar, if the present working directory is C:\Program Files\LibreOffice\program\:

            .\soffice --convert-to csv --outdir C:\TEMP\ C:\TEMP\Untitled1.ods

            Linux (tested with LibreOffice 6.4.6)

            soffice --convert-to csv --outdir /tmp/ /tmp/Untitled1.ods

            On linux, you could alternatively use the libreoffice command instead of soffice (seems to be linux-specific...):

            libreoffice --convert-to csv --outdir /tmp/ /tmp/Untitled1.ods

            In all cases, Untitled.csv was created in the expected place.

            Source https://stackoverflow.com/questions/64589140

            QUESTION

            How to use LibreOffice API (UNO) with Python + Windows?
            Asked 2020-Apr-27 at 19:19

            This question is focused on Windows + LibreOffice + Python 3.

            I've installed LibreOffice (6.3.4.2), also pip install unoconv and pip install unotools (pip install uno is another unrelated library), but still I get this error after import uno:

            ModuleNotFoundError: No module named 'uno'

            More generally, and as an example of use of UNO, how to open a .docx document with LibreOffice UNO and export it to PDF?

            I've searched extensively on this since a few days, but I haven't found a reproducible sample code working on Windows:

            ANSWER

            Answered 2020-Apr-27 at 19:19

            In order to interact with LibreOffice, start an instance listening on a socket. I don't use COM much, but I think this is the equivalent of the COM interaction you asked about. This can be done most easily on the command line or using a shell script, but it can also work with a system call using a time delay and subprocess.

            Source https://stackoverflow.com/questions/61457120

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install unoconv

            You can download it from GitHub.
            You can use unoconv like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            If you encounter a problem with converting documents using unoconv, please consider that this could be caused by a number of things:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/unoconv/unoconv.git

          • CLI

            gh repo clone unoconv/unoconv

          • sshUrl

            git@github.com:unoconv/unoconv.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link