gptdiff 0.1.9__tar.gz → 0.1.10__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gptdiff
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: A tool to generate and apply git diffs using LLMs
5
5
  Author: 255labs
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -27,21 +27,54 @@ Dynamic: summary
27
27
 
28
28
  # GPTDiff
29
29
 
30
- 🚀 **AI-Powered Code Evolution** - Transform your codebase with natural language instructions
30
+ 🚀 **Create and apply diffs with AI** - Modify projects with natural language
31
+
32
+ More docs at [gptdiff.255labs.xyz](gptdiff.255labs.xyz)
33
+
34
+ ### Example Usage of `gptdiff`
35
+
36
+ #### Apply a Patch Directly
37
+ ```
38
+ bash
39
+ gptdiff "Add button animations on press" --apply
40
+ ```
41
+ ✅ Successfully applied patch
42
+
43
+ #### Generate a Patch File
44
+ ```
45
+ bash
46
+ gptdiff "Add API documentation" --call
47
+ ```
48
+ 🔧 Patch written to `diff.patch`
49
+
50
+ #### Generate a Prompt File Without Calling LLM
51
+ ```
52
+ bash
53
+ gptdiff "Improve error messages"
54
+ ```
55
+ 📄 LLM not called, written to `prompt.txt`
56
+
57
+ ---
58
+
59
+ ### Basic Usage
31
60
 
32
61
  ```bash
33
62
  cd myproject
34
63
  gptdiff 'add hover effects to the buttons'
35
64
  ```
36
65
 
37
- Generates a prompt.txt file that you can copy and paste into a large context gpt to have a conversation with suggested changes. You can also invoke the API and try to directly apply the patch using a smartapply if the git apply fails.
66
+ Generates a prompt.txt file that you can copy and paste into an LLM
38
67
 
39
- ## Value Proposition
68
+ ### Simple command line agent loops
40
69
 
41
70
  ```bash
42
- gptdiff "Update the readme with an api section" --apply
71
+ while
72
+ do
73
+ gptdiff "Add missing test cases" --apply
74
+ done
43
75
  ```
44
- <span style="color: #00ff00;">Patch applied successfully.</span>
76
+
77
+ *Requires reasoning model*
45
78
 
46
79
  ### Why GPTDiff?
47
80
 
@@ -1,20 +1,53 @@
1
1
  # GPTDiff
2
2
 
3
- 🚀 **AI-Powered Code Evolution** - Transform your codebase with natural language instructions
3
+ 🚀 **Create and apply diffs with AI** - Modify projects with natural language
4
+
5
+ More docs at [gptdiff.255labs.xyz](gptdiff.255labs.xyz)
6
+
7
+ ### Example Usage of `gptdiff`
8
+
9
+ #### Apply a Patch Directly
10
+ ```
11
+ bash
12
+ gptdiff "Add button animations on press" --apply
13
+ ```
14
+ ✅ Successfully applied patch
15
+
16
+ #### Generate a Patch File
17
+ ```
18
+ bash
19
+ gptdiff "Add API documentation" --call
20
+ ```
21
+ 🔧 Patch written to `diff.patch`
22
+
23
+ #### Generate a Prompt File Without Calling LLM
24
+ ```
25
+ bash
26
+ gptdiff "Improve error messages"
27
+ ```
28
+ 📄 LLM not called, written to `prompt.txt`
29
+
30
+ ---
31
+
32
+ ### Basic Usage
4
33
 
5
34
  ```bash
6
35
  cd myproject
7
36
  gptdiff 'add hover effects to the buttons'
8
37
  ```
9
38
 
10
- Generates a prompt.txt file that you can copy and paste into a large context gpt to have a conversation with suggested changes. You can also invoke the API and try to directly apply the patch using a smartapply if the git apply fails.
39
+ Generates a prompt.txt file that you can copy and paste into an LLM
11
40
 
12
- ## Value Proposition
41
+ ### Simple command line agent loops
13
42
 
14
43
  ```bash
15
- gptdiff "Update the readme with an api section" --apply
44
+ while
45
+ do
46
+ gptdiff "Add missing test cases" --apply
47
+ done
16
48
  ```
17
- <span style="color: #00ff00;">Patch applied successfully.</span>
49
+
50
+ *Requires reasoning model*
18
51
 
19
52
  ### Why GPTDiff?
20
53
 
@@ -44,6 +44,9 @@ a/file.py b/file.py
44
44
  @@ -1,2 +1,2 @@
45
45
  -def old():
46
46
  +def new():
47
+
48
+ -
49
+ You must include the '--- file' and/or '+++ file' part of the diff. File modifications should include both.
47
50
  """
48
51
  )
49
52
  return toolbox
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gptdiff
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: A tool to generate and apply git diffs using LLMs
5
5
  Author: 255labs
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -27,21 +27,54 @@ Dynamic: summary
27
27
 
28
28
  # GPTDiff
29
29
 
30
- 🚀 **AI-Powered Code Evolution** - Transform your codebase with natural language instructions
30
+ 🚀 **Create and apply diffs with AI** - Modify projects with natural language
31
+
32
+ More docs at [gptdiff.255labs.xyz](gptdiff.255labs.xyz)
33
+
34
+ ### Example Usage of `gptdiff`
35
+
36
+ #### Apply a Patch Directly
37
+ ```
38
+ bash
39
+ gptdiff "Add button animations on press" --apply
40
+ ```
41
+ ✅ Successfully applied patch
42
+
43
+ #### Generate a Patch File
44
+ ```
45
+ bash
46
+ gptdiff "Add API documentation" --call
47
+ ```
48
+ 🔧 Patch written to `diff.patch`
49
+
50
+ #### Generate a Prompt File Without Calling LLM
51
+ ```
52
+ bash
53
+ gptdiff "Improve error messages"
54
+ ```
55
+ 📄 LLM not called, written to `prompt.txt`
56
+
57
+ ---
58
+
59
+ ### Basic Usage
31
60
 
32
61
  ```bash
33
62
  cd myproject
34
63
  gptdiff 'add hover effects to the buttons'
35
64
  ```
36
65
 
37
- Generates a prompt.txt file that you can copy and paste into a large context gpt to have a conversation with suggested changes. You can also invoke the API and try to directly apply the patch using a smartapply if the git apply fails.
66
+ Generates a prompt.txt file that you can copy and paste into an LLM
38
67
 
39
- ## Value Proposition
68
+ ### Simple command line agent loops
40
69
 
41
70
  ```bash
42
- gptdiff "Update the readme with an api section" --apply
71
+ while
72
+ do
73
+ gptdiff "Add missing test cases" --apply
74
+ done
43
75
  ```
44
- <span style="color: #00ff00;">Patch applied successfully.</span>
76
+
77
+ *Requires reasoning model*
45
78
 
46
79
  ### Why GPTDiff?
47
80
 
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='gptdiff',
5
- version='0.1.9',
5
+ version='0.1.10',
6
6
  description='A tool to generate and apply git diffs using LLMs',
7
7
  author='255labs',
8
8
  packages=find_packages(), # Use find_packages() to automatically discover packages
File without changes
File without changes
File without changes