A LangChain integration for jostack-mdparse
Project description
langchain-jostack-mdparse
A LangChain Document Loader for jostack-mdparse.
Installation
pip install langchain-jostack-mdparse
Quick Start
from langchain_jostack_mdparse import MarkdownExtractLoader
# Load a single file
loader = MarkdownExtractLoader("README.md")
docs = loader.load()
# Load with options
loader = MarkdownExtractLoader(
"docs/guide.md",
heading_level="1,2",
strip_html=True,
split_sections=True,
)
docs = loader.load()
# Load multiple files
loader = MarkdownExtractLoader(["a.md", "b.md"])
docs = loader.load()
Parameters Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
file_path |
str | Path | List |
— | (Required) Path to Markdown file(s) |
split_sections |
bool |
True |
Split output into per-section Documents |
| format | str | "text" | Output format: json, text, html |
| quiet | bool | False | Suppress console logging |
| heading_level | str | None | Filter by heading levels (comma-separated) |
| sections | str | None | Extract sections by heading text (comma-separated) |
| include_frontmatter | bool | True | Include YAML/TOML frontmatter |
| strip_html | bool | False | Strip inline HTML tags |
| include_code_blocks | bool | True | Include fenced code blocks |
| include_toc | bool | False | Add generated table of contents |
| flatten_lists | bool | False | Flatten nested lists |
| section_separator | str | None | Separator between sections |
| normalize_links | bool | False | Convert relative links to absolute |
Development
pip install -e .
make test
make lint
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_jostack_mdparse-0.1.0.tar.gz.
File metadata
- Download URL: langchain_jostack_mdparse-0.1.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5def6ff65688f098f384bfaae7d09e5e873c686f38dc8e5701b78ed6fed0cae
|
|
| MD5 |
fe7511087cb83c45e371399f8eba14c4
|
|
| BLAKE2b-256 |
c76f436096fa81aab0bece0f50c7f2ce109e8b6a9e65c1ccce37d8f6eb38ee3e
|
Provenance
The following attestation bundles were made for langchain_jostack_mdparse-0.1.0.tar.gz:
Publisher:
release.yml on hyunhee-jo/langchain-jostack-mdparse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_jostack_mdparse-0.1.0.tar.gz -
Subject digest:
e5def6ff65688f098f384bfaae7d09e5e873c686f38dc8e5701b78ed6fed0cae - Sigstore transparency entry: 1245367603
- Sigstore integration time:
-
Permalink:
hyunhee-jo/langchain-jostack-mdparse@6e1458e356af2ae97fbc9792f168d034089f0595 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hyunhee-jo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6e1458e356af2ae97fbc9792f168d034089f0595 -
Trigger Event:
push
-
Statement type:
File details
Details for the file langchain_jostack_mdparse-0.1.0-py3-none-any.whl.
File metadata
- Download URL: langchain_jostack_mdparse-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
426387d505639777fc94f8945d919934457fa12e794ed803bac3df2b14b2d0e9
|
|
| MD5 |
de77b3525dd93b80ed21af44fb69848a
|
|
| BLAKE2b-256 |
50055b58456d528e2f583d27657894f3de6bcf29822a903f5ae9fb0b70a2607f
|
Provenance
The following attestation bundles were made for langchain_jostack_mdparse-0.1.0-py3-none-any.whl:
Publisher:
release.yml on hyunhee-jo/langchain-jostack-mdparse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_jostack_mdparse-0.1.0-py3-none-any.whl -
Subject digest:
426387d505639777fc94f8945d919934457fa12e794ed803bac3df2b14b2d0e9 - Sigstore transparency entry: 1245367706
- Sigstore integration time:
-
Permalink:
hyunhee-jo/langchain-jostack-mdparse@6e1458e356af2ae97fbc9792f168d034089f0595 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hyunhee-jo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6e1458e356af2ae97fbc9792f168d034089f0595 -
Trigger Event:
push
-
Statement type: