dmddl 0.2.24__tar.gz → 0.2.25__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.24 → dmddl-0.2.25}/PKG-INFO +18 -10
- {dmddl-0.2.24 → dmddl-0.2.25}/README.md +17 -9
- {dmddl-0.2.24 → dmddl-0.2.25}/pyproject.toml +1 -1
- dmddl-0.2.25/src/dmddl/docs/configuring.gif +0 -0
- dmddl-0.2.25/src/dmddl/docs/dmddl logo_4.png +0 -0
- dmddl-0.2.25/src/dmddl/docs/error.png +0 -0
- dmddl-0.2.25/src/dmddl/docs/pip_install.png +0 -0
- dmddl-0.2.25/src/dmddl/docs/proxy.gif +0 -0
- dmddl-0.2.25/src/dmddl/docs/simple_source.gif +0 -0
- dmddl-0.2.24/src/dmddl/.ruff_cache/.gitignore +0 -2
- dmddl-0.2.24/src/dmddl/.ruff_cache/0.11.9/1354378795363258161 +0 -0
- dmddl-0.2.24/src/dmddl/.ruff_cache/CACHEDIR.TAG +0 -1
- dmddl-0.2.24/src/dmddl/config/.env +0 -2
- dmddl-0.2.24/src/dmddl/input.txt +0 -1
- dmddl-0.2.24/src/dmddl/output.txt +0 -37
- dmddl-0.2.24/src/dmddl/requirements.txt +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/LICENSE +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/src/dmddl/__init__.py +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/src/dmddl/cli.py +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/src/dmddl/config/__init__.py +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/src/dmddl/config/proxy.py +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/src/dmddl/config/settings.py +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/src/dmddl/models/__init__.py +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/src/dmddl/models/llm.py +0 -0
- {dmddl-0.2.24 → dmddl-0.2.25}/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.25
|
4
4
|
Summary: cli tool for creating insert script from ddl script
|
5
5
|
License: MIT
|
6
6
|
Author: HoJLter
|
@@ -26,7 +26,7 @@ Description-Content-Type: text/markdown
|
|
26
26
|
<img src="https://img.shields.io/badge/License-MIT-yellow.svg">
|
27
27
|
</a>
|
28
28
|
</div>
|
29
|
-
<img src="
|
29
|
+
<img src="src/dmddl/docs/dmddl%20logo_4.png" align="center">
|
30
30
|
|
31
31
|
<h3 align="center">
|
32
32
|
CLI tool that generates insertion script from DDL
|
@@ -39,35 +39,43 @@ Description-Content-Type: text/markdown
|
|
39
39
|
|
40
40
|
To install DMDDL you may use pip:
|
41
41
|
|
42
|
-
<img src="
|
42
|
+
<img src="src/dmddl/docs/pip_install.png" align="center">
|
43
43
|
|
44
44
|
|
45
45
|
<h2>
|
46
46
|
💡 How to use it?
|
47
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
48
|
|
52
|
-
|
49
|
+
Firstly, you need to configure DMDDL using -c argument
|
50
|
+
(you can get api key from [OpenAI](https://platform.openai.com/api-keys)):
|
51
|
+
|
53
52
|
|
54
|
-
|
53
|
+
|
54
|
+
<img src="src/dmddl/docs/configuring.gif" align="center">
|
55
55
|
|
56
56
|
Now you can use the app. Provide -s argument to specify input file:
|
57
57
|
|
58
|
+
<img src="src/dmddl/docs/simple_source.gif" align="center">
|
59
|
+
|
58
60
|
|
59
61
|
<h2>
|
60
62
|
🐉 For China/Russia 🪆
|
61
63
|
</h2>
|
62
64
|
|
65
|
+
|
63
66
|
OpenAI API blocked in this countries, but you can use -ps arguments. <br>
|
64
67
|
DMDDL will find proxy for you to make request
|
65
68
|
|
69
|
+
<img src="src/dmddl/docs/proxy.gif" align = "center">
|
70
|
+
|
71
|
+
|
66
72
|
<h2>
|
67
73
|
🤝 Contributing
|
68
74
|
</h2>
|
69
75
|
|
70
|
-
|
71
|
-
|
76
|
+
Contributions are welcome! <br>
|
77
|
+
If you have ideas for improving this project, please post them in issues.
|
78
|
+
<br>
|
79
|
+
(if i don't answer, you can email me)
|
72
80
|
|
73
81
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<img src="https://img.shields.io/badge/License-MIT-yellow.svg">
|
8
8
|
</a>
|
9
9
|
</div>
|
10
|
-
<img src="
|
10
|
+
<img src="src/dmddl/docs/dmddl%20logo_4.png" align="center">
|
11
11
|
|
12
12
|
<h3 align="center">
|
13
13
|
CLI tool that generates insertion script from DDL
|
@@ -20,34 +20,42 @@
|
|
20
20
|
|
21
21
|
To install DMDDL you may use pip:
|
22
22
|
|
23
|
-
<img src="
|
23
|
+
<img src="src/dmddl/docs/pip_install.png" align="center">
|
24
24
|
|
25
25
|
|
26
26
|
<h2>
|
27
27
|
💡 How to use it?
|
28
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
29
|
|
33
|
-
|
30
|
+
Firstly, you need to configure DMDDL using -c argument
|
31
|
+
(you can get api key from [OpenAI](https://platform.openai.com/api-keys)):
|
32
|
+
|
34
33
|
|
35
|
-
|
34
|
+
|
35
|
+
<img src="src/dmddl/docs/configuring.gif" align="center">
|
36
36
|
|
37
37
|
Now you can use the app. Provide -s argument to specify input file:
|
38
38
|
|
39
|
+
<img src="src/dmddl/docs/simple_source.gif" align="center">
|
40
|
+
|
39
41
|
|
40
42
|
<h2>
|
41
43
|
🐉 For China/Russia 🪆
|
42
44
|
</h2>
|
43
45
|
|
46
|
+
|
44
47
|
OpenAI API blocked in this countries, but you can use -ps arguments. <br>
|
45
48
|
DMDDL will find proxy for you to make request
|
46
49
|
|
50
|
+
<img src="src/dmddl/docs/proxy.gif" align = "center">
|
51
|
+
|
52
|
+
|
47
53
|
<h2>
|
48
54
|
🤝 Contributing
|
49
55
|
</h2>
|
50
56
|
|
51
|
-
|
52
|
-
|
57
|
+
Contributions are welcome! <br>
|
58
|
+
If you have ideas for improving this project, please post them in issues.
|
59
|
+
<br>
|
60
|
+
(if i don't answer, you can email me)
|
53
61
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
Signature: 8a477f597d28d172789f06886806bc55
|
dmddl-0.2.24/src/dmddl/input.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
test
|
@@ -1,37 +0,0 @@
|
|
1
|
-
-- TABLE: users (15 records)
|
2
|
-
INSERT INTO users (user_id, username, email) VALUES
|
3
|
-
(1, 'alice_johnson', 'alice.johnson@example.com'),
|
4
|
-
(2, 'bob_smith', 'bob.smith@example.com'),
|
5
|
-
(3, 'charlie_brown', 'charlie.brown@example.com'),
|
6
|
-
(4, 'diane_green', 'diane.green@example.com'),
|
7
|
-
(5, 'edward_white', 'edward.white@example.com'),
|
8
|
-
(6, 'frank_black', 'frank.black@example.com'),
|
9
|
-
(7, 'grace_kelly', 'grace.kelly@example.com'),
|
10
|
-
(8, 'henry_ford', 'henry.ford@example.com'),
|
11
|
-
(9, 'iris_davis', 'iris.davis@example.com'),
|
12
|
-
(10, 'jack_martin', 'jack.martin@example.com'),
|
13
|
-
(11, 'karen_williams', 'karen.williams@example.com'),
|
14
|
-
(12, 'louis_james', 'louis.james@example.com'),
|
15
|
-
(13, 'maria_anderson', 'maria.anderson@example.com'),
|
16
|
-
(14, 'nancy_thomas', 'nancy.thomas@example.com'),
|
17
|
-
(15, 'oscar_harrison', 'oscar.harrison@example.com');
|
18
|
-
|
19
|
-
-- TABLE: orders (15 records)
|
20
|
-
INSERT INTO orders (order_id, user_id, order_date) VALUES
|
21
|
-
(1, 1, '2023-03-01'),
|
22
|
-
(2, 2, '2023-03-02'),
|
23
|
-
(3, 3, '2023-03-03'),
|
24
|
-
(4, 4, '2023-03-04'),
|
25
|
-
(5, 5, '2023-03-05'),
|
26
|
-
(6, 6, '2023-03-06'),
|
27
|
-
(7, 7, '2023-03-07'),
|
28
|
-
(8, 8, '2023-03-08'),
|
29
|
-
(9, 9, '2023-03-09'),
|
30
|
-
(10, 10, '2023-03-10'),
|
31
|
-
(11, 11, '2023-03-11'),
|
32
|
-
(12, 12, '2023-03-12'),
|
33
|
-
(13, 13, '2023-03-13'),
|
34
|
-
(14, 14, '2023-03-14'),
|
35
|
-
(15, 15, '2023-03-15');
|
36
|
-
|
37
|
-
-- WARNING: Ensure user_id in orders exists in users.
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|