GrammaticalEvolutionTools 1.1.0a1__tar.gz → 1.1.0.dev3__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 (60) hide show
  1. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/PKG-INFO +47 -29
  2. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/README.md +46 -28
  3. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/pyproject.toml +1 -1
  4. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/LICENSE +0 -0
  5. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/__init__.py +0 -0
  6. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/agents/__init__.py +0 -0
  7. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/agents/agent.py +0 -0
  8. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/agents/agent_program.py +0 -0
  9. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/evolution/__init__.py +0 -0
  10. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/evolution/cross_over.py +0 -0
  11. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/evolution/mutation.py +0 -0
  12. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/grammars/__init__.py +0 -0
  13. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/grammars/grammar.py +0 -0
  14. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/grammars/grammar_node.py +0 -0
  15. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/meta/__init__.py +0 -0
  16. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/meta/base_node.py +0 -0
  17. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/meta/meta.py +0 -0
  18. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/__init__.py +0 -0
  19. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/base/__init__.py +0 -0
  20. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/base/program_node.py +0 -0
  21. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/base/program_tree.py +0 -0
  22. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/__init__.py +0 -0
  23. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/grammar/__init__.py +0 -0
  24. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/grammar/grammar_program_addin.py +0 -0
  25. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/grammar/node_converter.py +0 -0
  26. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/__init__.py +0 -0
  27. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/__init__.py +0 -0
  28. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/executable_node.py +0 -0
  29. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/non_terminal_node.py +0 -0
  30. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/root_node.py +0 -0
  31. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/terminal_node.py +0 -0
  32. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/__init__.py +0 -0
  33. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/factor_node.py +0 -0
  34. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/integer_node.py +0 -0
  35. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/number_node.py +0 -0
  36. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/rand_int_node.py +0 -0
  37. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/__init__.py +0 -0
  38. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/condition_node.py +0 -0
  39. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/repeat_node.py +0 -0
  40. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/sequential_node.py +0 -0
  41. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/__init__.py +0 -0
  42. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/__init__.py +0 -0
  43. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/animation.py +0 -0
  44. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/layout.py +0 -0
  45. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/__init__.py +0 -0
  46. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/mixins/__init__.py +0 -0
  47. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/mixins/reward.py +0 -0
  48. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/world_object.py +0 -0
  49. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/position.py +0 -0
  50. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/world.py +0 -0
  51. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/__init__.py +0 -0
  52. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_layout.py +0 -0
  53. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_position.py +0 -0
  54. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world.py +0 -0
  55. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_agent.py +0 -0
  56. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_animation.py +0 -0
  57. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_object.py +0 -0
  58. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_reward.py +0 -0
  59. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/hex_world/__init__.py +0 -0
  60. {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/open_world/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GrammaticalEvolutionTools
3
- Version: 1.1.0a1
3
+ Version: 1.1.0.dev3
4
4
  Summary: This package contains several tools for quickly setting up worlds and agents for Grammatical Evolution Projects.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -19,24 +19,25 @@ Description-Content-Type: text/markdown
19
19
 
20
20
  # Grammatical Evolution Tools
21
21
 
22
- [![Python Version](https://img.shields.io/badge/python-3.14+-blue)](https://www.python.org/downloads/)
23
- [![Version](https://img.shields.io/badge/Version-1.1.0a1-blue)](https://github.com/n-smith-byu/GrammaticalEvolutionTools)
22
+ [![Python Version](https://img.shields.io/badge/python-3.13+-blue)](https://www.python.org/downloads/)
23
+ [![PyPI](https://img.shields.io/pypi/v/GrammaticalEvolutionTools)](https://pypi.org/project/GrammaticalEvolutionTools/)
24
24
  [![GitHub License](https://img.shields.io/badge/License-MIT-green)](https://github.com/n-smith-byu/GrammaticalEvolutionTools/blob/main/LICENSE)
25
- [![Documentation](https://img.shields.io/badge/docs-under--construction-yellow)](https://img.shields.io/badge/docs-under--construction-yellow)
26
- ![Tests](https://img.shields.io/badge/tests-under--construction-yellow)
25
+ ![Docs](https://img.shields.io/badge/docs-coming--soon-yellow)
26
+ ![Tests](https://img.shields.io/badge/tests-in--development-yellow)
27
27
 
28
28
 
29
- ---
30
-
31
29
  ## Table of Contents
32
30
  * [Introduction](#introduction)
33
31
  * [Features](#features)
32
+ * [Currently Available](#currently-available)
33
+ * [Coming Soon](#coming-soon)
34
34
  * [Installation](#installation)
35
- * [Prerequisites](#prerequisites)
36
- * [Core Package](#core-package)
37
- * [For Notebooks and Examples](#for-notebooks-and-examples)
38
- * [For Development](#for-development)
39
- * [Quick Start / Usage](#quick-start--usage)
35
+ * [PyPI](#pypi)
36
+ * [Local Development](#local-development)
37
+ * [Prerequisites](#prerequisites)
38
+ * [Core Package](#core-package)
39
+ * [For Notebooks and Examples](#for-notebooks-and-examples)
40
+ * [For Development](#for-development-tests-and-docs)
40
41
  * [Examples](#examples)
41
42
  * [Running Tests](#running-tests)
42
43
  * [Documentation](#documentation)
@@ -66,9 +67,32 @@ Whether you're building complex simulation environments or simple test cases, `g
66
67
 
67
68
  ## Installation
68
69
 
69
- Since this package is not yet published to PyPI, you will need to clone the repository and install it locally.
70
+ ### PyPI
71
+
72
+ This package is available on PyPI. You can install it with:
73
+ ```bash
74
+ pip install GrammaticalEvolutionTools
75
+ ```
76
+
77
+ For pre-releases, you may need to specify the version:
78
+ ```bash
79
+ pip install GrammaticalEvolutionTools==<VERSION>
80
+ ```
81
+
82
+ After installation:
70
83
 
71
- ### Prerequisites
84
+ ```python
85
+ import getools
86
+
87
+ from getools.worlds.grid_world import GridWorld
88
+ from getools.grammars import Grammar
89
+ ...
90
+ world = GridWorld(...)
91
+ ```
92
+
93
+ ### Local Development
94
+
95
+ #### Prerequisites
72
96
 
73
97
  This project uses [Poetry](https://python-poetry.org/) for dependency management and packaging. Before installing the package, ensure you have Poetry installed on your system.
74
98
 
@@ -85,42 +109,35 @@ pipx install poetry
85
109
 
86
110
  You can find more detailed installation instructions for Poetry on their official website: [Poetry Installation Guide](https://python-poetry.org/docs/#installation)
87
111
 
112
+ ---
88
113
 
89
- ### Core Package
114
+ #### Core Package
90
115
 
91
116
  To install the core package with only its essential dependencies (for integrating it into your own projects):
92
117
 
93
118
  ```bash
94
- # Clone the repository first
95
- git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
96
- cd getools
119
+ # Clone the repository
120
+ git clone https://github.com/n-smith-byu/GrammaticalEvolutionTools.git
121
+ cd GrammaticalEvolutionTools
97
122
 
98
- # Install the core package in editable mode
123
+ # Install the core package
99
124
  poetry install
100
125
  ```
101
126
 
102
- ### To Run Notebooks and Examples
127
+ #### For Notebooks and Examples
103
128
 
104
129
  If you plan to explore the provided examples or run the Jupyter notebooks, you'll need to install the package with the `examples` dependency group.
105
130
 
106
131
  ```bash
107
- # If you haven't already, clone the repository and navigate into it
108
- # git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
109
- # cd getools
110
-
111
132
  # Install the package with examples dependencies
112
133
  poetry install --with examples
113
134
  ```
114
135
 
115
- ### For Development
136
+ #### For Development (Tests and Docs)
116
137
 
117
138
  If you intend to modify the code, run tests, or build the documentation, install with the `dev` dependency group.
118
139
 
119
140
  ```bash
120
- # If you haven't already, clone the repository and navigate into it
121
- # git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
122
- # cd getools
123
-
124
141
  # Install in editable mode with dev dependencies
125
142
  poetry install --with dev
126
143
  ```
@@ -190,3 +207,4 @@ This project is licensed under the [MIT License](https://github.com/n-smith-byu/
190
207
 
191
208
  ---
192
209
 
210
+
@@ -1,23 +1,24 @@
1
1
  # Grammatical Evolution Tools
2
2
 
3
- [![Python Version](https://img.shields.io/badge/python-3.14+-blue)](https://www.python.org/downloads/)
4
- [![Version](https://img.shields.io/badge/Version-1.1.0a1-blue)](https://github.com/n-smith-byu/GrammaticalEvolutionTools)
3
+ [![Python Version](https://img.shields.io/badge/python-3.13+-blue)](https://www.python.org/downloads/)
4
+ [![PyPI](https://img.shields.io/pypi/v/GrammaticalEvolutionTools)](https://pypi.org/project/GrammaticalEvolutionTools/)
5
5
  [![GitHub License](https://img.shields.io/badge/License-MIT-green)](https://github.com/n-smith-byu/GrammaticalEvolutionTools/blob/main/LICENSE)
6
- [![Documentation](https://img.shields.io/badge/docs-under--construction-yellow)](https://img.shields.io/badge/docs-under--construction-yellow)
7
- ![Tests](https://img.shields.io/badge/tests-under--construction-yellow)
6
+ ![Docs](https://img.shields.io/badge/docs-coming--soon-yellow)
7
+ ![Tests](https://img.shields.io/badge/tests-in--development-yellow)
8
8
 
9
9
 
10
- ---
11
-
12
10
  ## Table of Contents
13
11
  * [Introduction](#introduction)
14
12
  * [Features](#features)
13
+ * [Currently Available](#currently-available)
14
+ * [Coming Soon](#coming-soon)
15
15
  * [Installation](#installation)
16
- * [Prerequisites](#prerequisites)
17
- * [Core Package](#core-package)
18
- * [For Notebooks and Examples](#for-notebooks-and-examples)
19
- * [For Development](#for-development)
20
- * [Quick Start / Usage](#quick-start--usage)
16
+ * [PyPI](#pypi)
17
+ * [Local Development](#local-development)
18
+ * [Prerequisites](#prerequisites)
19
+ * [Core Package](#core-package)
20
+ * [For Notebooks and Examples](#for-notebooks-and-examples)
21
+ * [For Development](#for-development-tests-and-docs)
21
22
  * [Examples](#examples)
22
23
  * [Running Tests](#running-tests)
23
24
  * [Documentation](#documentation)
@@ -47,9 +48,32 @@ Whether you're building complex simulation environments or simple test cases, `g
47
48
 
48
49
  ## Installation
49
50
 
50
- Since this package is not yet published to PyPI, you will need to clone the repository and install it locally.
51
+ ### PyPI
52
+
53
+ This package is available on PyPI. You can install it with:
54
+ ```bash
55
+ pip install GrammaticalEvolutionTools
56
+ ```
57
+
58
+ For pre-releases, you may need to specify the version:
59
+ ```bash
60
+ pip install GrammaticalEvolutionTools==<VERSION>
61
+ ```
62
+
63
+ After installation:
51
64
 
52
- ### Prerequisites
65
+ ```python
66
+ import getools
67
+
68
+ from getools.worlds.grid_world import GridWorld
69
+ from getools.grammars import Grammar
70
+ ...
71
+ world = GridWorld(...)
72
+ ```
73
+
74
+ ### Local Development
75
+
76
+ #### Prerequisites
53
77
 
54
78
  This project uses [Poetry](https://python-poetry.org/) for dependency management and packaging. Before installing the package, ensure you have Poetry installed on your system.
55
79
 
@@ -66,42 +90,35 @@ pipx install poetry
66
90
 
67
91
  You can find more detailed installation instructions for Poetry on their official website: [Poetry Installation Guide](https://python-poetry.org/docs/#installation)
68
92
 
93
+ ---
69
94
 
70
- ### Core Package
95
+ #### Core Package
71
96
 
72
97
  To install the core package with only its essential dependencies (for integrating it into your own projects):
73
98
 
74
99
  ```bash
75
- # Clone the repository first
76
- git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
77
- cd getools
100
+ # Clone the repository
101
+ git clone https://github.com/n-smith-byu/GrammaticalEvolutionTools.git
102
+ cd GrammaticalEvolutionTools
78
103
 
79
- # Install the core package in editable mode
104
+ # Install the core package
80
105
  poetry install
81
106
  ```
82
107
 
83
- ### To Run Notebooks and Examples
108
+ #### For Notebooks and Examples
84
109
 
85
110
  If you plan to explore the provided examples or run the Jupyter notebooks, you'll need to install the package with the `examples` dependency group.
86
111
 
87
112
  ```bash
88
- # If you haven't already, clone the repository and navigate into it
89
- # git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
90
- # cd getools
91
-
92
113
  # Install the package with examples dependencies
93
114
  poetry install --with examples
94
115
  ```
95
116
 
96
- ### For Development
117
+ #### For Development (Tests and Docs)
97
118
 
98
119
  If you intend to modify the code, run tests, or build the documentation, install with the `dev` dependency group.
99
120
 
100
121
  ```bash
101
- # If you haven't already, clone the repository and navigate into it
102
- # git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
103
- # cd getools
104
-
105
122
  # Install in editable mode with dev dependencies
106
123
  poetry install --with dev
107
124
  ```
@@ -170,3 +187,4 @@ This project is licensed under the [MIT License](https://github.com/n-smith-byu/
170
187
 
171
188
 
172
189
  ---
190
+
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "GrammaticalEvolutionTools"
3
- version = "1.1.0a1"
3
+ version = "1.1.0.dev3"
4
4
  description = "This package contains several tools for quickly setting up worlds and agents for Grammatical Evolution Projects."
5
5
  authors = ["Nick Smith <nicholas.smith0014@gmail.com>"]
6
6
  license = "MIT"