mapres 2.4a1__tar.gz → 2.4a3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 2.4a1
3
+ Version: 2.4a3
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "mapres"
10
- version = "2.4-alpha.1"
10
+ version = "2.4-alpha.3"
11
11
  description = "A powerfull mapping utility"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
@@ -7,7 +7,7 @@ try:
7
7
  except PackageNotFoundError:
8
8
  __version__ = '0.0.0'
9
9
 
10
- from .resolver import MapResolver, res, setGlobalMaps
10
+ from .resolver import MapResolver, res, setGlobalMaps, setDefaultPasses
11
11
  from .datamap import DataMap, datamap, syntax
12
12
  from .layers import Layer, LayerStack
13
13
 
@@ -38,6 +38,7 @@ __all__ = [
38
38
  'Layer',
39
39
  'LayerStack',
40
40
  'setGlobalMaps',
41
+ 'setDefaultPasses',
41
42
 
42
43
  # maps
43
44
  'ColorMap',
@@ -219,7 +219,7 @@ def setDefaultPasses(passes: int):
219
219
  raise MapResError("Passes cannot be less than 1")
220
220
  _DEFAULT_RESOLVER.passes_default = passes
221
221
 
222
- def res(text: str, passes=_DEFAULT_PASSES, **ctx) -> str:
222
+ def res(text: str, passes=None, **ctx) -> str:
223
223
  '''
224
224
  Simple resolution using the global default resolver.
225
225
  '''
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 2.4a1
3
+ Version: 2.4a3
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
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