salabim 24.0.9__tar.gz → 24.0.9.post0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {salabim-24.0.9 → salabim-24.0.9.post0}/PKG-INFO +3 -3
- {salabim-24.0.9 → salabim-24.0.9.post0}/README.md +2 -2
- {salabim-24.0.9 → salabim-24.0.9.post0}/pyproject.toml +1 -1
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim/salabim.py +6 -3
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim.egg-info/PKG-INFO +3 -3
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim/DejaVuSansMono.ttf +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim/LICENSE.txt +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim/__init__.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim/calibri.ttf +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim/mplus-1m-regular.ttf +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim.egg-info/SOURCES.txt +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim.egg-info/dependency_links.txt +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/salabim.egg-info/top_level.txt +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/setup.cfg +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test salabim.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_cap_now.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_componentgenerator.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_datetime.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_distributions.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_misc.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_monitor.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_process.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_queue.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_state.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_store.py +0 -0
- {salabim-24.0.9 → salabim-24.0.9.post0}/tests/test_timeunit.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: salabim
|
3
|
-
Version: 24.0.9
|
3
|
+
Version: 24.0.9.post0
|
4
4
|
Summary: salabim - discrete event simulation in Python
|
5
5
|
Author-email: Ruud van der Ham <rt.van.der.ham@gmail.com>
|
6
6
|
Project-URL: Homepage, https://salabim.org
|
@@ -46,11 +46,11 @@ In contrast to some other Python DES packages, salabim does not require the use
|
|
46
46
|
### Features and documentation
|
47
47
|
|
48
48
|
- Cross-platform support: salabim runs on Windows, macOS, Linux, iOS/iPadOS (Pythonista), and can even be used with "Python In Excel".
|
49
|
-
- Comprehensive documentation: Visit
|
49
|
+
- Comprehensive documentation: Visit https://www.salabim.org/manual for detailed documentation.
|
50
50
|
|
51
51
|
### Resources
|
52
52
|
|
53
|
-
The salabim package can be found on GitHub: www.github.com/salabim/salabim
|
53
|
+
The salabim package can be found on GitHub: https://www.github.com/salabim/salabim
|
54
54
|
|
55
55
|
And on PyPI: https://pypi.org/project/salabim/
|
56
56
|
|
@@ -33,11 +33,11 @@ In contrast to some other Python DES packages, salabim does not require the use
|
|
33
33
|
### Features and documentation
|
34
34
|
|
35
35
|
- Cross-platform support: salabim runs on Windows, macOS, Linux, iOS/iPadOS (Pythonista), and can even be used with "Python In Excel".
|
36
|
-
- Comprehensive documentation: Visit
|
36
|
+
- Comprehensive documentation: Visit https://www.salabim.org/manual for detailed documentation.
|
37
37
|
|
38
38
|
### Resources
|
39
39
|
|
40
|
-
The salabim package can be found on GitHub: www.github.com/salabim/salabim
|
40
|
+
The salabim package can be found on GitHub: https://www.github.com/salabim/salabim
|
41
41
|
|
42
42
|
And on PyPI: https://pypi.org/project/salabim/
|
43
43
|
|
@@ -8,7 +8,7 @@ authors = [
|
|
8
8
|
{name = "Ruud van der Ham", email = "rt.van.der.ham@gmail.com"}
|
9
9
|
]
|
10
10
|
description = "salabim - discrete event simulation in Python"
|
11
|
-
version = "24.0.9"
|
11
|
+
version = "24.0.9-0"
|
12
12
|
readme = "README.md"
|
13
13
|
requires-python = ">=3.7"
|
14
14
|
dependencies = [
|
@@ -7,7 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# see www.salabim.org for more information, the documentation and license information
|
9
9
|
|
10
|
-
__version__ = "24.0.9"
|
10
|
+
__version__ = "24.0.9"
|
11
11
|
|
12
12
|
import heapq
|
13
13
|
import random
|
@@ -3472,6 +3472,9 @@ class DynamicClass:
|
|
3472
3472
|
if callable(c):
|
3473
3473
|
if inspect.isfunction(c):
|
3474
3474
|
nargs = c.__code__.co_argcount
|
3475
|
+
if c.__defaults__ is not None:
|
3476
|
+
c.__defaults__ = tuple(self if x == object else x for x in c.__defaults__) # indicate that object refers to animation object itself
|
3477
|
+
nargs -= len(c.__defaults__)
|
3475
3478
|
if nargs == 0:
|
3476
3479
|
return c()
|
3477
3480
|
if nargs == 1:
|
@@ -14101,7 +14104,7 @@ class Environment:
|
|
14101
14104
|
|
14102
14105
|
also the legend for line numbers will be printed
|
14103
14106
|
|
14104
|
-
|
14107
|
+
note that the header is only printed if trace=True
|
14105
14108
|
"""
|
14106
14109
|
len_s1 = len(self.time_to_str(0))
|
14107
14110
|
self.print_trace((len_s1 - 4) * " " + "time", "current component", "action", "information", "" if PythonInExcel else "line#")
|
@@ -14849,7 +14852,7 @@ class Animate2dBase(DynamicClass):
|
|
14849
14852
|
|
14850
14853
|
self.env = g.default_env if env is None else env
|
14851
14854
|
self.sequence = self.env.serialize()
|
14852
|
-
self.arg = self if arg
|
14855
|
+
self.arg = self if arg in (None, object) else arg
|
14853
14856
|
self.over3d = _default_over3d if over3d is None else over3d
|
14854
14857
|
self.screen_coordinates = screen_coordinates
|
14855
14858
|
self.attached_to = attached_to
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: salabim
|
3
|
-
Version: 24.0.9
|
3
|
+
Version: 24.0.9.post0
|
4
4
|
Summary: salabim - discrete event simulation in Python
|
5
5
|
Author-email: Ruud van der Ham <rt.van.der.ham@gmail.com>
|
6
6
|
Project-URL: Homepage, https://salabim.org
|
@@ -46,11 +46,11 @@ In contrast to some other Python DES packages, salabim does not require the use
|
|
46
46
|
### Features and documentation
|
47
47
|
|
48
48
|
- Cross-platform support: salabim runs on Windows, macOS, Linux, iOS/iPadOS (Pythonista), and can even be used with "Python In Excel".
|
49
|
-
- Comprehensive documentation: Visit
|
49
|
+
- Comprehensive documentation: Visit https://www.salabim.org/manual for detailed documentation.
|
50
50
|
|
51
51
|
### Resources
|
52
52
|
|
53
|
-
The salabim package can be found on GitHub: www.github.com/salabim/salabim
|
53
|
+
The salabim package can be found on GitHub: https://www.github.com/salabim/salabim
|
54
54
|
|
55
55
|
And on PyPI: https://pypi.org/project/salabim/
|
56
56
|
|
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
|