shivlite 0.1.0__tar.gz

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.
@@ -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,22 @@
1
+ # shivlite
2
+
3
+ Lightweight chat compressor for LLM conversations.
4
+
5
+ - Zero dependencies
6
+ - Instant import — no disk I/O until first encode
7
+ - Optimized for 4–25 message chat threads
8
+ - Pure encode/decode — no session state, no composition learning
9
+
10
+ ```python
11
+ import shivlite
12
+ compressed = shivlite.encode("Can you help me with something?")
13
+ original = shivlite.decode(compressed)
14
+ ```
15
+
16
+ ## Install
17
+
18
+ ```bash
19
+ pip install shivlite
20
+ ```
21
+
22
+ By Shiv.
@@ -0,0 +1,22 @@
1
+ [build-system]
2
+ requires = ["setuptools>=64"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "shivlite"
7
+ version = "0.1.0"
8
+ description = "Lightweight chat compressor — encode/decode for LLM conversations. Zero deps, instant import."
9
+ requires-python = ">=3.10"
10
+
11
+ [tool.setuptools.package-dir]
12
+ "" = "src"
13
+
14
+ [tool.setuptools.packages.find]
15
+ where = ["src"]
16
+
17
+ [tool.setuptools.package-data]
18
+ shivlite = ["dict/*"]
19
+
20
+ [project.urls]
21
+ Homepage = "https://github.com/shivtcdfinance/shivtext"
22
+ Repository = "https://github.com/shivtcdfinance/shivtext"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -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,7 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/shivlite/__init__.py
4
+ src/shivlite.egg-info/PKG-INFO
5
+ src/shivlite.egg-info/SOURCES.txt
6
+ src/shivlite.egg-info/dependency_links.txt
7
+ src/shivlite.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ shivlite