Skip to main content

aPowerConverter

A powerful tool to convert DOCX files to AsciiDoc format with special handling for tables and formatting.

Features

  • Converts DOCX files to AsciiDoc format using Pandoc
  • Special handling for tables with |a| format, converting them to INFO blocks
  • Preserves document structure and formatting
  • Supports batch processing of multiple files
  • Handles images and media extraction
  • Normalizes punctuation and heading levels
  • Supports document ID generation

Installation

Make sure you have Python 3.6+ and Pandoc installed on your system.

pip install aPowerConverter

Usage

Basic usage:

aPowerConverter input.docx

Convert multiple files:

aPowerConverter file1.docx file2.docx file3.docx

Options:

  • -o, --output-dir: Output directory for converted files
  • -i, --image-dir: Base directory for extracted images
  • -k, --keep-numbers: Keep section numbers from the original document
  • -d, --dry-run: Show what would be done without making changes
  • -q, --quiet: Suppress progress messages
  • -g, --generalize: Generalize headings after conversion
  • -v, --version: Show version information

Table to INFO Block Conversion

The converter automatically detects tables with |a| format and converts them to INFO blocks:

Input table:

|===
| a|
* First bullet point
* Second bullet point
|===

Gets converted to:

[INFO]
====
* First bullet point
* Second bullet point
====

Requirements

License

MIT License

Metadata

Release files for aPowerConverter 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aPowerConverter 1.2.0
File Size Uploaded Provenance
apowerconverter-1.2.0.tar.gz 1.6 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aPowerConverter 1.2.0
File Interpreter ABI Platform
apowerconverter-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / apowerconverter-1.2.0.tar.gz

Download URL apowerconverter-1.2.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
d6b2ae7d263880e0b74cde66c04de346ac7a0e7081d8a64fa77eb6ed315b31f8
BLAKE2b-256 checksum
How to use checksums
3b834d7c3007639e4c634fde5be369ae88204995bfad5f171d9d7e8c48f2da4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / apowerconverter-1.2.0-py3-none-any.whl

Download URL apowerconverter-1.2.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fb03d9c84e69c2fd2650ba80127774951736d3027d5caa47d77ed1d1e7d02dd
BLAKE2b-256 checksum
How to use checksums
9b272fccd92d5540a4d2ea90c7165d8102d6e1661c99fda5adacb09598cadac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for aPowerConverter 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page