aridity 101__tar.gz → 103__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 (27) hide show
  1. {aridity-101 → aridity-103}/PKG-INFO +14 -8
  2. {aridity-101 → aridity-103}/README.md +10 -0
  3. {aridity-101 → aridity-103}/aridity/functions.py +1 -0
  4. {aridity-101 → aridity-103}/aridity.egg-info/PKG-INFO +14 -8
  5. {aridity-101 → aridity-103}/aridity.egg-info/SOURCES.txt +1 -0
  6. aridity-103/aridity.egg-info/requires.txt +1 -0
  7. aridity-103/pyproject.toml +18 -0
  8. {aridity-101 → aridity-103}/setup.py +1 -2
  9. aridity-101/aridity.egg-info/requires.txt +0 -1
  10. {aridity-101 → aridity-103}/aridity/__init__.py +0 -0
  11. {aridity-101 → aridity-103}/aridity/arid_config.py +0 -0
  12. {aridity-101 → aridity-103}/aridity/config.py +0 -0
  13. {aridity-101 → aridity-103}/aridity/directives.py +0 -0
  14. {aridity-101 → aridity-103}/aridity/grammar.py +0 -0
  15. {aridity-101 → aridity-103}/aridity/keyring.py +0 -0
  16. {aridity-101 → aridity-103}/aridity/model.py +0 -0
  17. {aridity-101 → aridity-103}/aridity/processtemplate.py +0 -0
  18. {aridity-101 → aridity-103}/aridity/repl.py +0 -0
  19. {aridity-101 → aridity-103}/aridity/resolve.py +0 -0
  20. {aridity-101 → aridity-103}/aridity/scope.py +0 -0
  21. {aridity-101 → aridity-103}/aridity/search.py +0 -0
  22. {aridity-101 → aridity-103}/aridity/stacks.py +0 -0
  23. {aridity-101 → aridity-103}/aridity/util.py +0 -0
  24. {aridity-101 → aridity-103}/aridity.egg-info/dependency_links.txt +0 -0
  25. {aridity-101 → aridity-103}/aridity.egg-info/entry_points.txt +0 -0
  26. {aridity-101 → aridity-103}/aridity.egg-info/top_level.txt +0 -0
  27. {aridity-101 → aridity-103}/setup.cfg +0 -0
@@ -1,19 +1,15 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 101
3
+ Version: 103
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
7
- Author-email: shrovis@foyono.com
7
+ Author-email: foyono <shrovis@foyono.com>
8
+ Requires-Python: >=3.11
8
9
  Description-Content-Type: text/markdown
9
- Requires-Dist: foyndation>=16
10
+ Requires-Dist: foyndation>=19
10
11
  Dynamic: author
11
- Dynamic: author-email
12
- Dynamic: description
13
- Dynamic: description-content-type
14
12
  Dynamic: home-page
15
- Dynamic: requires-dist
16
- Dynamic: summary
17
13
 
18
14
  # aridity
19
15
  DRY config and template system, easily extensible with Python.
@@ -346,6 +342,16 @@ If given 1 arg, evaluate it against every scope in `objsresolvable` and return t
346
342
  If given 2 args, the first is a variable name to which each scope is temporarily assigned.
347
343
  If given 3 args, the first two are variable names for scope key and scope respectively.
348
344
 
345
+ <a id="aridity.functions.map1"></a>
346
+
347
+ ###### map1
348
+
349
+ ```python
350
+ def map1(scope, contextresolvable, resultresolvable)
351
+ ```
352
+
353
+ Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.
354
+
349
355
  <a id="aridity.functions.join"></a>
350
356
 
351
357
  ###### join
@@ -329,6 +329,16 @@ If given 1 arg, evaluate it against every scope in `objsresolvable` and return t
329
329
  If given 2 args, the first is a variable name to which each scope is temporarily assigned.
330
330
  If given 3 args, the first two are variable names for scope key and scope respectively.
331
331
 
