https://github.com/chanmo/docker-doc-utils
Documents Utils
https://github.com/chanmo/docker-doc-utils
Last synced: about 1 year ago
JSON representation
Documents Utils
- Host: GitHub
- URL: https://github.com/chanmo/docker-doc-utils
- Owner: ChanMo
- License: mit
- Created: 2023-03-11T06:50:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T03:44:49.000Z (over 3 years ago)
- Last Synced: 2025-03-05T17:49:12.983Z (over 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Documents Utils
## Usage
Make sure `libreoffice` is installed.
Install docplus
```
pip install --user docplus
```
Run API Servier
```
python -m docplus
```
## APIs
### Format Convert
use httpie, convert to pdf
```
http POST -f :5000/convert_to/pdf file@~/demo.docx
```
use httpie, convert to html
```
http POST -f :5000/convert_to/html file@~/demo.docx
```