enumerific 1.0.8__py3-none-any.whl → 1.0.9__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.
enumerific/extensible.py CHANGED
@@ -90,6 +90,7 @@ class auto(int, anno):
90
90
 
91
91
  start: int = 0
92
92
  steps: int = 1
93
+ times: int = 0
93
94
  power: int = 0
94
95
  value: int = 0
95
96
 
@@ -1378,7 +1379,7 @@ class EnumerationMetaClass(type):
1378
1379
 
1379
1380
  return self._instance.__name__
1380
1381
 
1381
- def register(self, name: str, value: object) -> Enumeration:
1382
+ def register(self, name: str, value: object = auto()) -> Enumeration:
1382
1383
  """The 'register' method supports registering additional enumeration options for
1383
1384
  an existing enumeration class. The method accepts the name of the enumeration
1384
1385
  option and its corresponding value; these are then mapped into a new enumeration
enumerific/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.8
1
+ 1.0.9
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: enumerific
3
- Version: 1.0.8
3
+ Version: 1.0.9
4
4
  Summary: Simplifies working with Python enums.
5
5
  Author: Daniel Sissman
6
6
  License-Expression: MIT
@@ -900,4 +900,4 @@ See the documentation for [PyTest](https://docs.pytest.org/en/latest/) regarding
900
900
 
901
901
  ### Copyright & License Information
902
902
 
903
- Copyright © 2024–2025 Daniel Sissman; licensed under the MIT License.
903
+ Copyright © 2024–2026 Daniel Sissman; licensed under the MIT License.
@@ -0,0 +1,12 @@
1
+ enumerific/__init__.py,sha256=K9iFirgxSkrHgXfhocOvgRkskGe0VfWRgxEvppnVWBM,587
2
+ enumerific/exceptions.py,sha256=lvfcH1cz43hDjzSUpgm1-OZjKzxo--fyZ8UsBS-GiZA,359
3
+ enumerific/extensible.py,sha256=JPr4LRGg4rABV_WO9Yzb6FJhrxwiafju7ITIQXW6QiY,87136
4
+ enumerific/logging.py,sha256=zz1Phnot1BFWMoxwvZ0FlZDsiYZZYhz-_S4IzgPYc40,97
5
+ enumerific/standard.py,sha256=xQhhwlcYZ6-8DmgscbV38g2Ol5Z8_vvBwonz-Ww0I40,3254
6
+ enumerific/version.txt,sha256=1vkXxITmpI_Pi5DvCc3gKGw9huXerUi0L68NrpT7LfU,5
7
+ enumerific-1.0.9.dist-info/licenses/LICENSE.md,sha256=j1XidOCGUhPx7CyXA31uC0XGKDRnvUcZpMp161qHI6g,1077
8
+ enumerific-1.0.9.dist-info/METADATA,sha256=LnOD66jWq4fMD79UFTvZA-ILzxh89gdNKs8485h-3b8,34237
9
+ enumerific-1.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ enumerific-1.0.9.dist-info/top_level.txt,sha256=hyemsMgPYZgSx71XHmFRF-gvc_2Y4rDAESR8e0hbYHU,11
11
+ enumerific-1.0.9.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
12
+ enumerific-1.0.9.dist-info/RECORD,,
@@ -1,12 +0,0 @@
1
- enumerific/__init__.py,sha256=K9iFirgxSkrHgXfhocOvgRkskGe0VfWRgxEvppnVWBM,587
2
- enumerific/exceptions.py,sha256=lvfcH1cz43hDjzSUpgm1-OZjKzxo--fyZ8UsBS-GiZA,359
3
- enumerific/extensible.py,sha256=o0n9PdgnbC52vw4wbk4kUkmRsFUTN_e7yqe7LA-6Obg,87108
4
- enumerific/logging.py,sha256=zz1Phnot1BFWMoxwvZ0FlZDsiYZZYhz-_S4IzgPYc40,97
5
- enumerific/standard.py,sha256=xQhhwlcYZ6-8DmgscbV38g2Ol5Z8_vvBwonz-Ww0I40,3254
6
- enumerific/version.txt,sha256=phVSvZad-OqKy8Q8pyiMu01dODZaYQyAIaQn4mpRhR0,5
7
- enumerific-1.0.8.dist-info/licenses/LICENSE.md,sha256=j1XidOCGUhPx7CyXA31uC0XGKDRnvUcZpMp161qHI6g,1077
8
- enumerific-1.0.8.dist-info/METADATA,sha256=Loee454XK_bhrv_N3PKAEFjDFHATJBQbdG4QZRGzLYg,34237
9
- enumerific-1.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- enumerific-1.0.8.dist-info/top_level.txt,sha256=hyemsMgPYZgSx71XHmFRF-gvc_2Y4rDAESR8e0hbYHU,11
11
- enumerific-1.0.8.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
12
- enumerific-1.0.8.dist-info/RECORD,,