dmddl 0.2.24__py3-none-any.whl → 0.2.25__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.
- dmddl/docs/configuring.gif +0 -0
- dmddl/docs/dmddl logo_4.png +0 -0
- dmddl/docs/error.png +0 -0
- dmddl/docs/pip_install.png +0 -0
- dmddl/docs/proxy.gif +0 -0
- dmddl/docs/simple_source.gif +0 -0
- {dmddl-0.2.24.dist-info → dmddl-0.2.25.dist-info}/METADATA +18 -10
- dmddl-0.2.25.dist-info/RECORD +19 -0
- dmddl/.ruff_cache/.gitignore +0 -2
- dmddl/.ruff_cache/0.11.9/1354378795363258161 +0 -0
- dmddl/.ruff_cache/CACHEDIR.TAG +0 -1
- dmddl/config/.env +0 -2
- dmddl/input.txt +0 -1
- dmddl/output.txt +0 -37
- dmddl/requirements.txt +0 -0
- dmddl-0.2.24.dist-info/RECORD +0 -20
- {dmddl-0.2.24.dist-info → dmddl-0.2.25.dist-info}/LICENSE +0 -0
- {dmddl-0.2.24.dist-info → dmddl-0.2.25.dist-info}/WHEEL +0 -0
- {dmddl-0.2.24.dist-info → dmddl-0.2.25.dist-info}/entry_points.txt +0 -0
Binary file
|
Binary file
|
dmddl/docs/error.png
ADDED
Binary file
|
Binary file
|
dmddl/docs/proxy.gif
ADDED
Binary file
|
Binary file
|
@@ -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
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
dmddl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
dmddl/cli.py,sha256=Yfc8D5SuoPNeg4Emat6vpURAL6Fgpo45OOX2WBVgu30,4334
|
3
|
+
dmddl/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
dmddl/config/proxy.py,sha256=-6DfuggcXwDjtx8jbOMHy370AvM_t3kYc67q68CCqRM,1763
|
5
|
+
dmddl/config/settings.py,sha256=2xRMW9sjc3aro2QUGLMhKQGdAuCMkc5n6G23iXrkyMo,1261
|
6
|
+
dmddl/docs/configuring.gif,sha256=4vJw4boHhpwU1BIzSwt5HnMU23soS7-OVaPdJ1KWFf8,1119296
|
7
|
+
dmddl/docs/dmddl logo_4.png,sha256=a4Of9UTek-INhdBu6OQcs062cPiZORUZexGE_QMFh7Y,5802
|
8
|
+
dmddl/docs/error.png,sha256=EEizK2BMb4hhGNNjZmqrKgMflY6i9OmIzzbFWbKMyfc,7093
|
9
|
+
dmddl/docs/pip_install.png,sha256=tWU4iXsjrtwFTsJZV4T0XZvyxtGbBQg2nZx3OMC7xa4,2310
|
10
|
+
dmddl/docs/proxy.gif,sha256=DDt9dFSsQ2Lc_6oPzC1N6oT39kc9GpuiPnq0HVrI6pQ,1841301
|
11
|
+
dmddl/docs/simple_source.gif,sha256=Jl5TE2x9FOWR2zkKCKiwtR1Fa2Y9TGKq8rE0ysiBtN0,987934
|
12
|
+
dmddl/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
+
dmddl/models/llm.py,sha256=icEQKHstgbRLRU6rEmg6syMjkGkGATjXxUBh-L1SjVE,1628
|
14
|
+
dmddl/models/prompt.py,sha256=7cjWC-mQJR32jc0a0GsyoYDZWROB57Yk4Wy4nRsiFoM,1923
|
15
|
+
dmddl-0.2.25.dist-info/entry_points.txt,sha256=87tyUAFcB9RYRLhYyxroZxcTho-o3IGXnMM4uMGKdV4,40
|
16
|
+
dmddl-0.2.25.dist-info/LICENSE,sha256=C--Tlk2EXyLEz1DSTQFKOo-WblCPTsxPcd8t63NCauw,1090
|
17
|
+
dmddl-0.2.25.dist-info/METADATA,sha256=7TxbpMPq4RpvpUgZkK8zRjlWSGJ2BrQgmFZBk1Q8X8k,1956
|
18
|
+
dmddl-0.2.25.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
19
|
+
dmddl-0.2.25.dist-info/RECORD,,
|
dmddl/.ruff_cache/.gitignore
DELETED
Binary file
|
dmddl/.ruff_cache/CACHEDIR.TAG
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Signature: 8a477f597d28d172789f06886806bc55
|
dmddl/config/.env
DELETED
dmddl/input.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
test
|
dmddl/output.txt
DELETED
@@ -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.
|
dmddl/requirements.txt
DELETED
Binary file
|
dmddl-0.2.24.dist-info/RECORD
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
dmddl/.ruff_cache/.gitignore,sha256=njpg8ebsSuYCFcEdVLFxOSdF7CXp3e1DPVvZITY68xY,35
|
2
|
-
dmddl/.ruff_cache/0.11.9/1354378795363258161,sha256=L3hDS6FRTSJLyZSY-GZ75mpl9wiuFnMN9ESaojdTGoM,465
|
3
|
-
dmddl/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
4
|
-
dmddl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
dmddl/cli.py,sha256=Yfc8D5SuoPNeg4Emat6vpURAL6Fgpo45OOX2WBVgu30,4334
|
6
|
-
dmddl/config/.env,sha256=ViORk1v0SOwLiZUBUOsWZUXgHnsJe67qXq7cklz9Z_4,211
|
7
|
-
dmddl/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
dmddl/config/proxy.py,sha256=-6DfuggcXwDjtx8jbOMHy370AvM_t3kYc67q68CCqRM,1763
|
9
|
-
dmddl/config/settings.py,sha256=2xRMW9sjc3aro2QUGLMhKQGdAuCMkc5n6G23iXrkyMo,1261
|
10
|
-
dmddl/input.txt,sha256=n4bQgYhMfWWaL-qgxVrQFaO_TxsrC4Is0V1sFbDwCgg,4
|
11
|
-
dmddl/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
|
-
dmddl/models/llm.py,sha256=icEQKHstgbRLRU6rEmg6syMjkGkGATjXxUBh-L1SjVE,1628
|
13
|
-
dmddl/models/prompt.py,sha256=7cjWC-mQJR32jc0a0GsyoYDZWROB57Yk4Wy4nRsiFoM,1923
|
14
|
-
dmddl/output.txt,sha256=oVtNzMeEcoJ3UUtsiyugFB9s3mYLt0UyuEs5ppXb-WY,1337
|
15
|
-
dmddl/requirements.txt,sha256=aPA3NBpypHOiXAK9MwfzIDhPIKxtB71s4yCeAXvbs1k,2046
|
16
|
-
dmddl-0.2.24.dist-info/entry_points.txt,sha256=87tyUAFcB9RYRLhYyxroZxcTho-o3IGXnMM4uMGKdV4,40
|
17
|
-
dmddl-0.2.24.dist-info/LICENSE,sha256=C--Tlk2EXyLEz1DSTQFKOo-WblCPTsxPcd8t63NCauw,1090
|
18
|
-
dmddl-0.2.24.dist-info/METADATA,sha256=NcFMrWc8gkQbEWRvnoE1hsnUXwX9tIIbpqlNxT4nxYI,1779
|
19
|
-
dmddl-0.2.24.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
20
|
-
dmddl-0.2.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|