chunkscope 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chunkscope/__init__.py +31 -0
- chunkscope/__main__.py +3 -0
- chunkscope/adapters.py +378 -0
- chunkscope/align.py +189 -0
- chunkscope/analyze.py +408 -0
- chunkscope/api.py +44 -0
- chunkscope/checks.py +155 -0
- chunkscope/cli.py +143 -0
- chunkscope/colors.py +181 -0
- chunkscope/models.py +152 -0
- chunkscope/py.typed +0 -0
- chunkscope/render.py +710 -0
- chunkscope/tokenizers.py +108 -0
- chunkscope-0.2.0.dist-info/METADATA +227 -0
- chunkscope-0.2.0.dist-info/RECORD +18 -0
- chunkscope-0.2.0.dist-info/WHEEL +4 -0
- chunkscope-0.2.0.dist-info/entry_points.txt +2 -0
- chunkscope-0.2.0.dist-info/licenses/LICENSE +21 -0
chunkscope/tokenizers.py
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"""Size counters.
|
|
2
|
+
|
|
3
|
+
Any ``callable(str) -> int`` works. These helpers wrap the common tokenizers
|
|
4
|
+
so the report counts sizes the way the developer's embedding model does.
|
|
5
|
+
The tokenizer libraries are optional and only imported when asked for.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
from collections.abc import Callable
|
|
11
|
+
from typing import Any
|
|
12
|
+
|
|
13
|
+
Counter = Callable[[str], int]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def characters(text: str) -> int:
|
|
17
|
+
return len(text)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def words(text: str) -> int:
|
|
21
|
+
return len(text.split())
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def tiktoken_counter(encoding: str = "cl100k_base") -> Counter:
|
|
25
|
+
"""Count tokens with an OpenAI-style tiktoken encoding (``pip install chunkscope[tiktoken]``)."""
|
|
26
|
+
try:
|
|
27
|
+
import tiktoken
|
|
28
|
+
except ImportError as error:
|
|
29
|
+
raise ImportError("tiktoken is not installed: pip install 'chunkscope[tiktoken]'") from error
|
|
30
|
+
try:
|
|
31
|
+
encoder = tiktoken.get_encoding(encoding)
|
|
32
|
+
except ValueError:
|
|
33
|
+
encoder = tiktoken.encoding_for_model(encoding)
|
|
34
|
+
return lambda text: len(encoder.encode(text, disallowed_special=()))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def huggingface_counter(name: str, add_special_tokens: bool = False) -> Counter:
|
|
38
|
+
"""Count tokens with a Hugging Face tokenizer (``pip install chunkscope[hf]``).
|
|
39
|
+
|
|
40
|
+
Uses the ``tokenizers`` library, or ``transformers`` if that is what is installed.
|
|
41
|
+
The tokenizer files are loaded from the local Hugging Face cache, or downloaded
|
|
42
|
+
the first time.
|
|
43
|
+
"""
|
|
44
|
+
try:
|
|
45
|
+
from tokenizers import Tokenizer
|
|
46
|
+
|
|
47
|
+
tokenizer = Tokenizer.from_pretrained(name)
|
|
48
|
+
return lambda text: len(tokenizer.encode(text, add_special_tokens=add_special_tokens).ids)
|
|
49
|
+
except ImportError:
|
|
50
|
+
pass
|
|
51
|
+
try:
|
|
52
|
+
from transformers import AutoTokenizer
|
|
53
|
+
except ImportError as error:
|
|
54
|
+
raise ImportError("Install 'tokenizers' or 'transformers': pip install 'chunkscope[hf]'") from error
|
|
55
|
+
auto = AutoTokenizer.from_pretrained(name)
|
|
56
|
+
return lambda text: len(auto.encode(text, add_special_tokens=add_special_tokens))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def as_counter(obj: Any) -> Counter:
|
|
60
|
+
"""Accept a counting function or a tokenizer object and return a counting function.
|
|
61
|
+
|
|
62
|
+
Supported: ``callable(str) -> int``; tiktoken encodings; Hugging Face
|
|
63
|
+
``tokenizers.Tokenizer`` and ``transformers`` tokenizers; objects with a
|
|
64
|
+
``tokenizer`` attribute such as a sentence-transformers model.
|
|
65
|
+
"""
|
|
66
|
+
if obj is None:
|
|
67
|
+
return characters
|
|
68
|
+
if hasattr(obj, "tokenizer") and hasattr(obj.tokenizer, "encode"):
|
|
69
|
+
obj = obj.tokenizer
|
|
70
|
+
if hasattr(obj, "encode") and not _is_plain_function(obj):
|
|
71
|
+
encode = obj.encode
|
|
72
|
+
|
|
73
|
+
def count(text: str) -> int:
|
|
74
|
+
encoded = encode(text)
|
|
75
|
+
ids = getattr(encoded, "ids", encoded)
|
|
76
|
+
return len(ids)
|
|
77
|
+
|
|
78
|
+
return count
|
|
79
|
+
if callable(obj):
|
|
80
|
+
|
|
81
|
+
def count_with(text: str) -> int:
|
|
82
|
+
value = obj(text)
|
|
83
|
+
if isinstance(value, bool) or not isinstance(value, int):
|
|
84
|
+
raise TypeError(f"token_counter must return an int, got {type(value).__name__}")
|
|
85
|
+
return value
|
|
86
|
+
|
|
87
|
+
return count_with
|
|
88
|
+
raise TypeError("token_counter must be a callable(str) -> int or a tokenizer with an encode() method")
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def _is_plain_function(obj: Any) -> bool:
|
|
92
|
+
return callable(obj) and not hasattr(obj, "decode")
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def from_spec(spec: str) -> tuple[Counter, str]:
|
|
96
|
+
"""Build a counter from a CLI spec: ``chars``, ``words``, ``tiktoken:<encoding>``, ``hf:<model>``."""
|
|
97
|
+
kind, _, value = spec.partition(":")
|
|
98
|
+
if kind in ("chars", "characters"):
|
|
99
|
+
return characters, "chars"
|
|
100
|
+
if kind == "words":
|
|
101
|
+
return words, "words"
|
|
102
|
+
if kind == "tiktoken":
|
|
103
|
+
return tiktoken_counter(value or "cl100k_base"), "tokens"
|
|
104
|
+
if kind in ("hf", "huggingface"):
|
|
105
|
+
if not value:
|
|
106
|
+
raise ValueError("Use hf:<model name>, for example hf:BAAI/bge-small-en-v1.5")
|
|
107
|
+
return huggingface_counter(value), "tokens"
|
|
108
|
+
raise ValueError(f"Unknown tokenizer {spec!r}; use chars, words, tiktoken:<encoding> or hf:<model>")
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: chunkscope
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: See how your RAG chunking splits your documents: an offline HTML report for any chunker or framework.
|
|
5
|
+
Project-URL: Homepage, https://github.com/spydersy/chunkscope
|
|
6
|
+
Project-URL: Documentation, https://github.com/spydersy/chunkscope/blob/main/docs/API.md
|
|
7
|
+
Project-URL: Repository, https://github.com/spydersy/chunkscope
|
|
8
|
+
Project-URL: Issues, https://github.com/spydersy/chunkscope/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/spydersy/chunkscope/blob/main/CHANGELOG.md
|
|
10
|
+
Author-email: Achraf Belarif <contact@belarif.com>
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: chunking,embeddings,llm,rag,retrieval,text-splitting,visualization
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
|
+
Classifier: Topic :: Text Processing
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Provides-Extra: hf
|
|
27
|
+
Requires-Dist: tokenizers>=0.15; extra == 'hf'
|
|
28
|
+
Provides-Extra: tiktoken
|
|
29
|
+
Requires-Dist: tiktoken>=0.5; extra == 'tiktoken'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# chunkscope
|
|
33
|
+
|
|
34
|
+
**See how your RAG chunking splits your documents.** One line in your existing pipeline produces an offline HTML report. The report shows every chunk in place in the source text, where chunks overlap, which text ended up in no chunk, the size distribution, and the boundary bugs that quietly hurt retrieval.
|
|
35
|
+
|
|
36
|
+
- **Any chunking method:** fixed-size, recursive, sentence, Markdown or heading-aware, semantic, LLM-based, hierarchical, or your own.
|
|
37
|
+
- **Any framework, or none:** plain strings and dicts, LangChain, LlamaIndex, Haystack, Chonkie, Docling, Unstructured. Detection is automatic, and chunkscope imports none of them.
|
|
38
|
+
- **Any file type:** chunkscope shows the text your chunker actually received (from PDF, DOCX, HTML, Markdown, code…). Many chunking bugs are really extraction bugs, and this makes them visible.
|
|
39
|
+
- **Private by design:** the report is one HTML file with no network access (enforced by a Content-Security-Policy), no CDN and no telemetry. Safe for confidential documents.
|
|
40
|
+
- **No dependencies:** standard library only. Tokenizers are optional extras.
|
|
41
|
+
|
|
42
|
+
> Status: alpha (0.2.0). The API may still change. LangChain, LlamaIndex, Haystack and Chonkie are tested against the real libraries; Docling and Unstructured support is based on their documented output and not yet tested against the libraries themselves. Reports of problems are welcome in the [issues](https://github.com/spydersy/chunkscope/issues).
|
|
43
|
+
|
|
44
|
+
## All methods
|
|
45
|
+
|
|
46
|
+
| Call | Use it to |
|
|
47
|
+
|---|---|
|
|
48
|
+
| `chunkscope.report(chunks, source=...)` | analyze and write the HTML report in one call |
|
|
49
|
+
| `chunkscope.analyze(chunks, source=...)` | get a `Report` to inspect, test or save later |
|
|
50
|
+
| `chunkscope.compare({"a": chunks_a, "b": chunks_b}, source=...)` | compare several chunkings in one report |
|
|
51
|
+
| `chunkscope.save(report, "file.html")` | write a `Report` to a file |
|
|
52
|
+
| `chunkscope.render_html(report)` | get the page as a string, to serve or store it yourself |
|
|
53
|
+
| `report.summary()`, `report.issues` | use the results in code and tests |
|
|
54
|
+
| `chunkscope.tokenizers.*` | count sizes like your embedding model (tiktoken, Hugging Face, words) |
|
|
55
|
+
| `chunkscope report` / `chunkscope compare` | the same from the command line |
|
|
56
|
+
|
|
57
|
+
Every parameter, return value, error and usage is documented in **[docs/API.md](https://github.com/spydersy/chunkscope/blob/main/docs/API.md)**. How to read and use the HTML report is explained in **[docs/REPORT.md](https://github.com/spydersy/chunkscope/blob/main/docs/REPORT.md)**.
|
|
58
|
+
|
|
59
|
+
## Install
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
pip install chunkscope # core, no dependencies
|
|
63
|
+
pip install "chunkscope[tiktoken]" # count sizes with tiktoken
|
|
64
|
+
pip install "chunkscope[hf]" # count sizes with a Hugging Face tokenizer
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Quick start
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
import chunkscope
|
|
71
|
+
|
|
72
|
+
chunks = my_chunker(text) # strings, dicts or framework objects
|
|
73
|
+
chunkscope.report(chunks, source=text) # writes chunkscope-report.html
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Open `chunkscope-report.html` in any browser. Pass `open_browser=True` to open it automatically. In Jupyter, `chunkscope.analyze(chunks, source=text)` displays the report inline.
|
|
77
|
+
|
|
78
|
+
### With a framework
|
|
79
|
+
|
|
80
|
+
```python
|
|
81
|
+
# LangChain: add_start_index=True gives exact offsets
|
|
82
|
+
splitter = RecursiveCharacterTextSplitter(chunk_size=500, chunk_overlap=50, add_start_index=True)
|
|
83
|
+
chunks = splitter.split_documents(docs)
|
|
84
|
+
chunkscope.report(chunks, sources=docs) # chunks are matched to their document
|
|
85
|
+
|
|
86
|
+
# LlamaIndex
|
|
87
|
+
nodes = SentenceSplitter(chunk_size=256).get_nodes_from_documents(documents)
|
|
88
|
+
chunkscope.report(nodes, sources=documents)
|
|
89
|
+
|
|
90
|
+
# Haystack
|
|
91
|
+
chunks = DocumentSplitter(split_by="word", split_length=150).run(documents=docs)["documents"]
|
|
92
|
+
chunkscope.report(chunks, sources=docs)
|
|
93
|
+
|
|
94
|
+
# Chonkie: one list of chunks per text, paired with the sources by position
|
|
95
|
+
batches = RecursiveChunker(chunk_size=512).chunk_batch(texts)
|
|
96
|
+
chunkscope.report(batches, sources=texts)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Count sizes like your embedding model
|
|
100
|
+
|
|
101
|
+
```python
|
|
102
|
+
from chunkscope.tokenizers import huggingface_counter, tiktoken_counter
|
|
103
|
+
|
|
104
|
+
chunkscope.report(chunks, source=text, token_counter=huggingface_counter("BAAI/bge-small-en-v1.5"), max_tokens=512)
|
|
105
|
+
chunkscope.report(chunks, source=text, token_counter=tiktoken_counter("cl100k_base"), max_tokens=8191)
|
|
106
|
+
chunkscope.report(chunks, source=text, token_counter=my_model.tokenizer) # any tokenizer with .encode()
|
|
107
|
+
chunkscope.report(chunks, source=text, token_counter=lambda t: len(t.split()))
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Without a counter, sizes are in characters, and the report says so.
|
|
111
|
+
|
|
112
|
+
### Command line
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
chunkscope report chunks.jsonl --source guide.md --tokenizer tiktoken:cl100k_base --max-tokens 512 --open
|
|
116
|
+
chunkscope report chunks.jsonl --source-dir ./docs # chunks carry doc_id / source paths
|
|
117
|
+
chunkscope report chunks.jsonl --source guide.md --fail-on error # exit code 3 in CI if errors exist
|
|
118
|
+
chunkscope report hits.jsonl --source guide.md --query "how fine for espresso?" # chunks with a "score" field
|
|
119
|
+
chunkscope report chunks.jsonl --source guide.md --color-by meta:section --theme dark
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
`chunks.jsonl` holds one chunk per line, for example `{"text": "...", "start": 0, "end": 512, "doc_id": "guide.md", "metadata": {...}}`. Only `text` is required.
|
|
123
|
+
|
|
124
|
+
## What the report shows
|
|
125
|
+
|
|
126
|
+
- **Overview:** chunk count, size distribution histogram, limit violations, coverage per document, and issues grouped by type.
|
|
127
|
+
- **Source view:** the document with each chunk highlighted in place, a marker where each chunk starts, overlaps striped, and uncovered text in red. Click any text to inspect its chunk.
|
|
128
|
+
- **Chunk cards:** text, size, offsets, metadata, alignment status and issues, with a filter to show only problem chunks.
|
|
129
|
+
|
|
130
|
+
### Checks
|
|
131
|
+
|
|
132
|
+
| Check | Severity | Meaning |
|
|
133
|
+
|---|---|---|
|
|
134
|
+
| `over_limit` / `under_limit` | error / warning | chunk is larger than `max_tokens` or smaller than `min_tokens` |
|
|
135
|
+
| `empty` | error | chunk has no text |
|
|
136
|
+
| `gaps` | warning | source text that is in no chunk, so it cannot be retrieved |
|
|
137
|
+
| `split_code_block` | warning | a code fence is opened or closed in another chunk |
|
|
138
|
+
| `starts_in_table` / `ends_in_table` | warning | table rows are separated from their header or from the rest of the table |
|
|
139
|
+
| `starts_mid_word` / `ends_mid_word` | warning | boundary cuts a word |
|
|
140
|
+
| `heading_only` | warning | chunk is just a heading, with its content elsewhere |
|
|
141
|
+
| `unmatched` | warning | chunk text cannot be found in the source |
|
|
142
|
+
| `offset_mismatch` | warning | the chunk's own offsets point to the wrong text |
|
|
143
|
+
| `ends_mid_sentence` | info | boundary falls inside a sentence |
|
|
144
|
+
| `partial` | info | the chunker transformed the text (added headers or context); only part of it was found |
|
|
145
|
+
| `duplicate` | info | same text as an earlier chunk |
|
|
146
|
+
|
|
147
|
+
## How chunks are placed
|
|
148
|
+
|
|
149
|
+
chunkscope works at three fidelity levels, so every chunker works:
|
|
150
|
+
|
|
151
|
+
1. **Exact:** the chunk carries character offsets that match the source (LangChain `start_index`, LlamaIndex `start_char_idx`, Haystack `split_idx_start`, Chonkie `start_index`).
|
|
152
|
+
2. **Aligned:** text only, or wrong offsets. chunkscope searches the source: first an exact match, then a match that ignores whitespace, then a piece-by-piece match for transformed chunks (`partial`).
|
|
153
|
+
3. **Unplaced:** text that cannot be found, or no source given. The chunk is still listed, measured and checked.
|
|
154
|
+
|
|
155
|
+
## Visualization options
|
|
156
|
+
|
|
157
|
+
Every report lets you switch between these views with the **Colour by** menu, and a **Theme** button toggles automatic, light and dark.
|
|
158
|
+
|
|
159
|
+
| Colour by | Shows |
|
|
160
|
+
|---|---|
|
|
161
|
+
| Chunk | alternating colours, to tell neighbouring chunks apart (default) |
|
|
162
|
+
| Size | one blue scale from small to large; chunks over `max_tokens` in red |
|
|
163
|
+
| Issues | the worst issue of each chunk: info, ▲ warning, ✕ error |
|
|
164
|
+
| Retrieval score | one orange scale from low to high score; unscored chunks dimmed |
|
|
165
|
+
| Metadata: *key* | one colour per value of a metadata field (section, page, heading…), with a legend; picked automatically or with `color_metadata=` |
|
|
166
|
+
|
|
167
|
+
Above the source text, the **chunk map** shows the whole document as a strip of bars: one bar per chunk, overlapping chunks on extra rows, gaps in red. Click a bar to jump to its chunk.
|
|
168
|
+
|
|
169
|
+
### See what a query retrieves
|
|
170
|
+
|
|
171
|
+
```python
|
|
172
|
+
hits = vectorstore.similarity_search_with_score(query, k=len(chunks)) # LangChain: (Document, score) pairs
|
|
173
|
+
chunkscope.report(hits, sources=docs, query=query)
|
|
174
|
+
|
|
175
|
+
nodes = retriever.retrieve(query) # LlamaIndex: NodeWithScore
|
|
176
|
+
chunkscope.report(nodes, sources=documents, query=query)
|
|
177
|
+
|
|
178
|
+
chunkscope.report(chunks, source=text, scores=my_scores, query=query) # any retriever: one score per chunk
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
The report opens coloured by score, with a ranked table of the best chunks and a "retrieval rank" order for the chunk cards. `scores=` takes a list aligned with the chunks, or a mapping `{position or chunk id: score}` for a subset.
|
|
182
|
+
|
|
183
|
+
### Compare chunkings
|
|
184
|
+
|
|
185
|
+
```python
|
|
186
|
+
result = chunkscope.compare(
|
|
187
|
+
{"500 / 50": splitter_a.split_documents(docs), "1000 / 100": splitter_b.split_documents(docs)},
|
|
188
|
+
sources=docs,
|
|
189
|
+
max_tokens=512,
|
|
190
|
+
)
|
|
191
|
+
chunkscope.save(result, "compare.html")
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
The overview gets a table comparing the runs. Every document gets a **Compare runs** tab with the chunk map of each run on the same scale. From the command line: `chunkscope compare small.jsonl large.jsonl --source guide.md` (each file name is a run label).
|
|
195
|
+
|
|
196
|
+
## Programmatic use
|
|
197
|
+
|
|
198
|
+
```python
|
|
199
|
+
result = chunkscope.analyze(chunks, source=text, max_tokens=512)
|
|
200
|
+
result.summary() # {'chunks': 42, 'median_size': 380, 'over_limit': 2, 'errors': 2, 'coverage': 0.97, ...}
|
|
201
|
+
result.issues # list of Issue(code, severity, message, chunk)
|
|
202
|
+
chunkscope.save(result, "report.html")
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Use it in a test to keep your chunking honest:
|
|
206
|
+
|
|
207
|
+
```python
|
|
208
|
+
def test_chunking_quality():
|
|
209
|
+
summary = chunkscope.analyze(chunk(doc), source=doc, max_tokens=512).summary()
|
|
210
|
+
assert summary["errors"] == 0 and summary["coverage"] > 0.99
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
## Development
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
uv venv && uv pip install -e . pytest
|
|
217
|
+
pytest -m "not integration" # fast unit tests
|
|
218
|
+
uv pip install --group integration && pytest # also run real LangChain, LlamaIndex, Haystack, Chonkie
|
|
219
|
+
python examples/quickstart.py # writes examples/output/quickstart.html
|
|
220
|
+
python examples/demo_site.py # the full demo: 7 fictional docs, 3 chunkers, every check
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
Design decisions are recorded in [docs/DESIGN.md](https://github.com/spydersy/chunkscope/blob/main/docs/DESIGN.md).
|
|
224
|
+
|
|
225
|
+
## License
|
|
226
|
+
|
|
227
|
+
MIT
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
chunkscope/__init__.py,sha256=-HBNLVIPcA9rXn8VE27HbIl-BIGY40zA55bxKxV4ObQ,841
|
|
2
|
+
chunkscope/__main__.py,sha256=k1ocEWawweo1qCJWNFAAvyxz3tcY13dzvCenHszij30,48
|
|
3
|
+
chunkscope/adapters.py,sha256=plFaEmVeeSyZlWmDLO4_kbAYxdJcSe9LkjMZcrrhGHM,14502
|
|
4
|
+
chunkscope/align.py,sha256=RJgaCqx6RFRKsx-p1kwJ1SH5DKufERQr03eGo4BcDWI,7463
|
|
5
|
+
chunkscope/analyze.py,sha256=K5SRoNnxCcYYfZGy0tiXbtz8daauHY0hm0aPYL7OkWk,17614
|
|
6
|
+
chunkscope/api.py,sha256=jofrTCXQzWF4j9hmRkrLCELxiM0LRogonTCQ51yxPO8,1319
|
|
7
|
+
chunkscope/checks.py,sha256=5MzyIf_8rApLK08kA7Op795nvS1QN4DXgKgLz5vXwjA,6658
|
|
8
|
+
chunkscope/cli.py,sha256=VAMRrJRGrWd-VJb_KsDVffgAlcrQ1HQNXQ8OunHhMv0,6257
|
|
9
|
+
chunkscope/colors.py,sha256=blXPWx34uRMe_ksZ9XRndiJ6bSJB8STwa44DUlQDlvA,9708
|
|
10
|
+
chunkscope/models.py,sha256=po0IVhwd6cGrPBcntlhqMLXkOPUJbwqb_772WjAeZSs,4891
|
|
11
|
+
chunkscope/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
+
chunkscope/render.py,sha256=wIZWXL07YMIIwQPlPonhGwEYB2xHQT6uLGXJaPwQeOI,41146
|
|
13
|
+
chunkscope/tokenizers.py,sha256=WbOCSUxkQn3U15alEMh_yF7CZmpX9pRwIDos2qGsYMk,3987
|
|
14
|
+
chunkscope-0.2.0.dist-info/METADATA,sha256=4MFN0FF2-dQnLUGN2xqe0inRM5S-i1LldpK2LmN_ZOY,11934
|
|
15
|
+
chunkscope-0.2.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
16
|
+
chunkscope-0.2.0.dist-info/entry_points.txt,sha256=1OKzo6ksTlbUF9fxxA25CrRsNVgLuabuOk--xd9gQSY,51
|
|
17
|
+
chunkscope-0.2.0.dist-info/licenses/LICENSE,sha256=zOM7gfvkKrxzmFnKpD3fv7bmXcTr71pPoY0dKGLSY94,1071
|
|
18
|
+
chunkscope-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Achraf BELARIF
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|