bare-script 5.1.0__tar.gz → 5.1.2__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. {bare_script-5.1.0/src/bare_script.egg-info → bare_script-5.1.2}/PKG-INFO +16 -16
  2. {bare_script-5.1.0 → bare_script-5.1.2}/README.md +6 -8
  3. bare_script-5.1.2/pyproject.toml +43 -0
  4. bare_script-5.1.2/setup.cfg +4 -0
  5. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/include.py +11 -9
  6. {bare_script-5.1.0 → bare_script-5.1.2/src/bare_script.egg-info}/PKG-INFO +16 -16
  7. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script.egg-info/SOURCES.txt +0 -1
  8. bare_script-5.1.0/pyproject.toml +0 -2
  9. bare_script-5.1.0/setup.cfg +0 -38
  10. {bare_script-5.1.0 → bare_script-5.1.2}/LICENSE +0 -0
  11. {bare_script-5.1.0 → bare_script-5.1.2}/setup.py +0 -0
  12. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/__init__.py +0 -0
  13. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/__main__.py +0 -0
  14. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/bare.py +0 -0
  15. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/include_source.py +0 -0
  16. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/library.py +0 -0
  17. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/options.py +0 -0
  18. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/runtime.py +0 -0
  19. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/runtime_c.c +0 -0
  20. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script/value.py +0 -0
  21. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script.egg-info/dependency_links.txt +0 -0
  22. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script.egg-info/entry_points.txt +0 -0
  23. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script.egg-info/requires.txt +0 -0
  24. {bare_script-5.1.0 → bare_script-5.1.2}/src/bare_script.egg-info/top_level.txt +0 -0
@@ -1,21 +1,23 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bare-script
3
- Version: 5.1.0
4
- Summary: bare-script
5
- Home-page: https://github.com/craigahobbs/bare-script
6
- Author: Craig A. Hobbs
7
- Author-email: craigahobbs@gmail.com
8
- License: MIT
9
- Keywords: bare-script
3
+ Version: 5.1.2
4
+ Summary: BareScript; a lightweight scripting and expression language
5
+ Author-email: "Craig A. Hobbs" <craigahobbs@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/craigahobbs/bare-script-py
8
+ Keywords: expression,language,script
10
9
  Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Operating System :: OS Independent
13
- Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Programming Language :: Python :: 3.15
18
19
  Classifier: Topic :: Software Development :: Interpreters
20
+ Classifier: Topic :: Software Development :: Libraries
19
21
  Classifier: Topic :: Utilities
20
22
  Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
@@ -91,9 +93,9 @@ This outputs:
91
93
  includes a set of built-in functions for mathematical operations, object manipulation, array
92
94
  manipulation, regular expressions, HTTP fetch and more. The following example demonstrates the use
93
95
  of the
94
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch),
95
- [objectGet](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='Object'&objectget), and
96
- [arrayLength](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='Array'&arraylength)
96
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch),
97
+ [objectGet](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='object'&objectget), and
98
+ [arrayLength](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='array'&arraylength)
97
99
  functions.
98
100
 
99
101
  ``` python
@@ -200,12 +202,10 @@ bare script.bare
200
202
  ```
201
203
 
202
204
  **Note:** In the BareScript CLI, import statements and the
203
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
205
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
204
206
  function read non-URL paths from the local file system.
205
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
206
- calls with a non-URL path and a
207
- [request body](https://craigahobbs.github.io/bare-script-py/library/model.html#var.vName='SystemFetchRequest')
208
- write the body to the path.
207
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
208
+ calls with a non-URL path and a request body write the body to the path.
209
209
 
210
210
 
211
211
  ## MarkdownUp, a Markdown Viewer with BareScript
@@ -67,9 +67,9 @@ This outputs:
67
67
  includes a set of built-in functions for mathematical operations, object manipulation, array
68
68
  manipulation, regular expressions, HTTP fetch and more. The following example demonstrates the use
69
69
  of the
70
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch),
71
- [objectGet](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='Object'&objectget), and
72
- [arrayLength](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='Array'&arraylength)
70
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch),
71
+ [objectGet](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='object'&objectget), and
72
+ [arrayLength](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='array'&arraylength)
73
73
  functions.
74
74
 
