rlmodule 0.1.0__tar.gz → 0.1.5__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 (33) hide show
  1. rlmodule-0.1.5/LICENSE +30 -0
  2. {rlmodule-0.1.0 → rlmodule-0.1.5}/PKG-INFO +1 -1
  3. {rlmodule-0.1.0 → rlmodule-0.1.5}/pyproject.toml +1 -1
  4. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/__init__.py +1 -1
  5. rlmodule-0.1.5/rlmodule/skrl/torch/__init__.py +9 -0
  6. {rlmodule-0.1.0/rlmodule/skrl → rlmodule-0.1.5/rlmodule/skrl/torch}/examples/gymnasium/skrl_gymnasium_pendulum.py +39 -48
  7. rlmodule-0.1.5/rlmodule/skrl/torch/network/__init__.py +8 -0
  8. rlmodule-0.1.5/rlmodule/skrl/torch/output_layer/__init__.py +5 -0
  9. rlmodule-0.1.0/rlmodule/source/model_builder.py → rlmodule-0.1.5/rlmodule/source/build.py +1 -1
  10. rlmodule-0.1.0/rlmodule/source/modules.py → rlmodule-0.1.5/rlmodule/source/network.py +2 -2
  11. rlmodule-0.1.0/rlmodule/source/modules_cfg.py → rlmodule-0.1.5/rlmodule/source/network_cfg.py +2 -2
  12. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/output_layer.py +1 -1
  13. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/output_layer_cfg.py +1 -1
  14. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/rlmodel.py +9 -19
  15. rlmodule-0.1.0/rlmodule/source/model_cfg.py → rlmodule-0.1.5/rlmodule/source/rlmodel_cfg.py +8 -1
  16. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule.egg-info/PKG-INFO +1 -1
  17. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule.egg-info/SOURCES.txt +9 -6
  18. rlmodule-0.1.0/LICENSE +0 -21
  19. {rlmodule-0.1.0 → rlmodule-0.1.5}/README.md +0 -0
  20. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/skrl/__init__.py +0 -0
  21. {rlmodule-0.1.0/rlmodule/skrl → rlmodule-0.1.5/rlmodule/skrl/torch}/examples/gymnasium/skrl_gymnasium_pendulum_no_module.py +0 -0
  22. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/__init__.py +0 -0
  23. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/deprecated.py +0 -0
  24. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/model.py +0 -0
  25. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/nvidia_utils/__init__.py +0 -0
  26. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/nvidia_utils/configclass.py +0 -0
  27. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/nvidia_utils/dict.py +0 -0
  28. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/nvidia_utils/string.py +0 -0
  29. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule/source/utils.py +0 -0
  30. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule.egg-info/dependency_links.txt +0 -0
  31. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule.egg-info/requires.txt +0 -0
  32. {rlmodule-0.1.0 → rlmodule-0.1.5}/rlmodule.egg-info/top_level.txt +0 -0
  33. {rlmodule-0.1.0 → rlmodule-0.1.5}/setup.cfg +0 -0
rlmodule-0.1.5/LICENSE ADDED
@@ -0,0 +1,30 @@
1
+ Copyright (c) 2024 by Fabrica AI Corp.
2
+
3
+ All rights reserved.
4
+
5
+ SPDX-License-Identifier: BSD-3-Clause
6
+
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ 3. Neither the name of the copyright holder nor the names of its contributors
18
+ may be used to endorse or promote products derived from this software without
19
+ specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
25
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rlmodule
3
- Version: 0.1.0
3
+ Version: 0.1.5
4
4
  Summary: Flexible reinforcement learning models instantiators library
5
5
  Author: Lopatovsky
6
6
  Author-email: lopatovsky@gmail.com
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rlmodule"
3
- version = "0.1.0"
3
+ version = "0.1.5"
4
4
  description = "Flexible reinforcement learning models instantiators library"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.6"
@@ -1,4 +1,4 @@
1
1
  # TODO this is not very good way
2
2
  from .source.rlmodel import RLModel, SharedRLModel # noqa: F401, F403
3
3
  from .source.output_layer import GaussianLayer, DeterministicLayer # noqa: F401, F403
