langchain-anytomarkdown
LangChain document loader for the AnyToMarkdown API. It turns PDF, Word, Excel, PowerPoint, e-mail and web pages into Markdown, with tables, headings and lists kept. Scanned pages are read with OCR.
pip install langchain-anytomarkdown
Get a free API key on RapidAPI (the Basic plan includes 1,000 conversions a month).
import os
from langchain_anytomarkdown import AnyToMarkdownLoader
docs = AnyToMarkdownLoader(file_path="handbook.pdf", api_key=os.environ["RAPIDAPI_KEY"]).load()
print(docs[0].metadata) # title, source_format, tokens, pages_processed
Load a web page instead:
docs = AnyToMarkdownLoader(url="https://en.wikipedia.org/wiki/Markdown", api_key=os.environ["RAPIDAPI_KEY"]).load()
Files are processed in memory and are not stored. Every call uses one conversion from your plan.
Metadata
Release files for langchain-anytomarkdown 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 | |
|---|---|---|---|---|
| langchain_anytomarkdown-0.1.0.tar.gz | 2.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_anytomarkdown-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / langchain_anytomarkdown-0.1.0.tar.gz
| Download URL | langchain_anytomarkdown-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15839dff30797b75daf7b42fdf90901d80be56d3e39d54ffe965c7652a05c9bf
|
|
BLAKE2b-256 checksum How to use checksums |
5a9b3eae0f0f8b5e9733f3c0ebe9810aad28a855643022bd2e96e85ff43e722f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / langchain_anytomarkdown-0.1.0-py3-none-any.whl
| Download URL | langchain_anytomarkdown-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be9449152e30f180e490dd64373764c2b55854b771c75f12b7c3bd29ed2c7a5f
|
|
BLAKE2b-256 checksum How to use checksums |
25f4a039b501de5d99a5bc4ccfed68e63fdf5a824e220e6603526d12e0ee1aef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for langchain-anytomarkdown 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.
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.