langchain-pull-md
Deprecated: This package is deprecated because the
pull.mdservice was switched off on 25/12/2025.
langchain-pull-md is a Python package that extends LangChain by providing a markdown loader from URLs using the pull.md service. This package enables the fetching of fully rendered Markdown content, which is especially useful for web pages that utilize JavaScript frameworks such as React, Angular, and Vue.js.
Key Features
- Convert URLs to Markdown directly, supporting pages rendered with JavaScript frameworks.
- Efficiently fetch markdown without local server resource consumption using the external
pull.mdservice.
Installation
To install the package, use:
pip install langchain-pull-md
Usage
Here’s how you can use the PullMdLoader from langchain-pull-md:
Basic Example
from langchain_pull_md import PullMdLoader
# Initialize using a URL
loader = PullMdLoader(url="http://example.com")
documents = loader.load()
print(documents)
Parameters
PullMdLoader Constructor
| Parameter | Type | Default | Description |
|---|---|---|---|
url |
str |
None | The URL to fetch and convert to Markdown. |
Testing
To run the tests:
-
Clone the repository:
git clone https://github.com/chigwell/langchain-pull-md cd langchain-pull-md
-
Install development dependencies:
pip install -r requirements.txt
-
Run the tests:
pytest tests/test_markdown_loader.py
Contributing
Contributions are welcome! If you have ideas for new features or spot a bug, feel free to:
- Open an issue on GitHub.
- Submit a pull request.
License
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Acknowledgements
Release files for langchain-pull-md 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_pull_md-0.1.2.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_pull_md-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / langchain_pull_md-0.1.2.tar.gz
| Download URL | langchain_pull_md-0.1.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b95b615799e33a2f9aa0e8435bcd0bd7ed46b6dc20b146ca33d4b6c3d6c2b19
|
|
BLAKE2b-256 checksum How to use checksums |
e20de7292f794ebf7538e7999e6c1c395d7fdacf88fb03b7624574d2b802adb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.14
|
Release files / langchain_pull_md-0.1.2-py3-none-any.whl
| Download URL | langchain_pull_md-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c859e944255afe7ff00512c5913662d24c9eccfc9272b67e4fbeb39918e775dd
|
|
BLAKE2b-256 checksum How to use checksums |
4a68dbdab45780ab16c567f798d2557d84b026f6a9fa086279f1941b52ee9c20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.14
|