shivlite 0.1.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.
shivlite/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""shivlite — lightweight chat compressor for LLM conversations.
|
|
2
|
+
|
|
3
|
+
Usage:
|
|
4
|
+
import shivlite
|
|
5
|
+
compressed = shivlite.encode("hello world")
|
|
6
|
+
original = shivlite.decode(compressed)
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
__version__ = "0.1.0"
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def encode(text: str) -> str:
|
|
13
|
+
"""Compress text using chat-optimized phrase dictionary."""
|
|
14
|
+
# Stub — implementation coming
|
|
15
|
+
return text
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def decode(text: str) -> str:
|
|
19
|
+
"""Decompress text back to original."""
|
|
20
|
+
# Stub — implementation coming
|
|
21
|
+
return text
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def stats() -> dict:
|
|
25
|
+
"""Return compression stats."""
|
|
26
|
+
return {
|
|
27
|
+
"version": __version__,
|
|
28
|
+
"phrases": 0,
|
|
29
|
+
"dict_words": 0,
|
|
30
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: shivlite
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Lightweight chat compressor — encode/decode for LLM conversations. Zero deps, instant import.
|
|
5
|
+
Project-URL: Homepage, https://github.com/shivtcdfinance/shivtext
|
|
6
|
+
Project-URL: Repository, https://github.com/shivtcdfinance/shivtext
|
|
7
|
+
Requires-Python: >=3.10
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
shivlite/__init__.py,sha256=aQypSGb5hAM5dKqF2G6eFRJtps7pESe7TiV-R-sm-hY,648
|
|
2
|
+
shivlite-0.1.0.dist-info/METADATA,sha256=YMoE6gWcvFIle_ZEYN4JcG7UUQfhP-it9cr8D7dWmCI,315
|
|
3
|
+
shivlite-0.1.0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
4
|
+
shivlite-0.1.0.dist-info/top_level.txt,sha256=NOikm9D3CW8YeFf9ZjByBDv2rYd2_ZJeCdYbyDdha7g,9
|
|
5
|
+
shivlite-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
shivlite
|