Skip to main content

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.

License Python Platform

Features

  • Zero Dependencies: Uses standard Python libraries (tkinter, subprocess, threading). No pip install required 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

  1. Python 3.12+: Ensure Python is installed on your system.
  2. Pandoc: The application relies on the pandoc command-line tool.
    • Windows: winget install pandoc or download from pandoc.org
    • macOS: brew install pandoc
    • Linux: sudo apt-get install pandoc

Installation & Usage

Running from Source

  1. Clone the repository:
    git clone https://github.com/yourusername/pandoc-gui.git
    cd pandoc-gui
    
  2. Run the script:
    python gui.py
    

Install pandoc-gui directly

If you want to use pandoc-gui directly:

  1. Install pandoc-gui:
    pip install pandoc-gui
    
  2. Build the executable:
    pandoc_gui
    

How to Use

  1. Launch the App: Open the application via Python or the executable.
  2. Select File: Click "Browse..." to choose the document you want to convert.
  3. Select Format:
    • From Format: Leave as "Auto-detect" (recommended) or specify manually.
    • To Format: Select your desired output format (e.g., pdf, docx).
  4. Convert: Click "Convert Document". The status log will update when the process is complete.
  5. 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 pdflatex or wkhtmltopdf). 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandoc_gui-1.0.5.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandoc_gui-1.0.5-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for pandoc_gui-1.0.5.tar.gz
Algorithm Hash digest
SHA256 b24dcaed73a77a3206b5179e9a0729b59772e3cf5d337de21b987030116f2e27
MD5 a2db5cb94581d7c5e8c0919d763e44e1
BLAKE2b-256 b663288cb6251afc27d88cfc1c56b8d791bd98f1a70304398a72ea633f353185

See more details on using hashes here.

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

Hashes for pandoc_gui-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b05d4968fb0958c563661502c80b5e36c5d30a9322fb0c8d69ebc6ee7a4481
MD5 aaed57acec484957ac6649eacbfe248f
BLAKE2b-256 524f79956eb74d09dced05cee3d51f64668e00ac1720709fd60ccfa08c0eaeaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page