pilot.linkstec 0.0.99__py3-none-any.whl → 0.0.100__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.
@@ -0,0 +1,17 @@
1
+ import textwrap
2
+
3
+
4
+ class create_file():
5
+ # 静的な文字列(詳細プロンプト)
6
+
7
+ detail_prompt: str = textwrap.dedent("""\
8
+
9
+ work_space=C:/workspace/lsc_sci/plsql_detail
10
+
11
+ sub_project_name=common
12
+ sub_source_folder=clearner
13
+ sub_sub_source_folder_1=cobol
14
+
15
+
16
+ ```
17
+ """).strip()
@@ -0,0 +1,18 @@
1
+ import textwrap
2
+
3
+
4
+ class create_file():
5
+ # 静的な文字列(詳細プロンプト)
6
+
7
+ detail_prompt: str = textwrap.dedent("""\
8
+
9
+ work_space={{WORK_SPACE}}
10
+
11
+ project={{PROJECT_NAME}}
12
+ steps={{STEP_NAME}}
13
+ runsteps={{STEP_NAME}}
14
+ multisteps=
15
+ threads=1
16
+
17
+ ```
18
+ """).strip()
@@ -0,0 +1,25 @@
1
+ from pathlib import Path
2
+
3
+ from pilot.job.impl.base_job import BaseJob
4
+
5
+ class DelimiterSwitcherJob(BaseJob):
6
+
7
+ def __init__(self, *args, **kwargs):
8
+ super().__init__(*args, **kwargs)
9
+ self.from_sep = ''
10
+ self.to_sep = ''
11
+ self.desc_file_path = None
12
+ self.src_file_path = None
13
+
14
+ def run(self):
15
+ replaced_text = []
16
+ if self.src_file_path is None:
17
+ self.src_file_path = Path(self.file_path)
18
+ with open(self.src_file_path, 'r', encoding='utf-8', newline='') as rf:
19
+ for line in rf:
20
+ replaced_text.append(line.replace(self.from_sep, self.to_sep))
21
+ if self.desc_file_path is None:
22
+ self.desc_file_path = Path(self.file_path)
23
+ with open(self.desc_file_path, 'w', encoding='utf-8', newline='') as wf:
24
+ wf.writelines(replaced_text)
25
+ super().run()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilot.linkstec
3
- Version: 0.0.99
3
+ Version: 0.0.100
4
4
  Summary: pilot of the ship, a tool for managing and deploying Python projects.
5
5
  Author-email: wanglr <wanglr1980@gmail.com>
6
6
  License-Expression: MIT
@@ -24,10 +24,12 @@ pilot/conver/nkf_converter.py,sha256=JqgThmXcdnTGMsLIHUEwe8sc0VGMqDaKCIQTg-UE3WE
24
24
  pilot/create_python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  pilot/create_python/create_python.py,sha256=VQwL1KKw06ocVi-uRCL_l2rDiSaEr80R1LCt2u4ilOo,8795
26
26
  pilot/create_python/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ pilot/create_python/config/create_file.py,sha256=wyuM7x2FbAcBk78iU9sv1MKIWudn0bRnSTyAqF-3U6A,310
27
28
  pilot/create_python/sample/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
29
  pilot/create_python/sample/child_sample/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
30
  pilot/create_python/sample/child_sample/job/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
31
  pilot/create_python/sample/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ pilot/create_python/sample/config/properties.py,sha256=MgTI9ekuP5dE-bPhYhbZywb0AmgQxkCr2zmMKFUFJic,296
31
33
  pilot/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
34
  pilot/db/create_table.py,sha256=Cz76da2nJe1y-_ASVMusKMcUgSgVCKHag5kglPSANEk,1004
33
35
  pilot/db/db_connect.py,sha256=cq7RsCptV2CQcLw9i4HqRe8DmnZbnMnwTXIQYXS8y_s,1742
@@ -47,6 +49,7 @@ pilot/job/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
49
  pilot/job/job_interface.py,sha256=EKtuj0IcdolP494aAgTtctgamyQIoFXVwRORwOQck7A,124
48
50
  pilot/job/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
51
  pilot/job/base/convert/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ pilot/job/base/convert/delimiterSwitcherJob.py,sha256=m5Y92XVbCjVWGBKzYJYX8wgLMnAKf_RyQNUOEXuVOwE,902
50
53
  pilot/job/base/convert/encodingTransformerJob.py,sha256=P6txCqAcQ4w999ttA_gmA4VKr6klvTz4SrQIYT1gv6U,279
51
54
  pilot/job/base/convert/tabReplaceJob.py,sha256=FtPLbWwDPgH1jGsK3y5_sY4lAZ4Lhsv7GQ-1A-QgAFE,743
52
55
  pilot/job/base/generate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -73,8 +76,8 @@ pilot/unit/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
76
  pilot/unit/impl/base_unit.py,sha256=UV-RsCrSAknO6a2yZAQA0vD8Uo9yqJsNCXC5e8yZE6A,1348
74
77
  pilot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
78
  pilot/util/files.py,sha256=v9uzfzo3Aq4xgnUIASEZeBJoA2nD9Qz_EA3P-FwzGFQ,1896
76
- pilot_linkstec-0.0.99.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
77
- pilot_linkstec-0.0.99.dist-info/METADATA,sha256=cY0JNFeuhnw4qlmv3tuppqeOwymBhjIWhtGLddBjOXw,679
78
- pilot_linkstec-0.0.99.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
- pilot_linkstec-0.0.99.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
80
- pilot_linkstec-0.0.99.dist-info/RECORD,,
79
+ pilot_linkstec-0.0.100.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
80
+ pilot_linkstec-0.0.100.dist-info/METADATA,sha256=nKlHiMZkbk9HpQmhYju4bxX0J8YA2a02pGvdkq7AQcc,680
81
+ pilot_linkstec-0.0.100.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
82
+ pilot_linkstec-0.0.100.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
83
+ pilot_linkstec-0.0.100.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5