Comments (4)
Yes.
But keep in mind you need to keep everything in the same python install, including LibreOffice. As long as you stay with the system LibreOffice on some Linux installation like for example Ubuntu, and use the system Python, this should work.
from unoserver.
It's not tested for concurrency, but if there is a problem there it is likely to be LibreOffice, because unoserver itself is very simple, and there isn't really anything that could clash.
from unoserver.
@regebro Highly appreciate the blazing fast response.
I was able to achieve this for pdf conversion. Here is one example for future reference I someone want to try the same.
from unoserver import converter
myconverter = converter.UnoConverter()
myconverter.convert("input.pptx",None,"output.pdf","pdf")
I will optimize it like deleting from disk and returning response as in memory.
Prerequisite :
LibreOffice
Python
unoserver already started.
Additional query : Is unoserver tested for concurrency ? Can I convert multiple document in Parallel without any conflicts?
from unoserver.
Thanks , closing the issue.
from unoserver.
Related Issues (20)
- xlsx to pdf convert - consider the local date format HOT 1
- xlsx to pdf convert - where to set the quality? HOT 2
- --convert-to "txt:Text (encoded):UTF8" HOT 4
- AttributeError: 'NoneType' object has no attribute 'supportsService' while converting to png/jpg HOT 1
- Memory leak HOT 1
- Unable to set custom filter `EmbedImages` HOT 8
- Embedded Fonts Not Used During Conversion HOT 1
- Kill LibreOffice? Save a pid file? HOT 2
- Error converting from odt to txt HOT 1
- unoserver crash randomly HOT 4
- Setting PNG export resolution? HOT 4
- Setting page number for PNG export? HOT 1
- How to start service properly? HOT 5
- unable to start UnoServer from python HOT 1
- How to apply filter to export data from xslx to csv keeping utf-8 HOT 1
- Ability to set --infilter HOT 2
- DeprecationWarning Is this slated to be fixed? HOT 2
- Troubleshooting unoconvert Network Connection Error on Ubuntu 22.04 with Python 3.10 and LibreOffice 7.3.7.2 in a Closed Network Environment HOT 7
- Why --uno-interface defaulting to --interface value instead of 127.0.0.1 HOT 2
- The value of --host-location ignored for outfile HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unoserver.