Skip to main content

RecursiveCharacterTextSplitter

A small, original, recursive character splitter with a simple local UI for taking a .zip of Markdown chunks and splitting those chunks into smaller Markdown files.

What it does

  • Accepts a .zip created by your Markdown header splitter or any .zip containing .md files
  • Recursively splits each Markdown file by natural separators like blank lines, lines, sentence endings, spaces, and finally raw character windows
  • Lets you choose chunk_size and chunk_overlap
  • Outputs a new downloadable .zip containing the re-split Markdown chunks and a manifest JSON file
  • Keeps the implementation lightweight and original instead of copying third-party splitter code

Install

pip install RecursiveCharacterTextSplitter

Run

RecursiveCharacterTextSplitter

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 recursive text splitting is common, but you should still do your own final 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

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

Metadata

Release files for RecursiveCharacterTextSplitter 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 RecursiveCharacterTextSplitter 0.1.0
File Size Uploaded
recursivecharactertextsplitter-0.1.0.tar.gz 6.3 kB Details

Built distribution (wheel)

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

Total release size: 14.1 kB

Release files / recursivecharactertextsplitter-0.1.0.tar.gz

Download URL recursivecharactertextsplitter-0.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
058f70db4e470798edd69b811e9f5a50cc2855794315d7c7d0b7a2951e0b78f9
BLAKE2b-256 checksum
How to use checksums
506f882b6d8de860fba028b8ecc9b4a706e47ea7b5bdbb468f0dcb67b9c6be32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

Download URL recursivecharactertextsplitter-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7ba67609f4918c9629a7fbe5023550452e2e718c794ee2b9f02b7fd8f8fa25c
BLAKE2b-256 checksum
How to use checksums
56df0f5c18e7a4f4c2c94d41db07ff0704aaea002b03f49a514ec3841e9cbdb2
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