mapres 3.dev28__tar.gz → 3.dev30__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 (24) hide show
  1. {mapres-3.dev28/src/mapres.egg-info → mapres-3.dev30}/PKG-INFO +1 -1
  2. {mapres-3.dev28 → mapres-3.dev30}/pyproject.toml +1 -1
  3. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/__init__.py +1 -2
  4. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/resolver.py +8 -3
  5. {mapres-3.dev28 → mapres-3.dev30/src/mapres.egg-info}/PKG-INFO +1 -1
  6. {mapres-3.dev28 → mapres-3.dev30}/src/mapres.egg-info/SOURCES.txt +0 -1
  7. mapres-3.dev28/src/mapres/utils.py +0 -5
  8. {mapres-3.dev28 → mapres-3.dev30}/LICENSE +0 -0
  9. {mapres-3.dev28 → mapres-3.dev30}/README.md +0 -0
  10. {mapres-3.dev28 → mapres-3.dev30}/setup.cfg +0 -0
  11. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/ast.py +0 -0
  12. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/cache.py +0 -0
  13. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/datamap.py +0 -0
  14. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/evaluator.py +0 -0
  15. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/exceptions.py +0 -0
  16. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/layers.py +0 -0
  17. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/maps/__init__.py +0 -0
  18. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/maps/color.py +0 -0
  19. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/maps/time.py +0 -0
  20. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/parser.py +0 -0
  21. {mapres-3.dev28 → mapres-3.dev30}/src/mapres/tokenizer.py +0 -0
  22. {mapres-3.dev28 → mapres-3.dev30}/src/mapres.egg-info/dependency_links.txt +0 -0
  23. {mapres-3.dev28 → mapres-3.dev30}/src/mapres.egg-info/requires.txt +0 -0
  24. {mapres-3.dev28 → mapres-3.dev30}/src/mapres.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 3.dev28
3
+ Version: 3.dev30
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 = "3-dev.28"
10
+ version = "3-dev.30"
11
11
  description = "A powerfull mapping utility"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
@@ -7,10 +7,9 @@ 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, rprint, setGlobalMaps
11
11
  from .datamap import DataMap, datamap, syntax
12
12
  from .layers import Layer, LayerStack
13
- from .utils import rprint
14
13
 
15
14
  # maps
16
15
  from .maps.color import ColorMap, ascii_colors, mc_colors, strip_colors
@@ -129,7 +129,12 @@ def setGlobalMaps(maps, *, priority=0):
129
129
  _DEFAULT_RESOLVER.layers.add_layer(maps, priority=priority)
130
130
 
131
131
  def res(text: str, **ctx) -> str:
132
- '''
133
- Simple global resolution.
134
- '''
132
+ '''Simple global resolution'''
135
133
  return _DEFAULT_RESOLVER.res(text, **ctx)
134
+
135
+ def rprint(text: str, sep, end, file, flush, **ctx) -> None:
136
+ '''Simple global resolution and print'''
137
+ print(res(text, **ctx), sep=sep, end=end, file=file, flush=flush)
138
+
139
+ res.setGlobalMaps = setGlobalMaps
140
+ rprint.setGlobalMaps = setGlobalMaps
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 3.dev28
3
+ Version: 3.dev30
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
@@ -11,7 +11,6 @@ src/mapres/layers.py
11
11
  src/mapres/parser.py
12
12
  src/mapres/resolver.py
13
13
  src/mapres/tokenizer.py
14
- src/mapres/utils.py
15
14
  src/mapres.egg-info/PKG-INFO
16
15
  src/mapres.egg-info/SOURCES.txt
17
16
  src/mapres.egg-info/dependency_links.txt
@@ -1,5 +0,0 @@
1
- from .resolver import res
2
-
3
- def rprint(text: str, **ctx) -> None:
4
- '''Simple global resolution and print'''
5
- print(res(text, **ctx))
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes