Skip to main content

MarkdownHeaderTextSplitter

A small, original, heading-aware Markdown splitter with a simple local UI for preparing Markdown files for RAG or inspection.

What it does

  • Accepts a .md file in a local UI
  • Respects Markdown heading structure like #, ##, and ###
  • Lets you choose how many chunks you want
  • Outputs the split Markdown chunks as separate .md files inside a downloadable .zip
  • Keeps the implementation lightweight and original instead of copying third-party splitter code

Install

pip install MarkdownHeaderTextSplitter

Run

MarkdownHeaderTextSplitter

This launches a local Streamlit app in your browser.

Notes

  • This package does not vendor or copy code from LangChain or other companies.
  • The idea of heading-aware splitting is common, but you should still do your own name, trademark, licensing, and patent review before publishing publicly.
  • PyPI package-name availability can change over time, so confirm the final project name before upload.

File structure

MarkdownHeaderTextSplitter_pypi/
  README.md
  LICENSE
  pyproject.toml
  markdownheadertextsplitter/
    __init__.py
    app.py
    cli.py
    core.py
  dist/
    MarkdownHeaderTextSplitter-0.1.0.tar.gz
    markdownheadertextsplitter-0.1.0-py3-none-any.whl

Metadata

Release files for MarkdownHeaderTextSplitter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MarkdownHeaderTextSplitter 0.1.0
File Size Uploaded
markdownheadertextsplitter-0.1.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MarkdownHeaderTextSplitter 0.1.0
File Interpreter ABI Platform
markdownheadertextsplitter-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / markdownheadertextsplitter-0.1.0.tar.gz

Download URL markdownheadertextsplitter-0.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dfe7be267203769273eb0b5e674d8a90e9bb845492b58aa553604839f44231b3
BLAKE2b-256 checksum
How to use checksums
9afc574ecb42d29ec3e512825bd3e14c7ae6c07e0bcc1bcf253b207d0ef62856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / markdownheadertextsplitter-0.1.0-py3-none-any.whl

Download URL markdownheadertextsplitter-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7beeec0702ec2bbebf7f0c03fa5116fd63afa001c880084a45c2cc22e3316af2
BLAKE2b-256 checksum
How to use checksums
f1c512c298e0e848011e7c6bcaba0591e9fc42704da1ff52ead32da63b7608f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page