Markdown Converter
A Flask-based web service to convert any document/url to Markdown.
Installation
pip install markdown-converter
Usage
As a web service
Start the server:
markdown-converter serve
Options:
--host: Host to bind to (default: 0.0.0.0)--port: Port to bind to (default: 5000)--debug: Enable debug mode
API Endpoints
Convert URL to Markdown
curl -X POST -F "url=https://example.com" http://localhost:5000/convert
Convert File to Markdown
curl -X POST -F "file=@document.pdf" http://localhost:5000/convert
Development
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Run the development server:
python -m markdown_converter.cli serve --debug
License
MIT License
Metadata
Release files for markdown-converter 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| markdown_converter-0.1.1.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| markdown_converter-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / markdown_converter-0.1.1.tar.gz
| Download URL | markdown_converter-0.1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f19974bba776f11f14e997c5b088425f89706e74e23c94670b115d4c88797f49
|
|
BLAKE2b-256 checksum How to use checksums |
c7ad40896cb82f6925fb614f96f069be30e666c17b7b6359f0cc394ae0648861
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.2
|
Release files / markdown_converter-0.1.1-py3-none-any.whl
| Download URL | markdown_converter-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2343a2d03f3a4b2c1e80fd2857a9b7a3805a7511bfd68d430063329db47ff57f
|
|
BLAKE2b-256 checksum How to use checksums |
cdbe4801fa98ee4a0b3c49a94a3b73880bb0f9ec13d314e36702c13f83b309a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.2
|