Skip to main content

A heading-aware Markdown splitter with a simple local UI

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdownheadertextsplitter-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markdownheadertextsplitter-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file markdownheadertextsplitter-0.1.0.tar.gz.

File metadata

File hashes

Hashes for markdownheadertextsplitter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dfe7be267203769273eb0b5e674d8a90e9bb845492b58aa553604839f44231b3
MD5 489d49077a3054ef65b9745e95ec211f
BLAKE2b-256 9afc574ecb42d29ec3e512825bd3e14c7ae6c07e0bcc1bcf253b207d0ef62856

See more details on using hashes here.

File details

Details for the file markdownheadertextsplitter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for markdownheadertextsplitter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7beeec0702ec2bbebf7f0c03fa5116fd63afa001c880084a45c2cc22e3316af2
MD5 055c11cbe6a1ad42ecb7a7cfc10619f3
BLAKE2b-256 f1c512c298e0e848011e7c6bcaba0591e9fc42704da1ff52ead32da63b7608f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page