75
75
  ``` python
@@ -176,12 +176,10 @@ bare script.bare
176
176
  ```
177
177
 
178
178
  **Note:** In the BareScript CLI, import statements and the
179
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
179
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
180
180
  function read non-URL paths from the local file system.
181
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
182
- calls with a non-URL path and a
183
- [request body](https://craigahobbs.github.io/bare-script-py/library/model.html#var.vName='SystemFetchRequest')
184
- write the body to the path.
181
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
182
+ calls with a non-URL path and a request body write the body to the path.
185
183
 
186
184
 
187
185
  ## MarkdownUp, a Markdown Viewer with BareScript
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "bare-script"
7
+ version = "5.1.2"
8
+ description = "BareScript; a lightweight scripting and expression language"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ keywords = ["expression", "language", "script"]
12
+ authors = [
13
+ {name = "Craig A. Hobbs", email = "craigahobbs@gmail.com"}
14
+ ]
15
+ classifiers = [
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Environment :: Console",
18
+ "Intended Audience :: Developers",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
25
+ "Programming Language :: Python :: 3.15",
26
+ "Topic :: Software Development :: Interpreters",
27
+ "Topic :: Software Development :: Libraries",
28
+ "Topic :: Utilities"
29
+ ]
30
+ dependencies = [
31
+ "urllib3 >= 2.5.0"
32
+ ]
33
+
34
+ [project.urls]
35
+ Homepage = "https://github.com/craigahobbs/bare-script-py"
36
+
37
+ [project.scripts]
38
+ bare = "bare_script.bare:main"
39
+
40
+ [tool.setuptools]
41
+ include-package-data = false
42
+ package-dir = {"" = "src"}
43
+ packages = ["bare_script"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -543,7 +543,7 @@ def schema_get_enum_values(types, enum_model):
543
543
  """
544
544
  Get an enum's values (inherited values first)
545
545
 
546
- :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__
546
+ :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__
547
547
  :type types: dict
548
548
  :param enum_model: The enum model
549
549
  :type enum_model: dict
@@ -558,7 +558,7 @@ def schema_get_referenced_types(types, type_name, referenced_types=None):
558
558
  """
559
559
  Get a user type's referenced type model
560
560
 
561
- :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__
561
+ :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__
562
562
  :type types: dict
563
563
  :param str type_name: The type name
564
564
  :param referenced_types: A map of referenced user type name to user type model to update
@@ -574,7 +574,7 @@ def schema_get_struct_members(types, struct):
574
574
  """
575
575
  Get a struct's members (inherited members first)
576
576
 
577
- :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__
577
+ :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__
578
578
  :type types: dict
579
579
  :param struct: The struct model
580
580
  :type struct: dict
@@ -589,7 +589,7 @@ def schema_validate(types, type_name, value, member_fqn=None):
589
589
  """
590
590
  Validate a value using a schema type model
591
591
 
592
- :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__
592
+ :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__
593
593
  :type types: dict
594
594
  :param str type_name: The type name
595
595
  :param value: The value to validate
@@ -614,7 +614,7 @@ def schema_doc_markdown(types, type_name, options=None):
614
614
  """
615
615
  Generate the Schema Markdown user type documentation as an array of Markdown text lines
616
616
 
617
- :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__
617
+ :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__
618
618
  :type types: dict
619
619
  :param str type_name: The type name
620
620
  :param options: The schema documentation options object
@@ -637,13 +637,14 @@ def schema_parse(text, types=None, filename=None, validate=None):
637
637
 
638
638
  :param text: The `Schema Markdown <https://craigahobbs.github.io/schema-markdown-js/language/>`__ text
639
639
  :type text: str or list(str)
640
- :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__ to update
640
+ :param types: The schema's
641
+ `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__ to update
641
642
  :type types: dict or None, optional
642
643
  :param filename: The file name (for error messages)
643
644
  :type filename: str or None, optional
644
645
  :param validate: If True (the default), validate the type model after parsing
645
646
  :type validate: bool or None, optional
646
- :return: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__
647
+ :return: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__
647
648
  :rtype: dict
648
649
  :raises SchemaParserError: A parsing error occurred
649
650
  """
@@ -663,7 +664,7 @@ def schema_type_model():
663
664
  """
664
665
  Get the Schema Markdown type model
665
666
 
666
- :return: The Schema Markdown `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__
667
+ :return: The Schema Markdown `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__
667
668
  :rtype: dict
668
669
  """
669
670
 
@@ -674,7 +675,8 @@ def schema_type_model_validate(types):
674
675
  """
675
676
  Validate a Schema Markdown type model
676
677
 
677
- :param types: The schema's `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'>`__ to validate
678
+ :param types: The schema's
679
+ `type model <https://craigahobbs.github.io/bare-script/model/#var.vName='Types'&var.vURL=''>`__ to validate
678
680
  :type types: dict
679
681
  :return: The validated type model
680
682
  :rtype: dict
@@ -1,21 +1,23 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bare-script
3
- Version: 5.1.0
4
- Summary: bare-script
5
- Home-page: https://github.com/craigahobbs/bare-script
6
- Author: Craig A. Hobbs
7
- Author-email: craigahobbs@gmail.com
8
- License: MIT
9
- Keywords: bare-script
3
+ Version: 5.1.2
4
+ Summary: BareScript; a lightweight scripting and expression language
5
+ Author-email: "Craig A. Hobbs" <craigahobbs@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/craigahobbs/bare-script-py
8
+ Keywords: expression,language,script
10
9
  Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Operating System :: OS Independent
13
- Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Programming Language :: Python :: 3.15
18
19
  Classifier: Topic :: Software Development :: Interpreters
20
+ Classifier: Topic :: Software Development :: Libraries
19
21
  Classifier: Topic :: Utilities
20
22
  Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
@@ -91,9 +93,9 @@ This outputs:
91
93
  includes a set of built-in functions for mathematical operations, object manipulation, array
92
94
  manipulation, regular expressions, HTTP fetch and more. The following example demonstrates the use
93
95
  of the
94
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch),
95
- [objectGet](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='Object'&objectget), and
96
- [arrayLength](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='Array'&arraylength)
96
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch),
97
+ [objectGet](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='object'&objectget), and
98
+ [arrayLength](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='array'&arraylength)
97
99
  functions.
98
100
 
99
101
  ``` python
@@ -200,12 +202,10 @@ bare script.bare
200
202
  ```
201
203
 
202
204
  **Note:** In the BareScript CLI, import statements and the
203
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
205
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
204
206
  function read non-URL paths from the local file system.
205
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
206
- calls with a non-URL path and a
207
- [request body](https://craigahobbs.github.io/bare-script-py/library/model.html#var.vName='SystemFetchRequest')
208
- write the body to the path.
207
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
208
+ calls with a non-URL path and a request body write the body to the path.
209
209
 
210
210
 
211
211
  ## MarkdownUp, a Markdown Viewer with BareScript
@@ -1,7 +1,6 @@
1
1
  LICENSE
2
2
  README.md
3
3
  pyproject.toml
4
- setup.cfg
5
4
  setup.py
6
5
  src/bare_script/__init__.py
7
6
  src/bare_script/__main__.py
@@ -1,2 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools", "wheel"]
@@ -1,38 +0,0 @@
1
- [metadata]
2
- name = bare-script
3
- version = 5.1.0
4
- url = https://github.com/craigahobbs/bare-script
5
- author = Craig A. Hobbs
6
- author_email = craigahobbs@gmail.com
7
- license = MIT
8
- description = bare-script
9
- long_description = file:README.md
10
- long_description_content_type = text/markdown
11
- keywords = bare-script
12
- classifiers =
13
- Development Status :: 5 - Production/Stable
14
- Intended Audience :: Developers
15
- Operating System :: OS Independent
16
- Programming Language :: Python :: 3.10
17
- Programming Language :: Python :: 3.11
18
- Programming Language :: Python :: 3.12
19
- Programming Language :: Python :: 3.13
20
- Programming Language :: Python :: 3.14
21
- Topic :: Software Development :: Interpreters
22
- Topic :: Utilities
23
-
24
- [options]
25
- packages = bare_script
26
- package_dir =
27
- = src
28
- install_requires =
29
- urllib3 >= 2.5.0
30
-
31
- [options.entry_points]
32
- console_scripts =
33
- bare = bare_script.bare:main
34
-
35
- [egg_info]
36
- tag_build =
37
- tag_date = 0
38
-
File without changes
File without changes