PySimultan 0.6.0.1__py3-none-any.whl → 0.6.0.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- PySimultan2/CHANGELOG.md +3 -0
- PySimultan2/__about__.py +1 -1
- PySimultan2/default_types.py +7 -0
- {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/METADATA +1 -1
- pysimultan-0.6.0.2.dist-info/RECORD +76 -0
- PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +0 -616
- PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +0 -2538
- PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +0 -499
- PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +0 -2219
- PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +0 -682
- PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +0 -1654
- PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +0 -442
- PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +0 -193
- PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +0 -367
- PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +0 -116
- PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +0 -212
- PySimultan2/typings/SIMULTAN/Data/__init__.pyi +0 -232
- PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +0 -916
- PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +0 -15
- PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +0 -268
- PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +0 -32
- PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +0 -116
- PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +0 -433
- PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +0 -435
- PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +0 -103
- PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +0 -122
- PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +0 -1335
- PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +0 -48
- PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +0 -562
- PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +0 -11
- PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +0 -21
- PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +0 -11
- PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +0 -112
- PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +0 -5
- PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +0 -13
- PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +0 -54
- PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +0 -46
- PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +0 -22
- PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +0 -32
- PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +0 -43
- PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +0 -216
- PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +0 -66
- PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +0 -48
- PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +0 -11
- PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +0 -59
- PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +0 -133
- PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +0 -570
- PySimultan2/typings/System/Buffers/Binary/__init__.pyi +0 -248
- PySimultan2/typings/System/Buffers/Text/__init__.pyi +0 -91
- PySimultan2/typings/System/Buffers/__init__.pyi +0 -192
- PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +0 -137
- PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +0 -47
- PySimultan2/typings/System/Collections/Generic/__init__.pyi +0 -1293
- PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +0 -166
- PySimultan2/typings/System/Collections/Specialized/__init__.pyi +0 -82
- PySimultan2/typings/System/Collections/__init__.pyi +0 -403
- PySimultan2/typings/System/ComponentModel/__init__.pyi +0 -582
- PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +0 -30
- PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +0 -315
- PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +0 -297
- PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +0 -9
- PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +0 -641
- PySimultan2/typings/System/Diagnostics/__init__.pyi +0 -1101
- PySimultan2/typings/System/Globalization/__init__.pyi +0 -1675
- PySimultan2/typings/System/IO/Enumeration/__init__.pyi +0 -125
- PySimultan2/typings/System/IO/__init__.pyi +0 -2747
- PySimultan2/typings/System/Linq/Expressions/__init__.pyi +0 -1815
- PySimultan2/typings/System/Net/__init__.pyi +0 -81
- PySimultan2/typings/System/Numerics/__init__.pyi +0 -2853
- PySimultan2/typings/System/Reflection/Emit/__init__.pyi +0 -1945
- PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +0 -24
- PySimultan2/typings/System/Reflection/__init__.pyi +0 -2724
- PySimultan2/typings/System/Resources/__init__.pyi +0 -205
- PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +0 -1926
- PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +0 -49
- PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +0 -34
- PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +0 -758
- PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +0 -461
- PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +0 -48
- PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +0 -2632
- PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +0 -4757
- PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +0 -844
- PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +0 -5642
- PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +0 -4504
- PySimultan2/typings/System/Runtime/Loader/__init__.pyi +0 -63
- PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +0 -7
- PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +0 -269
- PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +0 -200
- PySimultan2/typings/System/Runtime/__init__.pyi +0 -141
- PySimultan2/typings/System/Security/Cryptography/__init__.pyi +0 -39
- PySimultan2/typings/System/Security/Permissions/__init__.pyi +0 -163
- PySimultan2/typings/System/Security/Principal/__init__.pyi +0 -45
- PySimultan2/typings/System/Security/__init__.pyi +0 -347
- PySimultan2/typings/System/Text/Unicode/__init__.pyi +0 -62
- PySimultan2/typings/System/Text/__init__.pyi +0 -1590
- PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +0 -76
- PySimultan2/typings/System/Threading/Tasks/__init__.pyi +0 -1403
- PySimultan2/typings/System/Threading/__init__.pyi +0 -1788
- PySimultan2/typings/System/Xml/Schema/__init__.pyi +0 -1255
- PySimultan2/typings/System/Xml/Serialization/__init__.pyi +0 -16
- PySimultan2/typings/System/Xml/XPath/__init__.pyi +0 -474
- PySimultan2/typings/System/Xml/__init__.pyi +0 -2410
- PySimultan2/typings/System/__init__.pyi +0 -17821
- pysimultan-0.6.0.1.dist-info/RECORD +0 -174
- {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/WHEEL +0 -0
- {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,48 +0,0 @@
|
|
1
|
-
import abc
|
2
|
-
from System.IO import FileInfo
|
3
|
-
from System import ValueTuple_6
|
4
|
-
from System.Collections.Generic import List_1
|
5
|
-
from System.Diagnostics import Process
|
6
|
-
|
7
|
-
class DirectoryOperations(abc.ABC):
|
8
|
-
@staticmethod
|
9
|
-
def DirectoryCopy(_source: str, _target: str, _recursive: bool) -> None: ...
|
10
|
-
|
11
|
-
|
12
|
-
class FileState(abc.ABC):
|
13
|
-
@staticmethod
|
14
|
-
def IsInUse(file: FileInfo) -> bool: ...
|
15
|
-
@staticmethod
|
16
|
-
def WaitFile(file: FileInfo, sleepTime: int = ..., timeout: int = ...) -> None: ...
|
17
|
-
|
18
|
-
|
19
|
-
class FileSystemNavigation(abc.ABC):
|
20
|
-
@staticmethod
|
21
|
-
def CheckPaths(fullPath: str, relPath: str, invalidPathString: str) -> ValueTuple_6[str, str, bool, bool, bool, bool]: ...
|
22
|
-
@staticmethod
|
23
|
-
def ExtractNameFromPath(path: str) -> str: ...
|
24
|
-
@staticmethod
|
25
|
-
def GetRelativePath(fromPath: str, toPath: str) -> str: ...
|
26
|
-
@staticmethod
|
27
|
-
def GetSubPathContaining(fullPath: str, queryText: str, shortestPath: bool) -> str: ...
|
28
|
-
@staticmethod
|
29
|
-
def IsContainedIn(fullPathParent: str, fullPathChildFileOrFolder: str, elementsExist: bool = ...) -> bool: ...
|
30
|
-
@staticmethod
|
31
|
-
def IsFileLocked(file: FileInfo) -> bool: ...
|
32
|
-
@staticmethod
|
33
|
-
def IsPathFullyQualified(path: str) -> bool: ...
|
34
|
-
@staticmethod
|
35
|
-
def IsSubdirectoryOf(fullPathParent: str, fullPathChild: str, directoriesExist: bool = ...) -> bool: ...
|
36
|
-
@staticmethod
|
37
|
-
def ReconstructFullPath(fromPath: str, toPath: str, overlapPossible: bool) -> str: ...
|
38
|
-
@staticmethod
|
39
|
-
def SanitizePath(path: str) -> str: ...
|
40
|
-
@staticmethod
|
41
|
-
def SanitizeWritePath(path: str) -> str: ...
|
42
|
-
|
43
|
-
|
44
|
-
class LockTools:
|
45
|
-
def __init__(self) -> None: ...
|
46
|
-
@staticmethod
|
47
|
-
def FindLockers(filename: str) -> List_1[Process]: ...
|
48
|
-
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import typing
|
2
|
-
from System import IDisposable, Decimal
|
3
|
-
from System.IO import Stream
|
4
|
-
from System.Text import Encoding
|
5
|
-
|
6
|
-
class DelimiterStreamReader(IDisposable):
|
7
|
-
def __init__(self, stream: Stream, encoding: Encoding) -> None: ...
|
8
|
-
@property
|
9
|
-
def Column(self) -> int: ...
|
10
|
-
@Column.setter
|
11
|
-
def Column(self, value: int) -> int: ...
|
12
|
-
@property
|
13
|
-
def Row(self) -> int: ...
|
14
|
-
@Row.setter
|
15
|
-
def Row(self, value: int) -> int: ...
|
16
|
-
def Close(self) -> None: ...
|
17
|
-
def Dispose(self) -> None: ...
|
18
|
-
def ReadBool(self) -> bool: ...
|
19
|
-
def ReadString(self) -> str: ...
|
20
|
-
def ReadToDelimiter(self) -> str: ...
|
21
|
-
def SkipString(self) -> None: ...
|
22
|
-
# Skipped ReadNumber due to it being static, abstract and generic.
|
23
|
-
|
24
|
-
ReadNumber : ReadNumber_MethodGroup
|
25
|
-
class ReadNumber_MethodGroup:
|
26
|
-
def __getitem__(self, t:typing.Type[ReadNumber_1_T1]) -> ReadNumber_1[ReadNumber_1_T1]: ...
|
27
|
-
|
28
|
-
ReadNumber_1_T1 = typing.TypeVar('ReadNumber_1_T1')
|
29
|
-
class ReadNumber_1(typing.Generic[ReadNumber_1_T1]):
|
30
|
-
ReadNumber_1_T = DelimiterStreamReader.ReadNumber_MethodGroup.ReadNumber_1_T1
|
31
|
-
def __call__(self) -> ReadNumber_1_T:...
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
class DelimiterStreamWriter(IDisposable):
|
37
|
-
def __init__(self, stream: Stream, encoding: Encoding) -> None: ...
|
38
|
-
def Close(self) -> None: ...
|
39
|
-
def Dispose(self) -> None: ...
|
40
|
-
def WriteLine(self) -> None: ...
|
41
|
-
# Skipped Write due to it being static, abstract and generic.
|
42
|
-
|
43
|
-
Write : Write_MethodGroup
|
44
|
-
class Write_MethodGroup:
|
45
|
-
@typing.overload
|
46
|
-
def __call__(self, value: float) -> None:...
|
47
|
-
# Method Write(value : Single) was skipped since it collides with above method
|
48
|
-
# Method Write(value : Int32) was skipped since it collides with above method
|
49
|
-
# Method Write(value : Int64) was skipped since it collides with above method
|
50
|
-
# Method Write(value : UInt32) was skipped since it collides with above method
|
51
|
-
# Method Write(value : UInt64) was skipped since it collides with above method
|
52
|
-
@typing.overload
|
53
|
-
def __call__(self, value: Decimal) -> None:...
|
54
|
-
@typing.overload
|
55
|
-
def __call__(self, value: str) -> None:...
|
56
|
-
# Method Write(value : Char) was skipped since it collides with above method
|
57
|
-
# Method Write(value : Boolean) was skipped since it collides with above method
|
58
|
-
|
59
|
-
|
@@ -1,133 +0,0 @@
|
|
1
|
-
import typing, abc
|
2
|
-
from System.Collections.Generic import IList_1, List_1
|
3
|
-
|
4
|
-
class CollectionUndoItem_GenericClasses(abc.ABCMeta):
|
5
|
-
Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T = typing.TypeVar('Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T')
|
6
|
-
def __getitem__(self, types : typing.Type[Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T]) -> typing.Type[CollectionUndoItem_1[Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T]]: ...
|
7
|
-
|
8
|
-
class CollectionUndoItem(CollectionUndoItem_0, metaclass =CollectionUndoItem_GenericClasses): ...
|
9
|
-
|
10
|
-
class CollectionUndoItem_0(abc.ABC):
|
11
|
-
# Skipped Add due to it being static, abstract and generic.
|
12
|
-
|
13
|
-
Add : Add_MethodGroup
|
14
|
-
class Add_MethodGroup:
|
15
|
-
def __getitem__(self, t:typing.Type[Add_1_T1]) -> Add_1[Add_1_T1]: ...
|
16
|
-
|
17
|
-
Add_1_T1 = typing.TypeVar('Add_1_T1')
|
18
|
-
class Add_1(typing.Generic[Add_1_T1]):
|
19
|
-
Add_1_T = CollectionUndoItem_0.Add_MethodGroup.Add_1_T1
|
20
|
-
def __call__(self, list: IList_1[Add_1_T], item: Add_1_T) -> CollectionUndoItem_1[Add_1_T]:...
|
21
|
-
|
22
|
-
|
23
|
-
# Skipped Clear due to it being static, abstract and generic.
|
24
|
-
|
25
|
-
Clear : Clear_MethodGroup
|
26
|
-
class Clear_MethodGroup:
|
27
|
-
def __getitem__(self, t:typing.Type[Clear_1_T1]) -> Clear_1[Clear_1_T1]: ...
|
28
|
-
|
29
|
-
Clear_1_T1 = typing.TypeVar('Clear_1_T1')
|
30
|
-
class Clear_1(typing.Generic[Clear_1_T1]):
|
31
|
-
Clear_1_T = CollectionUndoItem_0.Clear_MethodGroup.Clear_1_T1
|
32
|
-
def __call__(self, list: IList_1[Clear_1_T]) -> CollectionUndoItem_1[Clear_1_T]:...
|
33
|
-
|
34
|
-
|
35
|
-
# Skipped Insert due to it being static, abstract and generic.
|
36
|
-
|
37
|
-
Insert : Insert_MethodGroup
|
38
|
-
class Insert_MethodGroup:
|
39
|
-
def __getitem__(self, t:typing.Type[Insert_1_T1]) -> Insert_1[Insert_1_T1]: ...
|
40
|
-
|
41
|
-
Insert_1_T1 = typing.TypeVar('Insert_1_T1')
|
42
|
-
class Insert_1(typing.Generic[Insert_1_T1]):
|
43
|
-
Insert_1_T = CollectionUndoItem_0.Insert_MethodGroup.Insert_1_T1
|
44
|
-
def __call__(self, list: IList_1[Insert_1_T], item: Insert_1_T, idx: int) -> CollectionUndoItem_1[Insert_1_T]:...
|
45
|
-
|
46
|
-
|
47
|
-
# Skipped Remove due to it being static, abstract and generic.
|
48
|
-
|
49
|
-
Remove : Remove_MethodGroup
|
50
|
-
class Remove_MethodGroup:
|
51
|
-
def __getitem__(self, t:typing.Type[Remove_1_T1]) -> Remove_1[Remove_1_T1]: ...
|
52
|
-
|
53
|
-
Remove_1_T1 = typing.TypeVar('Remove_1_T1')
|
54
|
-
class Remove_1(typing.Generic[Remove_1_T1]):
|
55
|
-
Remove_1_T = CollectionUndoItem_0.Remove_MethodGroup.Remove_1_T1
|
56
|
-
def __call__(self, list: IList_1[Remove_1_T], item: Remove_1_T) -> CollectionUndoItem_1[Remove_1_T]:...
|
57
|
-
|
58
|
-
|
59
|
-
# Skipped RemoveAt due to it being static, abstract and generic.
|
60
|
-
|
61
|
-
RemoveAt : RemoveAt_MethodGroup
|
62
|
-
class RemoveAt_MethodGroup:
|
63
|
-
def __getitem__(self, t:typing.Type[RemoveAt_1_T1]) -> RemoveAt_1[RemoveAt_1_T1]: ...
|
64
|
-
|
65
|
-
RemoveAt_1_T1 = typing.TypeVar('RemoveAt_1_T1')
|
66
|
-
class RemoveAt_1(typing.Generic[RemoveAt_1_T1]):
|
67
|
-
RemoveAt_1_T = CollectionUndoItem_0.RemoveAt_MethodGroup.RemoveAt_1_T1
|
68
|
-
def __call__(self, list: IList_1[RemoveAt_1_T], idx: int) -> CollectionUndoItem_1[RemoveAt_1_T]:...
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
CollectionUndoItem_1_T = typing.TypeVar('CollectionUndoItem_1_T')
|
74
|
-
class CollectionUndoItem_1(typing.Generic[CollectionUndoItem_1_T], IUndoItem):
|
75
|
-
def __init__(self, list: IList_1[CollectionUndoItem_1_T], action: UndoRedoAction, oldStartIndex: int, oldItems: IList_1[CollectionUndoItem_1_T], newStartIndex: int, newItems: IList_1[CollectionUndoItem_1_T]) -> None: ...
|
76
|
-
def Execute(self) -> UndoExecutionResult: ...
|
77
|
-
def Redo(self) -> None: ...
|
78
|
-
def Undo(self) -> None: ...
|
79
|
-
|
80
|
-
|
81
|
-
class GroupUndoItem(IUndoItem):
|
82
|
-
@typing.overload
|
83
|
-
def __init__(self) -> None: ...
|
84
|
-
@typing.overload
|
85
|
-
def __init__(self, items: List_1[IUndoItem]) -> None: ...
|
86
|
-
@property
|
87
|
-
def Items(self) -> List_1[IUndoItem]: ...
|
88
|
-
def Execute(self) -> UndoExecutionResult: ...
|
89
|
-
def Redo(self) -> None: ...
|
90
|
-
def Undo(self) -> None: ...
|
91
|
-
|
92
|
-
|
93
|
-
class IUndoItem(typing.Protocol):
|
94
|
-
@abc.abstractmethod
|
95
|
-
def Execute(self) -> UndoExecutionResult: ...
|
96
|
-
@abc.abstractmethod
|
97
|
-
def Redo(self) -> None: ...
|
98
|
-
@abc.abstractmethod
|
99
|
-
def Undo(self) -> None: ...
|
100
|
-
|
101
|
-
|
102
|
-
class PropertyUndoItem(IUndoItem):
|
103
|
-
def __init__(self, target: typing.Any, property: str, value: typing.Any) -> None: ...
|
104
|
-
def Execute(self) -> UndoExecutionResult: ...
|
105
|
-
def Redo(self) -> None: ...
|
106
|
-
def Undo(self) -> None: ...
|
107
|
-
|
108
|
-
|
109
|
-
class UndoExecutionResult(typing.SupportsInt):
|
110
|
-
@typing.overload
|
111
|
-
def __init__(self, value : int) -> None: ...
|
112
|
-
@typing.overload
|
113
|
-
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
114
|
-
def __int__(self) -> int: ...
|
115
|
-
|
116
|
-
# Values:
|
117
|
-
Executed : UndoExecutionResult # 0
|
118
|
-
PartiallyExecuted : UndoExecutionResult # 1
|
119
|
-
Failed : UndoExecutionResult # 2
|
120
|
-
|
121
|
-
|
122
|
-
class UndoRedoAction(typing.SupportsInt):
|
123
|
-
@typing.overload
|
124
|
-
def __init__(self, value : int) -> None: ...
|
125
|
-
@typing.overload
|
126
|
-
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
127
|
-
def __int__(self) -> int: ...
|
128
|
-
|
129
|
-
# Values:
|
130
|
-
Insert : UndoRedoAction # 0
|
131
|
-
Remove : UndoRedoAction # 1
|
132
|
-
Clear : UndoRedoAction # 2
|
133
|
-
|