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.
Files changed (26) hide show
  1. {salabim-25.0.0 → salabim-25.0.1}/PKG-INFO +1 -1
  2. {salabim-25.0.0 → salabim-25.0.1}/pyproject.toml +1 -1
  3. {salabim-25.0.0 → salabim-25.0.1}/salabim/salabim.py +8 -12
  4. {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/PKG-INFO +1 -1
  5. {salabim-25.0.0 → salabim-25.0.1}/README.md +0 -0
  6. {salabim-25.0.0 → salabim-25.0.1}/salabim/DejaVuSansMono.ttf +0 -0
  7. {salabim-25.0.0 → salabim-25.0.1}/salabim/LICENSE.txt +0 -0
  8. {salabim-25.0.0 → salabim-25.0.1}/salabim/__init__.py +0 -0
  9. {salabim-25.0.0 → salabim-25.0.1}/salabim/calibri.ttf +0 -0
  10. {salabim-25.0.0 → salabim-25.0.1}/salabim/mplus-1m-regular.ttf +0 -0
  11. {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/SOURCES.txt +0 -0
  12. {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/dependency_links.txt +0 -0
  13. {salabim-25.0.0 → salabim-25.0.1}/salabim.egg-info/top_level.txt +0 -0
  14. {salabim-25.0.0 → salabim-25.0.1}/setup.cfg +0 -0
  15. {salabim-25.0.0 → salabim-25.0.1}/tests/test salabim.py +0 -0
  16. {salabim-25.0.0 → salabim-25.0.1}/tests/test_cap_now.py +0 -0
  17. {salabim-25.0.0 → salabim-25.0.1}/tests/test_componentgenerator.py +0 -0
  18. {salabim-25.0.0 → salabim-25.0.1}/tests/test_datetime.py +0 -0
  19. {salabim-25.0.0 → salabim-25.0.1}/tests/test_distributions.py +0 -0
  20. {salabim-25.0.0 → salabim-25.0.1}/tests/test_misc.py +0 -0
  21. {salabim-25.0.0 → salabim-25.0.1}/tests/test_monitor.py +0 -0
  22. {salabim-25.0.0 → salabim-25.0.1}/tests/test_process.py +0 -0
  23. {salabim-25.0.0 → salabim-25.0.1}/tests/test_queue.py +0 -0
  24. {salabim-25.0.0 → salabim-25.0.1}/tests/test_state.py +0 -0
  25. {salabim-25.0.0 → salabim-25.0.1}/tests/test_store.py +0 -0
  26. {salabim-25.0.0 → salabim-25.0.1}/tests/test_timeunit.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: salabim
3
- Version: 25.0.0
3
+ Version: 25.0.1
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
@@ -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.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.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
- try:
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.items())
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"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: salabim
3
- Version: 25.0.0
3
+ Version: 25.0.1
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
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