mapres 3.dev29__tar.gz → 3.dev32__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.
- mapres-3.dev32/PKG-INFO +33 -0
- mapres-3.dev32/README.md +7 -0
- {mapres-3.dev29 → mapres-3.dev32}/pyproject.toml +6 -11
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/__init__.py +1 -2
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/resolver.py +6 -3
- mapres-3.dev32/src/mapres.egg-info/PKG-INFO +33 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres.egg-info/SOURCES.txt +0 -2
- mapres-3.dev29/PKG-INFO +0 -47
- mapres-3.dev29/README.md +0 -18
- mapres-3.dev29/src/mapres/utils.py +0 -5
- mapres-3.dev29/src/mapres.egg-info/PKG-INFO +0 -47
- mapres-3.dev29/src/mapres.egg-info/requires.txt +0 -3
- {mapres-3.dev29 → mapres-3.dev32}/LICENSE +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/setup.cfg +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/ast.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/cache.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/datamap.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/evaluator.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/exceptions.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/layers.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/maps/__init__.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/maps/color.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/maps/time.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/parser.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres/tokenizer.py +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres.egg-info/dependency_links.txt +0 -0
- {mapres-3.dev29 → mapres-3.dev32}/src/mapres.egg-info/top_level.txt +0 -0
mapres-3.dev32/PKG-INFO
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mapres
|
|
3
|
+
Version: 3.dev32
|
|
4
|
+
Summary: A powerfull mapping utility
|
|
5
|
+
Author: iFamished
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/iFamished/mapres
|
|
8
|
+
Project-URL: Documentation, https://github.com/iFamished/mapres
|
|
9
|
+
Project-URL: Source, https://github.com/iFamished/mapres
|
|
10
|
+
Project-URL: Issues, https://github.com/iFamished/mapres/issues
|
|
11
|
+
Keywords: templating,automation,server-management
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Development Status :: 4 - Beta
|
|
19
|
+
Classifier: Intended Audience :: Developers
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
+
Classifier: Topic :: System :: Systems Administration
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
# MapRes
|
|
28
|
+
A powerful string-mapping utility for many use cases.
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
```bash
|
|
32
|
+
pip install mapres
|
|
33
|
+
```
|
mapres-3.dev32/README.md
ADDED
|
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "mapres"
|
|
10
|
-
version = "3-dev.
|
|
10
|
+
version = "3-dev.32"
|
|
11
11
|
description = "A powerfull mapping utility"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.9"
|
|
@@ -18,13 +18,8 @@ keywords = [
|
|
|
18
18
|
"templating",
|
|
19
19
|
"automation",
|
|
20
20
|
"server-management",
|
|
21
|
-
"hungerlib",
|
|
22
|
-
]
|
|
23
|
-
dependencies = [
|
|
24
|
-
"requests",
|
|
25
|
-
"mcrcon",
|
|
26
|
-
"PyYaml",
|
|
27
21
|
]
|
|
22
|
+
dependencies = []
|
|
28
23
|
classifiers = [
|
|
29
24
|
"Programming Language :: Python :: 3",
|
|
30
25
|
"Programming Language :: Python :: 3.10",
|
|
@@ -42,10 +37,10 @@ classifiers = [
|
|
|
42
37
|
text = "MIT"
|
|
43
38
|
|
|
44
39
|
[project.urls]
|
|
45
|
-
Homepage = "https://github.com/
|
|
46
|
-
Documentation = "https://github.com/
|
|
47
|
-
Source = "https://github.com/
|
|
48
|
-
Issues = "https://github.com/
|
|
40
|
+
Homepage = "https://github.com/iFamished/mapres"
|
|
41
|
+
Documentation = "https://github.com/iFamished/mapres"
|
|
42
|
+
Source = "https://github.com/iFamished/mapres"
|
|
43
|
+
Issues = "https://github.com/iFamished/mapres/issues"
|
|
49
44
|
|
|
50
45
|
[tool.setuptools.packages.find]
|
|
51
46
|
where = [
|
|
@@ -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,9 +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)
|
|
136
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
|
+
|
|
137
139
|
res.setGlobalMaps = setGlobalMaps
|
|
140
|
+
rprint.setGlobalMaps = setGlobalMaps
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mapres
|
|
3
|
+
Version: 3.dev32
|
|
4
|
+
Summary: A powerfull mapping utility
|
|
5
|
+
Author: iFamished
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/iFamished/mapres
|
|
8
|
+
Project-URL: Documentation, https://github.com/iFamished/mapres
|
|
9
|
+
Project-URL: Source, https://github.com/iFamished/mapres
|
|
10
|
+
Project-URL: Issues, https://github.com/iFamished/mapres/issues
|
|
11
|
+
Keywords: templating,automation,server-management
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Development Status :: 4 - Beta
|
|
19
|
+
Classifier: Intended Audience :: Developers
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
+
Classifier: Topic :: System :: Systems Administration
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
# MapRes
|
|
28
|
+
A powerful string-mapping utility for many use cases.
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
```bash
|
|
32
|
+
pip install mapres
|
|
33
|
+
```
|
|
@@ -11,11 +11,9 @@ 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
|
|
18
|
-
src/mapres.egg-info/requires.txt
|
|
19
17
|
src/mapres.egg-info/top_level.txt
|
|
20
18
|
src/mapres/maps/__init__.py
|
|
21
19
|
src/mapres/maps/color.py
|
mapres-3.dev29/PKG-INFO
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: mapres
|
|
3
|
-
Version: 3.dev29
|
|
4
|
-
Summary: A powerfull mapping utility
|
|
5
|
-
Author: iFamished
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/iFamishedX/mapres
|
|
8
|
-
Project-URL: Documentation, https://github.com/iFamishedX/mapres
|
|
9
|
-
Project-URL: Source, https://github.com/iFamishedX/mapres
|
|
10
|
-
Project-URL: Issues, https://github.com/iFamishedX/mapres/issues
|
|
11
|
-
Keywords: templating,automation,server-management,hungerlib
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
-
Classifier: Operating System :: OS Independent
|
|
18
|
-
Classifier: Development Status :: 4 - Beta
|
|
19
|
-
Classifier: Intended Audience :: Developers
|
|
20
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
-
Classifier: Topic :: System :: Systems Administration
|
|
22
|
-
Requires-Python: >=3.9
|
|
23
|
-
Description-Content-Type: text/markdown
|
|
24
|
-
License-File: LICENSE
|
|
25
|
-
Requires-Dist: requests
|
|
26
|
-
Requires-Dist: mcrcon
|
|
27
|
-
Requires-Dist: PyYaml
|
|
28
|
-
Dynamic: license-file
|
|
29
|
-
|
|
30
|
-
# HungerLib
|
|
31
|
-
|
|
32
|
-
A powerful automation library for Pterodactyl panlels.
|
|
33
|
-
Provides clean APIs for RCON, scheduling, panel integration, and server orchestration.
|
|
34
|
-
|
|
35
|
-
## Features
|
|
36
|
-
|
|
37
|
-
- Simple RCON wrapper
|
|
38
|
-
- Pterodactyl API helpers
|
|
39
|
-
- Server orchestration utilities
|
|
40
|
-
- Scheduler utilities
|
|
41
|
-
- Logging helpers
|
|
42
|
-
- Zero external configuration required
|
|
43
|
-
|
|
44
|
-
## Installation
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
pip install hungerlib
|
mapres-3.dev29/README.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# HungerLib
|
|
2
|
-
|
|
3
|
-
A powerful automation library for Pterodactyl panlels.
|
|
4
|
-
Provides clean APIs for RCON, scheduling, panel integration, and server orchestration.
|
|
5
|
-
|
|
6
|
-
## Features
|
|
7
|
-
|
|
8
|
-
- Simple RCON wrapper
|
|
9
|
-
- Pterodactyl API helpers
|
|
10
|
-
- Server orchestration utilities
|
|
11
|
-
- Scheduler utilities
|
|
12
|
-
- Logging helpers
|
|
13
|
-
- Zero external configuration required
|
|
14
|
-
|
|
15
|
-
## Installation
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
pip install hungerlib
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: mapres
|
|
3
|
-
Version: 3.dev29
|
|
4
|
-
Summary: A powerfull mapping utility
|
|
5
|
-
Author: iFamished
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/iFamishedX/mapres
|
|
8
|
-
Project-URL: Documentation, https://github.com/iFamishedX/mapres
|
|
9
|
-
Project-URL: Source, https://github.com/iFamishedX/mapres
|
|
10
|
-
Project-URL: Issues, https://github.com/iFamishedX/mapres/issues
|
|
11
|
-
Keywords: templating,automation,server-management,hungerlib
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
-
Classifier: Operating System :: OS Independent
|
|
18
|
-
Classifier: Development Status :: 4 - Beta
|
|
19
|
-
Classifier: Intended Audience :: Developers
|
|
20
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
-
Classifier: Topic :: System :: Systems Administration
|
|
22
|
-
Requires-Python: >=3.9
|
|
23
|
-
Description-Content-Type: text/markdown
|
|
24
|
-
License-File: LICENSE
|
|
25
|
-
Requires-Dist: requests
|
|
26
|
-
Requires-Dist: mcrcon
|
|
27
|
-
Requires-Dist: PyYaml
|
|
28
|
-
Dynamic: license-file
|
|
29
|
-
|
|
30
|
-
# HungerLib
|
|
31
|
-
|
|
32
|
-
A powerful automation library for Pterodactyl panlels.
|
|
33
|
-
Provides clean APIs for RCON, scheduling, panel integration, and server orchestration.
|
|
34
|
-
|
|
35
|
-
## Features
|
|
36
|
-
|
|
37
|
-
- Simple RCON wrapper
|
|
38
|
-
- Pterodactyl API helpers
|
|
39
|
-
- Server orchestration utilities
|
|
40
|
-
- Scheduler utilities
|
|
41
|
-
- Logging helpers
|
|
42
|
-
- Zero external configuration required
|
|
43
|
-
|
|
44
|
-
## Installation
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
pip install hungerlib
|
|
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
|
|
File without changes
|
|
File without changes
|