salabim 24.0.5__py3-none-any.whl → 24.0.6__py3-none-any.whl
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.
- salabim/LICENSE.txt +1 -1
- salabim/salabim.py +15 -6
- {salabim-24.0.5.dist-info → salabim-24.0.6.dist-info}/METADATA +1 -1
- salabim-24.0.6.dist-info/RECORD +10 -0
- {salabim-24.0.5.dist-info → salabim-24.0.6.dist-info}/WHEEL +1 -1
- salabim-24.0.5.dist-info/RECORD +0 -10
- {salabim-24.0.5.dist-info → salabim-24.0.6.dist-info}/top_level.txt +0 -0
salabim/LICENSE.txt
CHANGED
@@ -17,4 +17,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
17
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
18
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
19
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
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__ = "24.0.
|
10
|
+
__version__ = "24.0.6"
|
11
11
|
|
12
12
|
import heapq
|
13
13
|
import random
|
@@ -3375,6 +3375,15 @@ class _StateMonitor(Monitor):
|
|
3375
3375
|
def _value(self, value: Any) -> None:
|
3376
3376
|
self.parent.set(value)
|
3377
3377
|
|
3378
|
+
@property
|
3379
|
+
def value(self) -> Any:
|
3380
|
+
return self.parent.get()
|
3381
|
+
|
3382
|
+
@value.setter
|
3383
|
+
def value(self, value: Any) -> None:
|
3384
|
+
self.parent.set(value)
|
3385
|
+
|
3386
|
+
|
3378
3387
|
|
3379
3388
|
class _SystemMonitor(Monitor):
|
3380
3389
|
@property
|
@@ -0,0 +1,10 @@
|
|
1
|
+
salabim/DejaVuSansMono.ttf,sha256=Z_oIXp5yp1Zaw2y2p3vaxwHhjHpG0MFbmwhxSh4aIEI,335068
|
2
|
+
salabim/LICENSE.txt,sha256=qHlBa-POyexatCxDTjSKMlYtkBFQDn9lu-YV_1L6V0U,1106
|
3
|
+
salabim/__init__.py,sha256=r7qPLvlmX0dkZDyjuTo8Jo3ex3sD1L4pmK6K5ib9vyw,56
|
4
|
+
salabim/calibri.ttf,sha256=RWpf8Uo31RfvGGNaSt9-2sXSuN87AVE_NFMRsV3LhBk,1330156
|
5
|
+
salabim/mplus-1m-regular.ttf,sha256=EuFHr90BJjuAn_r5MleJFN-WfkeWJ4tf7DweI5zr8tU,289812
|
6
|
+
salabim/salabim.py,sha256=SZiOHDFUZuBReQtdElsUmOsDdPBYjhOFo-9nXGypjxk,1094051
|
7
|
+
salabim-24.0.6.dist-info/METADATA,sha256=u32xh-FoKdDNMsNEc7lVRunBKk2Yfvd7Frujwlx7NFQ,3449
|
8
|
+
salabim-24.0.6.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
9
|
+
salabim-24.0.6.dist-info/top_level.txt,sha256=UE6zVlbi3F6T5ma1a_5TrojMaF21GYKDt9svvm0U4cQ,8
|
10
|
+
salabim-24.0.6.dist-info/RECORD,,
|
salabim-24.0.5.dist-info/RECORD
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
salabim/DejaVuSansMono.ttf,sha256=Z_oIXp5yp1Zaw2y2p3vaxwHhjHpG0MFbmwhxSh4aIEI,335068
|
2
|
-
salabim/LICENSE.txt,sha256=7JDhEU_mPSqZJRcyZHF3O4D-TWdfIg1NP4rgBS8Cgr4,1105
|
3
|
-
salabim/__init__.py,sha256=r7qPLvlmX0dkZDyjuTo8Jo3ex3sD1L4pmK6K5ib9vyw,56
|
4
|
-
salabim/calibri.ttf,sha256=RWpf8Uo31RfvGGNaSt9-2sXSuN87AVE_NFMRsV3LhBk,1330156
|
5
|
-
salabim/mplus-1m-regular.ttf,sha256=EuFHr90BJjuAn_r5MleJFN-WfkeWJ4tf7DweI5zr8tU,289812
|
6
|
-
salabim/salabim.py,sha256=UEVVVAHqfmYTU-oYOE4-sCHe80Gz07ZyBaf5_0upcgQ,1093885
|
7
|
-
salabim-24.0.5.dist-info/METADATA,sha256=fhou7LuU-WOaGQWXaveV_4F_Kkkd0Huw0XPohtLdf1M,3449
|
8
|
-
salabim-24.0.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
9
|
-
salabim-24.0.5.dist-info/top_level.txt,sha256=UE6zVlbi3F6T5ma1a_5TrojMaF21GYKDt9svvm0U4cQ,8
|
10
|
-
salabim-24.0.5.dist-info/RECORD,,
|
File without changes
|