4
- from .source.modules import MLP # noqa: F401, F403
4
+ from .source.network import MLP # noqa: F401, F403
@@ -0,0 +1,9 @@
1
+ __all__ = [
2
+ "build_model"
3
+ "BaseRLCfg",
4
+ "RLModelCfg",
5
+ "SeparatedRLModelCfg",
6
+ "SharedRLModelCfg"
7
+ ]
8
+ from rlmodule.source.rlmodel_cfg import BaseRLCfg, RLModelCfg, SeparatedRLModelCfg, SharedRLModelCfg
9
+ from rlmodule.source.build import build_model
@@ -2,17 +2,10 @@ import gymnasium as gym
2
2
 
3
3
  import torch.nn as nn
4
4
 
5
- from rlmodule.source.model_cfg import SharedRLModelCfg
6
- from rlmodule.source.modules import RnnMlpWithForwardedInput
7
- from rlmodule.source.modules_cfg import LstmCfg, MlpCfg, RnnMlpCfg
8
- from rlmodule.source.output_layer_cfg import DeterministicLayerCfg, GaussianLayerCfg
9
- from rlmodule.source.model_builder import build_model
10
-
11
- # example how this could be called:
12
- # from rlmodule.skrl.torch.model import SharedRLModelCfg
13
- # from rlmodule.skrl.torch.module import LstmCfg
14
- # from rlmodule.skrl.torch.output_layer import DeterministicLayerCfg, GaussianLayerCfg
15
- # from rlmodule.skrl.torch import build_model
5
+ from rlmodule.skrl.torch import build_model, SharedRLModelCfg, RLModelCfg, SeparatedRLModelCfg
6
+ from rlmodule.skrl.torch.network import MlpCfg
7
+ from rlmodule.skrl.torch.output_layer import DeterministicLayerCfg, GaussianLayerCfg
8
+
16
9
 
17
10
  # import the skrl components to build the RL system
18
11
  from skrl.agents.torch.ppo import PPO, PPO_RNN, PPO_DEFAULT_CONFIG
@@ -38,7 +31,7 @@ set_seed() # e.g. `set_seed(42)` for fixed seed
38
31
  # (Done) Move things logically
39
32
  # (Done) Handle input shapes better?
40
33
  # (Done except Cnn) Convert all rest modules to use Configclass
41
- # Rearrange library in the way it can be used for other rllibs and for torch/jax?
34
+ # (Done) Rearrange library in the way it can be used for other rllibs and for torch/jax?
42
35
  # Create examples - mlp, rnn,gru,lstm, Lstmmlp, shared - separate , custom net by fcion
43
36
  # - examples from modules make in class header not function
44
37
  # WRITE README tutorial
@@ -47,6 +40,8 @@ set_seed() # e.g. `set_seed(42)` for fixed seed
47
40
  # extensive comments
48
41
  # Launch new version to pip
49
42
  # Import new version in Isaac-lab
43
+ # Change structure of source
44
+ # lazy linear? what is it ?
50
45
 
51
46
 
52
47
 
@@ -61,7 +56,7 @@ set_seed() # e.g. `set_seed(42)` for fixed seed
61
56
  # ),
62
57
  # mlp = MlpCfg(
63
58
  # hidden_units = [64, 64, 64],
64
- # activations = [nn.ReLU(), nn.ReLU(), nn.ReLU()],
59
+ # activations = [nn.ReLU, nn.ReLU, nn.ReLU],
65
60
  # ),
66
61
  # )
67
62
  # return RnnMlp(cfg)
@@ -72,7 +67,7 @@ def get_shared_model(env):
72
67
  net_cfg = MlpCfg(
73
68
  input_size = env.observation_space,
74
69
  hidden_units = [64, 64, 64],
75
- activations = [nn.ReLU(), nn.ReLU(), nn.ReLU()],
70
+ activations = [nn.ReLU, nn.ReLU, nn.ReLU],
76
71
  )
77
72
 
78
73
  # 2
@@ -95,7 +90,7 @@ def get_shared_model(env):
95
90
  # ),
96
91
  # mlp = MlpCfg(
97
92
  # hidden_units = [64, 64, 64],
98
- # activations = [nn.ReLU(), nn.ReLU(), nn.ReLU()],
93
+ # activations = [nn.ReLU, nn.ReLU, nn.ReLU],
99
94
  # ),
100
95
  # )
101
96
 
@@ -111,7 +106,7 @@ def get_shared_model(env):
111
106
  # ),
112
107
  # mlp = MlpCfg(
113
108
  # hidden_units = [64, 64, 64],
