dmddl 0.2.19__tar.gz → 0.2.20__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.
- {dmddl-0.2.19 → dmddl-0.2.20}/PKG-INFO +20 -3
- {dmddl-0.2.19 → dmddl-0.2.20}/README.md +19 -2
- {dmddl-0.2.19 → dmddl-0.2.20}/pyproject.toml +1 -1
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/cli.py +1 -1
- {dmddl-0.2.19 → dmddl-0.2.20}/LICENSE +0 -0
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/__init__.py +0 -0
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/config/__init__.py +0 -0
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/config/proxy.py +0 -0
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/config/settings.py +0 -0
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/models/__init__.py +0 -0
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/models/llm.py +0 -0
- {dmddl-0.2.19 → dmddl-0.2.20}/src/dmddl/models/prompt.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: dmddl
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.20
|
4
4
|
Summary: cli tool for creating insert script from ddl script
|
5
5
|
License: MIT
|
6
6
|
Author: HoJLter
|
@@ -41,16 +41,33 @@ To install DMDDL you may use pip:
|
|
41
41
|
|
42
42
|
<img src=".github/pip_install.png" align="center">
|
43
43
|
|
44
|
+
|
44
45
|
<h2>
|
45
|
-
How to use it?
|
46
|
+
💡 How to use it?
|
46
47
|
</h2>
|
48
|
+
Firstly, you need to configure DMDDL using -c argument:
|
49
|
+
<br>
|
50
|
+
(you can get api key from [OpenAI](https://platform.openai.com/api-keys))
|
51
|
+
|
52
|
+
<br>
|
53
|
+
|
54
|
+
<img src="configuring.gif" align="center">
|
55
|
+
|
56
|
+
Now you can use the app. Provide -s argument to specify input file:
|
47
57
|
|
48
58
|
|
59
|
+
<h2>
|
60
|
+
🐉 For China/Russia 🪆
|
61
|
+
</h2>
|
62
|
+
|
63
|
+
OpenAI API blocked in this countries, but you can use -ps arguments. <br>
|
64
|
+
DMDDL will find proxy for you to make request
|
49
65
|
|
50
66
|
<h2>
|
51
67
|
🤝 Contributing
|
52
68
|
</h2>
|
53
69
|
|
54
70
|
If you would like to contribute to this project, welcome to issues.
|
55
|
-
(if i don't answer, you can email me)
|
71
|
+
<br>(if i don't answer, you can email me)
|
72
|
+
|
56
73
|
|
@@ -22,15 +22,32 @@ To install DMDDL you may use pip:
|
|
22
22
|
|
23
23
|
<img src=".github/pip_install.png" align="center">
|
24
24
|
|
25
|
+
|
25
26
|
<h2>
|
26
|
-
How to use it?
|
27
|
+
💡 How to use it?
|
27
28
|
</h2>
|
29
|
+
Firstly, you need to configure DMDDL using -c argument:
|
30
|
+
<br>
|
31
|
+
(you can get api key from [OpenAI](https://platform.openai.com/api-keys))
|
32
|
+
|
33
|
+
<br>
|
34
|
+
|
35
|
+
<img src="configuring.gif" align="center">
|
36
|
+
|
37
|
+
Now you can use the app. Provide -s argument to specify input file:
|
28
38
|
|
29
39
|
|
40
|
+
<h2>
|
41
|
+
🐉 For China/Russia 🪆
|
42
|
+
</h2>
|
43
|
+
|
44
|
+
OpenAI API blocked in this countries, but you can use -ps arguments. <br>
|
45
|
+
DMDDL will find proxy for you to make request
|
30
46
|
|
31
47
|
<h2>
|
32
48
|
🤝 Contributing
|
33
49
|
</h2>
|
34
50
|
|
35
51
|
If you would like to contribute to this project, welcome to issues.
|
36
|
-
(if i don't answer, you can email me)
|
52
|
+
<br>(if i don't answer, you can email me)
|
53
|
+
|
@@ -135,7 +135,7 @@ def main():
|
|
135
135
|
for proxy in proxies:
|
136
136
|
print(f"[yellow bold]- {proxy}")
|
137
137
|
else:
|
138
|
-
|
138
|
+
raise Exception("Proxy does not found :( \n Try again later. (it really helps)")
|
139
139
|
|
140
140
|
|
141
141
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|