A Universal Pandoc GUI Converter
Project description
Universal Pandoc GUI Converter
A lightweight, platform-independent desktop application that provides a graphical user interface (GUI) for the Pandoc universal document converter. Built with Python's standard tkinter library, this tool allows users to convert documents between dozens of formats without using the command line.
Features
- Zero Dependencies: Uses standard Python libraries (
tkinter,subprocess,threading). Nopip installrequired for the script itself. - Platform Independent: Works seamlessly on Windows, macOS, and Linux.
- Dynamic Format Detection: Automatically queries your installed version of Pandoc to populate input and output formats (supports
docx,pdf,html,markdown,latex,epub, and more). - Non-Blocking UI: Runs conversions in a background thread so the interface remains responsive during large file operations.
- Scrollable Log: Built-in status console to view conversion details and error messages.
Prerequisites
- Python 3.12+: Ensure Python is installed on your system.
- Pandoc: The application relies on the
pandoccommand-line tool.- Windows:
winget install pandocor download from pandoc.org - macOS:
brew install pandoc - Linux:
sudo apt-get install pandoc
- Windows:
Installation & Usage
Running from Source
- Clone the repository:
git clone https://github.com/yourusername/pandoc-gui.git cd pandoc-gui - Run the script:
python gui.py
Install pandoc-gui directly
If you want to use pandoc-gui directly:
- Install pandoc-gui:
pip install pandoc-gui - Build the executable:
pandoc_gui
How to Use
- Launch the App: Open the application via Python or the executable.
- Select File: Click "Browse..." to choose the document you want to convert.
- Select Format:
- From Format: Leave as "Auto-detect" (recommended) or specify manually.
- To Format: Select your desired output format (e.g.,
pdf,docx).
- Convert: Click "Convert Document". The status log will update when the process is complete.
- Output: The converted file is saved in the same directory as the original input file.
Troubleshooting
- "Pandoc not found": Ensure Pandoc is installed and added to your system's PATH. Restart the application after installing Pandoc.
- PDF Conversion Errors: Converting to PDF via Pandoc requires a PDF engine (like
pdflatexorwkhtmltopdf). If you receive an error, ensure you have a LaTeX distribution (like MiKTeX or TeX Live) installed.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pandoc_gui-1.0.5.tar.gz.
File metadata
- Download URL: pandoc_gui-1.0.5.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b24dcaed73a77a3206b5179e9a0729b59772e3cf5d337de21b987030116f2e27
|
|
| MD5 |
a2db5cb94581d7c5e8c0919d763e44e1
|
|
| BLAKE2b-256 |
b663288cb6251afc27d88cfc1c56b8d791bd98f1a70304398a72ea633f353185
|
File details
Details for the file pandoc_gui-1.0.5-py3-none-any.whl.
File metadata
- Download URL: pandoc_gui-1.0.5-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4b05d4968fb0958c563661502c80b5e36c5d30a9322fb0c8d69ebc6ee7a4481
|
|
| MD5 |
aaed57acec484957ac6649eacbfe248f
|
|
| BLAKE2b-256 |
524f79956eb74d09dced05cee3d51f64668e00ac1720709fd60ccfa08c0eaeaa
|