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.4.tar.gz (5.0 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.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pandoc_gui-1.0.4.tar.gz.

File metadata

  • Download URL: pandoc_gui-1.0.4.tar.gz
  • Upload date:
  • Size: 5.0 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.4.tar.gz
Algorithm Hash digest
SHA256 fbc87c7fc63385115717bfaa7dcea4507c8808b5776db8dd5429b0edadefb961
MD5 c162d6f140e2bd807a8ee7ce4e5a1b55
BLAKE2b-256 f34f87a34a3b75cc79372bb07c353297e1a029c02216121fba2264e660e34e87

See more details on using hashes here.

File details

Details for the file pandoc_gui-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pandoc_gui-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc154d2e3be55ae718cddfcbb3fd501065ce4f3ecfec58c10c989cedd63f5fa
MD5 ef2a67e31cd36ccdccc8f386fa3249df
BLAKE2b-256 039464ad5104090cb2a31465e45c3f08a0bcae8b1d99ec3e60d5a82c737b73b4

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