pilot.linkstec 0.0.15__tar.gz → 0.0.17__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.

Potentially problematic release.


This version of pilot.linkstec might be problematic. Click here for more details.

Files changed (38) hide show
  1. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/PKG-INFO +1 -1
  2. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/pyproject.toml +1 -1
  3. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/job/impl/base_job.py +3 -1
  4. pilot_linkstec-0.0.17/src/pilot/processor/code_processor.py +8 -0
  5. pilot_linkstec-0.0.17/src/pilot/processor/code_processor_pipeline.py +14 -0
  6. pilot_linkstec-0.0.17/src/pilot/util/__init__.py +0 -0
  7. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot.linkstec.egg-info/PKG-INFO +1 -1
  8. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot.linkstec.egg-info/SOURCES.txt +3 -0
  9. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/LICENSE +0 -0
  10. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/README.md +0 -0
  11. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/setup.cfg +0 -0
  12. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/__init__.py +0 -0
  13. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/config/__init__.py +0 -0
  14. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/config/config_reader.py +0 -0
  15. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/control/__init__.py +0 -0
  16. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/control/control_interface.py +0 -0
  17. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/control/impl/__init__.py +0 -0
  18. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/control/impl/base_controller.py +0 -0
  19. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/conver/__init__.py +0 -0
  20. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/conver/converfileEncodding.py +0 -0
  21. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/conver/nkf_converter.py +0 -0
  22. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/generater/__init__.py +0 -0
  23. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/generater/vertexai.py +0 -0
  24. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/job/__init__.py +0 -0
  25. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/job/impl/__init__.py +0 -0
  26. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/job/job_interface.py +0 -0
  27. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/logging/__init__.py +0 -0
  28. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/logging/logger.py +0 -0
  29. {pilot_linkstec-0.0.15/src/pilot/splitters → pilot_linkstec-0.0.17/src/pilot/processor}/__init__.py +0 -0
  30. {pilot_linkstec-0.0.15/src/pilot/unit → pilot_linkstec-0.0.17/src/pilot/splitters}/__init__.py +0 -0
  31. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/splitters/cobolsplitter.py +0 -0
  32. {pilot_linkstec-0.0.15/src/pilot/unit/impl → pilot_linkstec-0.0.17/src/pilot/unit}/__init__.py +0 -0
  33. {pilot_linkstec-0.0.15/src/pilot/util → pilot_linkstec-0.0.17/src/pilot/unit/impl}/__init__.py +0 -0
  34. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/unit/impl/base_unit.py +0 -0
  35. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/unit/unit_interface.py +0 -0
  36. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot/util/files.py +0 -0
  37. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot.linkstec.egg-info/dependency_links.txt +0 -0
  38. {pilot_linkstec-0.0.15 → pilot_linkstec-0.0.17}/src/pilot.linkstec.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilot.linkstec
3
- Version: 0.0.15
3
+ Version: 0.0.17
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pilot.linkstec"
3
- version = "0.0.15"
3
+ version = "0.0.17"
4
4
  authors = [
5
5
  { name="wanglr", email="wanglr1980@gmail.com" },
6
6
  ]
@@ -2,11 +2,12 @@ import os
2
2
  import shutil
3
3
 
4
4
  from pilot.job.job_interface import JobInterface
5
- from pilot.config.config_reader import ConfigReader
5
+ from pilot.logging.logger import get_logger
6
6
 
7
7
 
8
8
  class BaseJob(JobInterface):
9
9
  def __init__(self):
10
+ self.logger = get_logger(__name__)
10
11
  self.config_dto = None
11
12
  self._current_step = None
12
13
  self._file_path = None
@@ -15,6 +16,7 @@ class BaseJob(JobInterface):
15
16
  self._next_step_file_path = None
16
17
  self._content = None
17
18
 
19
+
18
20
  @property
19
21
  def current_step(self):
20
22
  return self._current_step
@@ -0,0 +1,8 @@
1
+ from abc import ABC, abstractmethod
2
+ from typing import List
3
+
4
+
5
+ class CodeProcessor(ABC):
6
+ @abstractmethod
7
+ def process(self, lines: List[str]) -> List[str]:
8
+ pass
@@ -0,0 +1,14 @@
1
+ from typing import List
2
+
3
+ from pilot.processor.code_processor import CodeProcessor
4
+
5
+
6
+ class CodeProcessorPipeline:
7
+ def __init__(self, processors: List[CodeProcessor]):
8
+ self.processors = processors
9
+
10
+ def run(self, lines: List[str]) -> List[str]:
11
+ result = lines
12
+ for processor in self.processors:
13
+ result = processor.process(result)
14
+ return result
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilot.linkstec
3
- Version: 0.0.15
3
+ Version: 0.0.17
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
@@ -23,6 +23,9 @@ src/pilot/job/impl/__init__.py
23
23
  src/pilot/job/impl/base_job.py
24
24
  src/pilot/logging/__init__.py
25
25
  src/pilot/logging/logger.py
26
+ src/pilot/processor/__init__.py
27
+ src/pilot/processor/code_processor.py
28
+ src/pilot/processor/code_processor_pipeline.py
26
29
  src/pilot/splitters/__init__.py
27
30
  src/pilot/splitters/cobolsplitter.py
28
31
  src/pilot/unit/__init__.py
File without changes