114
- # activations = [nn.ReLU(), nn.ReLU(), nn.ReLU()],
109
+ # activations = [nn.ReLU, nn.ReLU, nn.ReLU],
115
110
  # ),
116
111
  # )
117
112
 
@@ -167,40 +162,35 @@ def get_shared_model(env):
167
162
  return {'policy': model, 'value': model}
168
163
 
169
164
  # TODO Update separate model to configclass
170
- # def get_separate_model(env):
171
- # # instantiate the agent's models (function approximators).
172
- # params = {'input_size': env.observation_space,
173
- # 'hidden_units': [64, 64, 64],
174
- # 'activations': ['relu', 'relu', 'relu']
175
- # }
176
- # net = MLP(params)
177
-
178
- # policy_model = RLModel(
179
- # network=net,
180
- # device= device,
181
- # output_layer = GaussianLayer(
182
- # input_size=64, # TODO
183
- # output_size=env.action_space,
184
- # output_activation=nn.Tanh(),
185
- # clip_actions=False,
186
- # clip_log_std=True,
187
- # min_log_std=-1.2,
188
- # max_log_std=2,
189
- # initial_log_std=0.2,
190
- # ),
191
- # )
165
+ def get_separated_model(env):
166
+ net_cfg = MlpCfg(
167
+ input_size = env.observation_space,
168
+ hidden_units = [64, 64, 64],
169
+ activations = [nn.ReLU, nn.ReLU, nn.ReLU],
170
+ )
192
171
 
193
- # value_model = RLModel(
194
- # network=net,
195
- # device= device,
196
- # output_layer = DeterministicLayer(
197
- # input_size=64,
198
- # output_size=1,
199
- # output_activation=nn.Identity(),
200
- # ),
201
- # )
172
+ policy_model = build_model(
173
+ RLModelCfg(
174
+ network= net_cfg,
175
+ device= device,
176
+ output_layer= GaussianLayerCfg(
177
+ output_size=env.action_space,
178
+ min_log_std=-1.2,
179
+ max_log_std=2,
180
+ initial_log_std=0.2,
181
+ ),
182
+ )
183
+ )
184
+
185
+ value_model = build_model(
186
+ RLModelCfg(
187
+ network= net_cfg,
188
+ device= device,
189
+ output_layer= DeterministicLayerCfg(),
190
+ )
191
+ )
202
192
 
203
- # return {'policy': policy_model, 'value': value_model}
193
+ return {'policy': policy_model, 'value': value_model}
204
194
 
205
195
 
206
196
  # load and wrap the gymnasium environment.
@@ -221,6 +211,7 @@ device = env.device
221
211
  memory = RandomMemory(memory_size=1024, num_envs=env.num_envs, device=device)
222
212
 
223
213
  models = get_shared_model(env)
214
+ #models = get_separated_model(env)
224
215
 
225
216
  print(models)
226
217
 
@@ -0,0 +1,8 @@
1
+ __all__ = [
2
+ # modules:
3
+ "MLP", "RNN", "GRU", "LSTM", "RnnBase", "RnnMlp",
4
+ # configs:
5
+ "NetworkCfg", "MlpCfg", "RnnBaseCfg", "RnnCfg", "GruCfg", "LstmCfg", "RnnMlpCfg"
6
+ ]
7
+ from rlmodule.source.network import MLP, RNN, GRU, LSTM, RnnBase, RnnMlp
8
+ from rlmodule.source.network_cfg import NetworkCfg, MlpCfg, RnnBaseCfg, RnnCfg, GruCfg, LstmCfg, RnnMlpCfg
@@ -0,0 +1,5 @@
1
+ __all__ = [
2
+ "DeterministicLayerCfg",
3
+ "GaussianLayerCfg"
4
+ ]
5
+ from rlmodule.source.output_layer_cfg import DeterministicLayerCfg, GaussianLayerCfg
@@ -1,4 +1,4 @@
1
- from rlmodule.source.model_cfg import BaseRLCfg, RLModelCfg, SharedRLModelCfg
1
+ from rlmodule.source.rlmodel_cfg import BaseRLCfg, RLModelCfg, SharedRLModelCfg
2
2
  from rlmodule.source.utils import get_output_size
3
3
 
4
4
  #TODO this, or inside RLModel class that have a config passed
@@ -26,13 +26,13 @@ class MLP(nn.Module):
26
26
  # input layer
