bare-script 5.1.0__tar.gz → 5.1.1__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 (22) hide show
  1. {bare_script-5.1.0/src/bare_script.egg-info → bare_script-5.1.1}/PKG-INFO +7 -9
  2. {bare_script-5.1.0 → bare_script-5.1.1}/README.md +6 -8
  3. {bare_script-5.1.0 → bare_script-5.1.1}/setup.cfg +1 -1
  4. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/include.py +11 -9
  5. {bare_script-5.1.0 → bare_script-5.1.1/src/bare_script.egg-info}/PKG-INFO +7 -9
  6. {bare_script-5.1.0 → bare_script-5.1.1}/LICENSE +0 -0
  7. {bare_script-5.1.0 → bare_script-5.1.1}/pyproject.toml +0 -0
  8. {bare_script-5.1.0 → bare_script-5.1.1}/setup.py +0 -0
  9. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/__init__.py +0 -0
  10. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/__main__.py +0 -0
  11. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/bare.py +0 -0
  12. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/include_source.py +0 -0
  13. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/library.py +0 -0
  14. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/options.py +0 -0
  15. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/runtime.py +0 -0
  16. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/runtime_c.c +0 -0
  17. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script/value.py +0 -0
  18. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script.egg-info/SOURCES.txt +0 -0
  19. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script.egg-info/dependency_links.txt +0 -0
  20. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script.egg-info/entry_points.txt +0 -0
  21. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script.egg-info/requires.txt +0 -0
  22. {bare_script-5.1.0 → bare_script-5.1.1}/src/bare_script.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bare-script
3
- Version: 5.1.0
3
+ Version: 5.1.1
4
4
  Summary: bare-script
5
5
  Home-page: https://github.com/craigahobbs/bare-script
6
6
  Author: Craig A. Hobbs
@@ -91,9 +91,9 @@ This outputs:
91
91
  includes a set of built-in functions for mathematical operations, object manipulation, array
92
92
  manipulation, regular expressions, HTTP fetch and more. The following example demonstrates the use
93
93
  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)
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)
97
97
  functions.
98
98
 
99
99
  ``` python
@@ -200,12 +200,10 @@ bare script.bare
200
200
  ```
201
201
 
202
202
  **Note:** In the BareScript CLI, import statements and the
203
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
203
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
204
204
  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.
205
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
206
+ calls with a non-URL path and a request body write the body to the path.
209
207
 
210
208
 
211
209
  ## 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
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = bare-script
3
- version = 5.1.0
3
+ version = 5.1.1
4
4
  url = https://github.com/craigahobbs/bare-script
5
5
  author = Craig A. Hobbs
6
6
  author_email = craigahobbs@gmail.com
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bare-script
3
- Version: 5.1.0
3
+ Version: 5.1.1
4
4
  Summary: bare-script
5
5
  Home-page: https://github.com/craigahobbs/bare-script
6
6
  Author: Craig A. Hobbs
@@ -91,9 +91,9 @@ This outputs:
91
91
  includes a set of built-in functions for mathematical operations, object manipulation, array
92
92
  manipulation, regular expressions, HTTP fetch and more. The following example demonstrates the use
93
93
  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)
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)
97
97
  functions.
98
98
 
99
99
  ``` python
@@ -200,12 +200,10 @@ bare script.bare
200
200
  ```
201
201
 
202
202
  **Note:** In the BareScript CLI, import statements and the
203
- [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='System'&systemfetch)
203
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
204
204
  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.
205
+ [systemFetch](https://craigahobbs.github.io/bare-script-py/library/#var.vGroup='system'&systemfetch)
206
+ calls with a non-URL path and a request body write the body to the path.
209
207
 
210
208
 
211
209
  ## MarkdownUp, a Markdown Viewer with BareScript
File without changes
File without changes
File without changes