salabim 25.0.0__py3-none-any.whl → 25.0.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- salabim/salabim.py +8 -12
- {salabim-25.0.0.dist-info → salabim-25.0.1.dist-info}/METADATA +1 -1
- {salabim-25.0.0.dist-info → salabim-25.0.1.dist-info}/RECORD +5 -5
- {salabim-25.0.0.dist-info → salabim-25.0.1.dist-info}/WHEEL +0 -0
- {salabim-25.0.0.dist-info → salabim-25.0.1.dist-info}/top_level.txt +0 -0
salabim/salabim.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
# _ _ _ ____ ____ ___
|
2
|
-
# ___ __ _ | | __ _ | |__ (_) _ __ ___ |___ \ | ___| / _ \
|
3
|
-
# / __| / _` || | / _` || '_ \ | || '_ ` _ \ __) ||___ \ | | | | | |
|
4
|
-
# \__ \| (_| || || (_| || |_) || || | | | | | / __/ ___) | _ | |_| | _ | |
|
5
|
-
# |___/ \__,_||_| \__,_||_.__/ |_||_| |_| |_| |_____||____/ (_) \___/ (_)
|
1
|
+
# _ _ _ ____ ____ ___ _
|
2
|
+
# ___ __ _ | | __ _ | |__ (_) _ __ ___ |___ \ | ___| / _ \ / |
|
3
|
+
# / __| / _` || | / _` || '_ \ | || '_ ` _ \ __) ||___ \ | | | | | |
|
4
|
+
# \__ \| (_| || || (_| || |_) || || | | | | | / __/ ___) | _ | |_| | _ | |
|
5
|
+
# |___/ \__,_||_| \__,_||_.__/ |_||_| |_| |_| |_____||____/ (_) \___/ (_)|_|
|
6
6
|
# discrete event simulation
|
7
7
|
#
|
8
8
|
# see www.salabim.org for more information, the documentation and license information
|
9
9
|
|
10
|
-
__version__ = "25.0.
|
10
|
+
__version__ = "25.0.1"
|
11
11
|
import heapq
|
12
12
|
import random
|
13
13
|
import time
|
@@ -42,11 +42,7 @@ import urllib.error
|
|
42
42
|
import base64
|
43
43
|
import zipfile
|
44
44
|
from pathlib import Path
|
45
|
-
|
46
|
-
import peek
|
47
|
-
except ModuleNotFoundError:
|
48
|
-
...
|
49
|
-
|
45
|
+
|
50
46
|
|
51
47
|
from typing import Any, Union, Iterable, Tuple, List, Callable, TextIO, Dict, Set, Type, Hashable, Optional
|
52
48
|
|
@@ -103,7 +99,7 @@ _ANSI_to_rgb = {
|
|
103
99
|
"\033[0m": (),
|
104
100
|
}
|
105
101
|
|
106
|
-
ANSI=types.SimpleNamespace(_color_name_to_ANSI
|
102
|
+
ANSI=types.SimpleNamespace(**_color_name_to_ANSI)
|
107
103
|
|
108
104
|
def a_log(*args):
|
109
105
|
if not hasattr(a_log, "a_logfile_name"):
|
@@ -3,8 +3,8 @@ salabim/LICENSE.txt,sha256=eTPlcDJz4G0096Qv-wfMjm1Wxbd4ilDlsYg5rN4HjWQ,1106
|
|
3
3
|
salabim/__init__.py,sha256=r7qPLvlmX0dkZDyjuTo8Jo3ex3sD1L4pmK6K5ib9vyw,56
|
4
4
|
salabim/calibri.ttf,sha256=RWpf8Uo31RfvGGNaSt9-2sXSuN87AVE_NFMRsV3LhBk,1330156
|
5
5
|
salabim/mplus-1m-regular.ttf,sha256=EuFHr90BJjuAn_r5MleJFN-WfkeWJ4tf7DweI5zr8tU,289812
|
6
|
-
salabim/salabim.py,sha256=
|
7
|
-
salabim-25.0.
|
8
|
-
salabim-25.0.
|
9
|
-
salabim-25.0.
|
10
|
-
salabim-25.0.
|
6
|
+
salabim/salabim.py,sha256=xygmGa4CkNpC-JEQzLmeF4dpjC0l79WbO-g6y-gPAa0,1123482
|
7
|
+
salabim-25.0.1.dist-info/METADATA,sha256=G4iFQVtzkYPsPAbgohhEXUEBGJtr0aKaJVaR9kvKF5Q,3457
|
8
|
+
salabim-25.0.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
9
|
+
salabim-25.0.1.dist-info/top_level.txt,sha256=UE6zVlbi3F6T5ma1a_5TrojMaF21GYKDt9svvm0U4cQ,8
|
10
|
+
salabim-25.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|