27
27
  layers = [
28
28
  nn.Linear(cfg.input_size, cfg.hidden_units[0]),
29
- cfg.activations[0],
29
+ cfg.activations[0](),
30
30
  ]
31
31
 
32
32
  # hidden layers
33
33
  for i in range(len(cfg.hidden_units) - 1):
34
34
  layers.append(nn.Linear(cfg.hidden_units[i], cfg.hidden_units[i + 1]))
35
- layers.append(cfg.activations[i + 1])
35
+ layers.append(cfg.activations[i + 1]())
36
36
 
37
37
  self.mlp = nn.Sequential(*layers)
38
38
 
@@ -6,7 +6,7 @@ from dataclasses import MISSING
6
6
  from collections.abc import Callable
7
7
  from typing import List, Sequence, Union
8
8
 
9
- from rlmodule.source.modules import GRU, LSTM, MLP, RNN, RnnBase, RnnMlp
9
+ from rlmodule.source.network import GRU, LSTM, MLP, RNN, RnnBase, RnnMlp
10
10
 
11
11
  # use isaac-lab native configclass if available to avoid it being declared twice
12
12
  try:
@@ -26,7 +26,7 @@ class MlpCfg(NetworkCfg):
26
26
  module: type[MLP] = MLP
27
27
 
28
28
  hidden_units: List[int] = MISSING
29
- activations: List[nn.Module] = MISSING
29
+ activations: List[type[nn.Module]] = MISSING
30
30
 
31
31
 
32
32
  @configclass
@@ -68,7 +68,7 @@ class GaussianLayer(OutputLayer):
68
68
 
69
69
  self.net = nn.Sequential(
70
70
  nn.Linear(input_size, cfg.output_size),
71
- cfg.output_activation
71
+ cfg.output_activation()
72
72
  )
73
73
 
