diffctx 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.
diffctx/__init__.py ADDED
@@ -0,0 +1,16 @@
1
+ from treemapper import (
2
+ build_diff_context,
3
+ to_json,
4
+ to_markdown,
5
+ to_text,
6
+ to_yaml,
7
+ )
8
+
9
+ __all__ = [
10
+ "build_diff_context",
11
+ "to_json",
12
+ "to_markdown",
13
+ "to_text",
14
+ "to_yaml",
15
+ ]
16
+ __version__ = "0.1.0"
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: diffctx
3
+ Version: 0.1.0
4
+ Summary: Redirect alias for the treemapper package — smart git diff context for LLMs.
5
+ Author-email: Nikolay Eremeev <nikolay.eremeev@outlook.com>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/nikolay-e/diffctx
8
+ Project-URL: Repository, https://github.com/nikolay-e/diffctx
9
+ Project-URL: Issues, https://github.com/nikolay-e/diffctx/issues
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3 :: Only
14
+ Classifier: Topic :: Software Development
15
+ Requires-Python: >=3.10
16
+ Description-Content-Type: text/markdown
17
+ Requires-Dist: treemapper>=1.6.1
18
+
19
+ # diffctx
20
+
21
+ Alias namespace for the **[`treemapper`](https://pypi.org/project/treemapper/)**
22
+ package. `pip install diffctx` installs `treemapper>=1.7` and re-exports
23
+ its diff-context API so that `import diffctx` works.
24
+
25
+ Both names point to the same project:
26
+ <https://github.com/nikolay-e/diffctx>.
27
+
28
+ ```python
29
+ import diffctx
30
+ ctx = diffctx.build_diff_context(".", "HEAD~1..HEAD")
31
+ print(diffctx.to_yaml(ctx))
32
+ ```
33
+
34
+ The canonical CLI is `treemapper` (installed via the dependency).
@@ -0,0 +1,5 @@
1
+ diffctx/__init__.py,sha256=nWZi5V-OiEz7Zs_39wDKWcXwgVbCsGoAO7zQXHHN2do,234
2
+ diffctx-0.1.0.dist-info/METADATA,sha256=RWPRZqpOfx-eeDmoBgray8Vr96Y7cYX5-lgO7cCS0_4,1236
3
+ diffctx-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
4
+ diffctx-0.1.0.dist-info/top_level.txt,sha256=5J_gyWiRJK8G-MQigoi2vnH2eikwzcw8bxIqskl9bY0,8
5
+ diffctx-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ diffctx