<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-j509bswvn" -->

---
title: Introducing chunklet-py v2.2.0+: One Library to Split...
description: chunklet-py v2.2.0 is a Python library for smart text chunking designed for RAG pipelines. It supports 50+ languages, multiple file formats (PDF, DOCX, EPUB,...
canonical: https://daily.dev/posts/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-j509bswvn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Introducing chunklet-py v2.2.0+: One Library to Split Them All — Sentence, Code, Docs | daily.dev
og:description: chunklet-py v2.2.0 is a Python library for smart text chunking designed for RAG pipelines. It supports 50+ languages, multiple file formats (PDF, DOCX, EPUB,...
og:url: https://daily.dev/posts/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-j509bswvn
og:image: https://api.daily.dev/og/posts/j509BSwVn.png
og:image:alt: Introducing chunklet-py v2.2.0+: One Library to Split Them All — Sentence, Code, Docs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing chunklet-py v2.2.0+: One Library to Split Them All — Sentence, Code, Docs

**[Medium](https://daily.dev/sources/medium_js)** · 7 min read · 0 upvotes · 0 comments

## Summary

chunklet-py v2.2.0 is a Python library for smart text chunking designed for RAG pipelines. It supports 50+ languages, multiple file formats (PDF, DOCX, EPUB, HTML, Markdown, etc.), and specialized chunking for both documents and source code. Key features include composable constraints (max_sentences, max_tokens, max_functions, max_lines), rich chunk metadata, a pluggable architecture for custom tokenizers and splitters, an interactive web visualizer, and a full CLI. v2.2.0 unifies the API under chunk_text/chunk_file/chunk_texts/chunk_files methods and adds support for more code languages. It positions itself as a lightweight, drop-in replacement for the chunking step in any RAG pipeline, compared to alternatives like LangChain splitters, Chonkie, and Semchunk.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@speedy40115719/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-7e99f4925af1>

## Similar posts on daily.dev

- [Beyond Text Splitting: Building a Chunking Strategy Library for ODC](https://daily.dev/posts/beyond-text-splitting-building-a-chunking-strategy-library-for-odc-nlpaupgtr) · ITNEXT · 0 upvotes · 0 comments
- [We Stopped Splitting Code Like Text: Code Aware Chunking Unlocked Better RAG](https://daily.dev/posts/we-stopped-splitting-code-like-text-code-aware-chunking-unlocked-better-rag-ihd6ilnbv) · Trendyol Tech · 1 upvotes · 0 comments
- [Python MarkItDown: Convert Documents Into LLM-Ready Markdown – Real Python](https://daily.dev/posts/python-markitdown-convert-documents-into-llm-ready-markdown-real-python-x25hpn1rb) · Real Python · 2 upvotes · 0 comments
- [Machine Learning Blog \| ML@CMU \| Carnegie Mellon University](https://daily.dev/posts/machine-learning-blog-ml-cmu-carnegie-mellon-university-vxdxthphs) · ML CMU · 0 upvotes · 0 comments
- [Building a Knowledge Assistant over Code](https://daily.dev/posts/building-a-knowledge-assistant-over-code-vud4v283t) · databricks · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#nlp](https://daily.dev/tags/nlp), [#rag](https://daily.dev/tags/rag)

[View this post on daily.dev](https://daily.dev/posts/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-j509bswvn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Introducing chunklet-py v2.2.0+: One Library to Split Them All — Sentence, Code, Docs","url":"https://daily.dev/posts/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-j509bswvn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-j509bswvn"},"datePublished":"2026-07-31T18:29:03.321Z","dateModified":"2026-07-31T18:30:52.115Z","description":"chunklet-py v2.2.0 is a Python library for smart text chunking designed for RAG pipelines. It supports 50+ languages, multiple file formats (PDF, DOCX, EPUB,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/introducing-chunklet-py-v2-2-0-one-library-to-split-them-all-sentence-code-docs-j509bswvn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,nlp,rag","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"Introducing chunklet-py v2.2.0+: One Library to Split Them All — Sentence, Code, Docs"}]}
```