74
74
  self.log_std_parameter = nn.Parameter(
@@ -23,7 +23,7 @@ class OutputLayerCfg:
23
23
  @configclass
24
24
  class GaussianLayerCfg(OutputLayerCfg):
25
25
  class_type: type[GaussianLayer] = GaussianLayer
26
- output_activation: nn.Module = nn.Tanh()
26
+ output_activation: type[nn.Module] = nn.Tanh
27
27
 
28
28
  clip_log_std: bool = True
29
29
  min_log_std: float = -20
@@ -78,13 +78,8 @@ class RLModel(Model):
78
78
  self._lstm = contains_rnn_module( self, nn.LSTM)
79
79
  self._rnn = contains_rnn_module( self, (nn.LSTM, nn.RNN, nn.GRU))
80
80
 
81
-
82
- print("!rnn: ", self._rnn)
83
- print("!lstm: ", self._lstm)
84
-
85
-
86
- print("!rnn: ", self._rnn)
87
- print("!lstm: ", self._lstm)
81
+ print("is rnn: ", self._rnn)
82
+ print("is lstm: ", self._lstm)
88
83
 
89
84
  # TODO(ll) one liner:
90
85
  # self.net = nn.Sequential(network, self._get_num_units_by_shape(self.output_shape), torch.nn.Tanh())
@@ -120,13 +115,6 @@ class RLModel(Model):
120
115
  else:
121
116
  return {}
122
117
 
123
- # TODO(ll) RNN & GRU has this simplier specification
124
- # def get_specification(self):
125
-
126
- # # batch size (N) is the number of envs
127
- # return {"rnn": {"sequence_length": self.sequence_length,
128
- # "sizes": [(self.num_layers, self.num_envs, self.hidden_size)]}} # hidden states (D ∗ num_layers, N, Hout)
129
-
130
118
  def get_entropy(self, role: str = "") -> torch.Tensor:
131
119
  """Compute and return the entropy of the model
132
120
 
@@ -163,14 +151,16 @@ class RLModel(Model):
163
151
  inputs: Mapping[str, Union[torch.Tensor, Any]],
164
152
  role: str = "") -> Tuple[torch.Tensor, Union[torch.Tensor, None], Mapping[str, Union[torch.Tensor, Any]]]:
165
153
 
154
+ states = inputs["states"]
155
+
166
156
  # TODO(ll) once shared model is design, you may rethink this to do by call some function pointer or whatever.
167
157
  # or consider inheritance GaussianModelRNN
168
158
  # TODO(ll) if one of the models is not rnn ... and PPO_RNN is called what happens?
169
159
  if self._rnn:
170
- output, output_dict = self.net(self._get_all_inputs(inputs), inputs.get('terminated', None), inputs['rnn'])
160
+ output, output_dict = self.net(states, inputs.get('terminated', None), inputs['rnn'])
171
161
  else:
172
162
 
173
- output = self.net(self._get_all_inputs(inputs))
163
+ output = self.net(states)
174
164
  output_dict = {}
175
165
 
176
166
  # TODO(ll) passing by independetly as together sequential has just one input in forward
@@ -188,7 +178,7 @@ class RLModel(Model):
188
178
 
189
179
  # TODO(ll) output scale removed .. check that tanh where is
190
180
  # return output * self.instantiator_output_scale, self.log_std_parameter, {}
191
- return output, self.log_std_parameter, output_dict
181
+ # return output, self.log_std_parameter, output_dict
192
182
 
193
183
  class SharedRLModel(Model):
194
184
  def __init__(self,
@@ -253,8 +243,8 @@ class SharedRLModel(Model):
253
243
  self._lstm = contains_rnn_module( self, nn.LSTM)
254
244
  self._rnn = contains_rnn_module( self, (nn.LSTM, nn.RNN, nn.GRU))
255
245
 
256
- print("!rnn: ", self._rnn)
257
- print("!lstm: ", self._lstm)
246
+ print("is rnn: ", self._rnn)
247
+ print("is lstm: ", self._lstm)
258
248
 
259
249
  # caching for shared forward pass for policy and value roles
260
250
  self._cached_states = None
@@ -30,4 +30,11 @@ class RLModelCfg(BaseRLCfg):
30
30
  class SharedRLModelCfg(BaseRLCfg):
31
31
  class_type: type[SharedRLModel] = SharedRLModel
32
32
  policy_output_layer: OutputLayerCfg = MISSING
33
- value_output_layer: OutputLayerCfg = MISSING
33
+ value_output_layer: OutputLayerCfg = MISSING
34
+
35
+
36
+ @configclass
37
+ class SeparatedRLModelCfg:
38
+ """Convenience class to hold two separate instances of RLModelCfg. One for policy and one for value model."""
39
+ policy: RLModelCfg = MISSING
40
+ value: RLModelCfg = MISSING
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rlmodule
3
- Version: 0.1.0
3
+ Version: 0.1.5
4
4
  Summary: Flexible reinforcement learning models instantiators library
5
5
  Author: Lopatovsky
6
6
  Author-email: lopatovsky@gmail.com
@@ -8,18 +8,21 @@ rlmodule.egg-info/dependency_links.txt
8
8
  rlmodule.egg-info/requires.txt
9
9
  rlmodule.egg-info/top_level.txt
10
10
  rlmodule/skrl/__init__.py
11
- rlmodule/skrl/examples/gymnasium/skrl_gymnasium_pendulum.py
12
- rlmodule/skrl/examples/gymnasium/skrl_gymnasium_pendulum_no_module.py
11
+ rlmodule/skrl/torch/__init__.py
12
+ rlmodule/skrl/torch/examples/gymnasium/skrl_gymnasium_pendulum.py
13
+ rlmodule/skrl/torch/examples/gymnasium/skrl_gymnasium_pendulum_no_module.py
14
+ rlmodule/skrl/torch/network/__init__.py
15
+ rlmodule/skrl/torch/output_layer/__init__.py
13
16
  rlmodule/source/__init__.py
17
+ rlmodule/source/build.py
14
18
  rlmodule/source/deprecated.py
15
19
  rlmodule/source/model.py
16
- rlmodule/source/model_builder.py
17
- rlmodule/source/model_cfg.py
18
- rlmodule/source/modules.py
19
- rlmodule/source/modules_cfg.py
20
+ rlmodule/source/network.py
21
+ rlmodule/source/network_cfg.py
20
22
  rlmodule/source/output_layer.py
21
23
  rlmodule/source/output_layer_cfg.py
22
24
  rlmodule/source/rlmodel.py
25
+ rlmodule/source/rlmodel_cfg.py
23
26
  rlmodule/source/utils.py
24
27
  rlmodule/source/nvidia_utils/__init__.py
25
28
  rlmodule/source/nvidia_utils/configclass.py
rlmodule-0.1.0/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 FabricaAI
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
File without changes
File without changes