llm-fragments-markitdown
LLM fragment loader which converts various formats to Markdown.
Installation
Install this plugin in the same environment as LLM.
llm install llm-fragments-markitdown
Usage
Use the fragment loader like this:
llm -f md:path/to/file.html
llm -f md:https://simonwillison.net/2025/Apr/7/long-context-llm/
This will use the MarkItDown library to convert the argument into Markdown.
While this supports various formats out-of-the-box, more can be added as optional dependencies, for example:
llm install markitdown[all] # Installs all optional dependencies
llm install markitdown[pdf, youtube-transcription] # Installs just the PDF and YouTube transcript readers.
Development
To contribute to this tool, use uv. The following command will establish the venv and run tests:
uv run pytest
To run llm-fragments-markitdown locally, use:
uv run llm-fragments-markitdown
Metadata
Release files for llm-fragments-markitdown 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llm_fragments_markitdown-0.1.0.tar.gz | 40.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_fragments_markitdown-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.9 kB
Release files / llm_fragments_markitdown-0.1.0.tar.gz
| Download URL | llm_fragments_markitdown-0.1.0.tar.gz |
|---|---|
| Size | 40.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a890424f1bc5fe7e6c987a5446f0e499b1b726bebeb89d89ea72035763ff076
|
|
BLAKE2b-256 checksum How to use checksums |
55f46244331cadd7795be64ac6186e173b56e1ecd3debf7200fce0e7978e34a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2025.
Transparency logRelease files / llm_fragments_markitdown-0.1.0-py3-none-any.whl
| Download URL | llm_fragments_markitdown-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7498025904fea13aa79f12f60d17cadbd5a76cf8a54892c0561cbac33a0c182
|
|
BLAKE2b-256 checksum How to use checksums |
946dd8197ffe92c69342c95b929067abfabb71ecf8a4b3d3e8660f3e28195ee2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2025.
Transparency logSecurity for llm-fragments-markitdown 0.1.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for llm_fragments_markitdown-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2025.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.