332
+ <a id="aridity.functions.map1"></a>
333
+
334
+ ###### map1
335
+
336
+ ```python
337
+ def map1(scope, contextresolvable, resultresolvable)
338
+ ```
339
+
340
+ Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.
341
+
332
342
  <a id="aridity.functions.join"></a>
333
343
 
334
344
  ###### join
@@ -110,6 +110,7 @@ def map_(scope, objsresolvable, *args):
110
110
  return result
111
111
 
112
112
  def map1(scope, contextresolvable, resultresolvable):
113
+ 'Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.'
113
114
  from .scope import ScalarScope, Scope
114
115
  context = contextresolvable.resolve(scope)
115
116
  # FIXME: In scalar context case we need to propagate its resolve context.
@@ -1,19 +1,15 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 101
3
+ Version: 103
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
7
- Author-email: shrovis@foyono.com
7
+ Author-email: foyono <shrovis@foyono.com>
8
+ Requires-Python: >=3.11
8
9
  Description-Content-Type: text/markdown
9
- Requires-Dist: foyndation>=16
10
+ Requires-Dist: foyndation>=19
10
11
  Dynamic: author
11
- Dynamic: author-email
12
- Dynamic: description
13
- Dynamic: description-content-type
14
12
  Dynamic: home-page
15
- Dynamic: requires-dist
16
- Dynamic: summary
17
13
 
18
14
  # aridity
19
15
  DRY config and template system, easily extensible with Python.
@@ -346,6 +342,16 @@ If given 1 arg, evaluate it against every scope in `objsresolvable` and return t
346
342
  If given 2 args, the first is a variable name to which each scope is temporarily assigned.
347
343
  If given 3 args, the first two are variable names for scope key and scope respectively.
348
344
 
345
+ <a id="aridity.functions.map1"></a>
346
+
347
+ ###### map1
348
+
349
+ ```python
350
+ def map1(scope, contextresolvable, resultresolvable)
351
+ ```
352
+
353
+ Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.
354
+
349
355
  <a id="aridity.functions.join"></a>
350
356
 
351
357
  ###### join
@@ -1,4 +1,5 @@
1
1
  README.md
2
+ pyproject.toml
2
3
  setup.py
3
4
  aridity/__init__.py
4
5
  aridity/arid_config.py
@@ -0,0 +1 @@
1
+ foyndation>=19
@@ -0,0 +1,18 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+
4
+ [project]
5
+ authors = [{name = "foyono", email = "shrovis@foyono.com"}]
6
+ dependencies = [
7
+ "foyndation>=19",
8
+ ]
9
+ description = "DRY config and template system, easily extensible with Python"
10
+ name = "aridity"
11
+ readme = "README.md"
12
+ requires-python = ">=3.11"
13
+ version = "103"
14
+
15
+ [project.scripts]
16
+ aridity = "aridity.__init__:main"
17
+ arid-config = "aridity.arid_config:main"
18
+ processtemplate = "aridity.processtemplate:main"
@@ -49,13 +49,12 @@ class SourceInfo:
49
49
  sourceinfo = SourceInfo('.')
50
50
  setup(
51
51
  name = 'aridity',
52
- version = '101',
52
+ version = '103',
53
53
  description = 'DRY config and template system, easily extensible with Python',
54
54
  url = 'https://pypi.org/project/aridity/',
55
55
  author = 'foyono',
56
56
  author_email = 'shrovis@foyono.com',
57
57
  py_modules = [],
58
- install_requires = ['foyndation>=16'],
59
58
  package_data = {'': ['*.pxd', '*.pyx', '*.pyxbld', '*.arid', '*.aridt']},
60
59
  entry_points = {'console_scripts': ['aridity=aridity.__init__:main', 'arid-config=aridity.arid_config:main', 'processtemplate=aridity.processtemplate:main']},
61
60
  **sourceinfo.setup_kwargs(),
@@ -1 +0,0 @@
1
- foyndation>=16
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