python-statemachine 2.3.4__tar.gz → 2.3.5__tar.gz

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.
Files changed (32) hide show
  1. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/PKG-INFO +2 -1
  2. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/pyproject.toml +3 -3
  3. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/__init__.py +1 -1
  4. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/contrib/diagram.py +6 -6
  5. python_statemachine-2.3.5/statemachine/py.typed +0 -0
  6. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/LICENSE +0 -0
  7. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/README.md +0 -0
  8. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/callbacks.py +0 -0
  9. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/contrib/__init__.py +0 -0
  10. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/dispatcher.py +0 -0
  11. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/engines/__init__.py +0 -0
  12. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/engines/async_.py +0 -0
  13. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/engines/sync.py +0 -0
  14. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/event.py +0 -0
  15. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/event_data.py +0 -0
  16. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/events.py +0 -0
  17. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/exceptions.py +0 -0
  18. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/factory.py +0 -0
  19. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/graph.py +0 -0
  20. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/i18n.py +0 -0
  21. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/locale/en/LC_MESSAGES/statemachine.po +0 -0
  22. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/locale/pt_BR/LC_MESSAGES/statemachine.po +0 -0
  23. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/mixins.py +0 -0
  24. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/model.py +0 -0
  25. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/registry.py +0 -0
  26. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/signature.py +0 -0
  27. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/state.py +0 -0
  28. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/statemachine.py +0 -0
  29. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/states.py +0 -0
  30. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/transition.py +0 -0
  31. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/transition_list.py +0 -0
  32. {python_statemachine-2.3.4 → python_statemachine-2.3.5}/statemachine/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-statemachine
3
- Version: 2.3.4
3
+ Version: 2.3.5
4
4
  Summary: Python Finite State Machines made easy.
5
5
  Home-page: https://github.com/fgmacedo/python-statemachine
6
6
  License: MIT
@@ -20,6 +20,7 @@ Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
23
24
  Classifier: Topic :: Software Development :: Libraries
24
25
  Provides-Extra: diagrams
25
26
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-statemachine"
3
- version = "2.3.4"
3
+ version = "2.3.5"
4
4
  description = "Python Finite State Machines made easy."
5
5
  authors = ["Fernando Macedo <fgmacedo@gmail.com>"]
6
6
  maintainers = [
@@ -27,6 +27,7 @@ classifiers = [
27
27
  "Programming Language :: Python :: 3.10",
28
28
  "Programming Language :: Python :: 3.11",
29
29
  "Programming Language :: Python :: 3.12",
30
+ "Programming Language :: Python :: 3.13",
30
31
  "Topic :: Software Development :: Libraries",
31
32
  "Framework :: AsyncIO",
32
33
  "Intended Audience :: Developers",
@@ -49,10 +50,9 @@ pytest = "*"
49
50
  pytest-cov = "*"
50
51
  pytest-sugar = "^1.0.0"
51
52
  pytest-mock = "^3.10.0"
52
- pytest-profiling = "^1.7.0"
53
53
  pytest-benchmark = "^4.0.0"
54
54
  pytest-asyncio = "*"
55
- django = { version = "^5.0.3", python = ">3.10" }
55
+ django = { version = "^5.0.8", python = ">3.10" }
56
56
  pytest-django = { version = "^4.8.0", python = ">3.8" }
57
57
 
58
58
  [tool.poetry.group.docs.dependencies]
@@ -3,6 +3,6 @@ from .statemachine import StateMachine
3
3
 
4
4
  __author__ = """Fernando Macedo"""
5
5
  __email__ = "fgmacedo@gmail.com"
6
- __version__ = "2.3.4"
6
+ __version__ = "2.3.5"
7
7
 
8
8
  __all__ = ["StateMachine", "State"]
@@ -18,16 +18,16 @@ class DotGraphMachine:
18
18
  font_name = "Arial"
19
19
  """Graph font face name"""
20
20
 
21
- state_font_size = "10pt"
22
- """State font size"""
21
+ state_font_size = "10"
22
+ """State font size in points"""
23
23
 
24
24
  state_active_penwidth = 2
25
25
  """Active state external line width"""
26
26
 
27
27
  state_active_fillcolor = "turquoise"
28
28
 
29
- transition_font_size = "9pt"
30
- """Transition font size"""
29
+ transition_font_size = "9"
30
+ """Transition font size in points"""
31
31
 
32
32
  def __init__(self, machine):
33
33
  self.machine = machine
@@ -48,7 +48,7 @@ class DotGraphMachine:
48
48
  "i",
49
49
  shape="circle",
50
50
  style="filled",
51
- fontsize="1pt",
51
+ fontsize="1",
52
52
  fixedsize="true",
53
53
  width=0.2,
54
54
  height=0.2,
@@ -167,7 +167,7 @@ def quickchart_write_svg(sm: StateMachine, path: str):
167
167
  >>> print(sm._graph().to_string())
168
168
  digraph list {
169
169
  fontname=Arial;
170
- fontsize="10pt";
170
+ fontsize=10;
171
171
  label=OrderControl;
172
172
  rankdir=LR;
173
173
  ...
File without changes