salabim 25.0.0__tar.gz → 25.0.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {salabim-25.0.0 → salabim-25.0.1}/PKG-INFO +1 -1
- {salabim-25.0.0 → salabim-25.0.1}/pyproject.toml +1 -1
- {salabim-25.0.0 → salabim-25.0.1}/salabim/salabim.py +8 -12
- {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/PKG-INFO +1 -1
- {salabim-25.0.0 → salabim-25.0.1}/README.md +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim/DejaVuSansMono.ttf +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim/LICENSE.txt +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim/__init__.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim/calibri.ttf +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim/mplus-1m-regular.ttf +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/SOURCES.txt +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/dependency_links.txt +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/top_level.txt +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/setup.cfg +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test salabim.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_cap_now.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_componentgenerator.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_datetime.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_distributions.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_misc.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_monitor.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_process.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_queue.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_state.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_store.py +0 -0
- {salabim-25.0.0 → salabim-25.0.1}/tests/test_timeunit.py +0 -0
@@ -10,7 +10,7 @@ authors = [
|
|
10
10
|
{ name = "Ruud van der Ham", email = "rt.van.der.ham@gmail.com" },
|
11
11
|
]
|
12
12
|
description = "salabim - discrete event simulation in Python"
|
13
|
-
version = "25.0.
|
13
|
+
version = "25.0.1"
|
14
14
|
readme = "README.md"
|
15
15
|
requires-python = ">=3.7"
|
16
16
|
dependencies = []
|
@@ -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"):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|