autonomous-app 0.3.19__tar.gz → 0.3.21__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 (71) hide show
  1. {autonomous_app-0.3.19/src/autonomous_app.egg-info → autonomous_app-0.3.21}/PKG-INFO +1 -24
  2. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/pyproject.toml +6 -1
  3. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/__init__.py +1 -1
  4. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/audioagent.py +5 -0
  5. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/models/gemini.py +92 -31
  6. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/fields.py +1 -1
  7. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/model/automodel.py +0 -7
  8. {autonomous_app-0.3.19 → autonomous_app-0.3.21/src/autonomous_app.egg-info}/PKG-INFO +1 -24
  9. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous_app.egg-info/SOURCES.txt +0 -1
  10. autonomous_app-0.3.19/LICENSE +0 -21
  11. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/README.md +0 -0
  12. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/requirements.txt +0 -0
  13. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/setup.cfg +0 -0
  14. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/setup.py +0 -0
  15. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/__init__.py +0 -0
  16. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/baseagent.py +0 -0
  17. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/imageagent.py +0 -0
  18. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/jsonagent.py +0 -0
  19. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/models/__init__.py +0 -0
  20. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/models/aws.py +0 -0
  21. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/models/deepseek.py +0 -0
  22. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/models/local.py +0 -0
  23. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/models/openai.py +0 -0
  24. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/ai/textagent.py +0 -0
  25. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/apis/version_control/GHCallbacks.py +0 -0
  26. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/apis/version_control/GHOrganization.py +0 -0
  27. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/apis/version_control/GHRepo.py +0 -0
  28. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/apis/version_control/GHVersionControl.py +0 -0
  29. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/apis/version_control/__init__.py +0 -0
  30. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/auth/__init__.py +0 -0
  31. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/auth/autoauth.py +0 -0
  32. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/auth/github.py +0 -0
  33. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/auth/google.py +0 -0
  34. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/auth/user.py +0 -0
  35. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/cli.py +0 -0
  36. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/__init__.py +0 -0
  37. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/base/__init__.py +0 -0
  38. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/base/common.py +0 -0
  39. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/base/datastructures.py +0 -0
  40. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/base/document.py +0 -0
  41. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/base/fields.py +0 -0
  42. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/base/metaclasses.py +0 -0
  43. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/base/utils.py +0 -0
  44. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/common.py +0 -0
  45. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/connection.py +0 -0
  46. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/context_managers.py +0 -0
  47. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/dereference.py +0 -0
  48. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/document.py +0 -0
  49. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/errors.py +0 -0
  50. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/mongodb_support.py +0 -0
  51. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/pymongo_support.py +0 -0
  52. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/queryset/__init__.py +0 -0
  53. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/queryset/base.py +0 -0
  54. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/queryset/field_list.py +0 -0
  55. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/queryset/manager.py +0 -0
  56. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/queryset/queryset.py +0 -0
  57. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/queryset/transform.py +0 -0
  58. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/queryset/visitor.py +0 -0
  59. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/db/signals.py +0 -0
  60. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/logger.py +0 -0
  61. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/model/__init__.py +0 -0
  62. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/model/autoattr.py +0 -0
  63. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/storage/__init__.py +0 -0
  64. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/storage/imagestorage.py +0 -0
  65. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/storage/localstorage.py +0 -0
  66. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/tasks/__init__.py +0 -0
  67. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/tasks/autotask.py +0 -0
  68. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous/utils/markdown.py +0 -0
  69. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous_app.egg-info/dependency_links.txt +0 -0
  70. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous_app.egg-info/requires.txt +0 -0
  71. {autonomous_app-0.3.19 → autonomous_app-0.3.21}/src/autonomous_app.egg-info/top_level.txt +0 -0
@@ -1,36 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: autonomous-app
3
- Version: 0.3.19
3
+ Version: 0.3.21
4
4
  Summary: Containerized application framework built on Flask with additional libraries and tools for rapid development of web applications.
5
5
  Author-email: Steven A Moore <samoore@binghamton.edu>
6
- License: MIT License
7
-
8
- Copyright (c) [2022] Steven Allen Moore
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
6
  Project-URL: homepage, https://github.com/Sallenmoore/autonomous
28
7
  Classifier: Programming Language :: Python :: 3.12
29
8
  Classifier: License :: OSI Approved :: MIT License
30
9
  Classifier: Operating System :: OS Independent
31
10
  Requires-Python: >=3.12
32
11
  Description-Content-Type: text/markdown
33
- License-File: LICENSE
34
12
  Requires-Dist: Flask
35
13
  Requires-Dist: setuptools
36
14
  Requires-Dist: python-dotenv
@@ -51,7 +29,6 @@ Requires-Dist: google-genai
51
29
  Requires-Dist: dateparser
52
30
  Requires-Dist: python-slugify
53
31
  Requires-Dist: pydub
54
- Dynamic: license-file
55
32
 
56
33
  # Autonomous
57
34
 
@@ -11,7 +11,7 @@ description = "Containerized application framework built on Flask with additiona
11
11
  dynamic = ["version", "dependencies"]
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.12"
14
- license={file = "LICENSE"}
14
+ #license = {text = "MIT License"}
15
15
  classifiers=[
16
16
  "Programming Language :: Python :: 3.12",
17
17
  "License :: OSI Approved :: MIT License",
@@ -21,6 +21,11 @@ classifiers=[
21
21
  [project.urls]
22
22
  homepage="https://github.com/Sallenmoore/autonomous"
23
23
 
24
+ [tool.setuptools]
25
+ # This prevents setuptools from adding the 'License-File' metadata key
26
+ # which is causing the "unrecognized field" error in twine.
27
+ license-files = []
28
+
24
29
  [tool.setuptools.dynamic]
25
30
  #https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
26
31
  version = {attr = "autonomous.__version__"}
@@ -1,4 +1,4 @@
1
- __version__ = "0.3.19"
1
+ __version__ = "0.3.21"
2
2
 
3
3
  from dotenv import load_dotenv
4
4
 
@@ -17,5 +17,10 @@ class AudioAgent(BaseAgent):
17
17
  def generate(self, prompt, **kwargs):
18
18
  return self.get_client().generate_audio(prompt, **kwargs)
19
19
 
20
+ ## DEPRECATED - use transcribe instead
20
21
  def generate_text(self, audio, **kwargs):
22
+ log("AudioAgent.generate_text is deprecated; use transcribe instead.")
23
+ return self.get_client().generate_audio_text(audio, **kwargs)
24
+
25
+ def transcribe(self, audio, **kwargs):
21
26
  return self.get_client().generate_audio_text(audio, **kwargs)
@@ -1,11 +1,14 @@
1
+ import datetime
1
2
  import io
2
3
  import json
3
4
  import os
4
5
  import random
5
6
  import wave
7
+ from http import client
6
8
 
7
9
  from google import genai
8
10
  from google.genai import types
11
+ from PIL import Image as PILImage
9
12
  from pydub import AudioSegment
10
13
 
11
14
  from autonomous import log
@@ -15,12 +18,14 @@ from autonomous.model.automodel import AutoModel
15
18
 
16
19
  class GeminiAIModel(AutoModel):
17
20
  _client = None
18
- _text_model = "gemini-2.5-pro"
21
+ _text_model = "gemini-3-pro-preview"
19
22
  _summary_model = "gemini-2.5-flash"
20
- _image_model = "gemini-2.5-flash-image-preview"
21
- _json_model = "gemini-2.5-pro"
22
- _stt_model = "gemini-2.5-flash"
23
+ _image_model = "gemini-3-pro-image-preview"
24
+ _json_model = "gemini-3-pro-preview"
25
+ _stt_model = "gemini-3-pro-preview"
23
26
  _tts_model = "gemini-2.5-flash-preview-tts"
27
+ MAX_FILES = 14
28
+
24
29
  messages = ListAttr(StringAttr(default=[]))
25
30
  name = StringAttr(default="agent")
26
31
  instructions = StringAttr(
@@ -33,7 +38,9 @@ class GeminiAIModel(AutoModel):
33
38
  @property
34
39
  def client(self):
35
40
  if not self._client:
41
+ # log("=== Initializing Gemini AI Client ===", _print=True)
36
42
  self._client = genai.Client(api_key=os.environ.get("GOOGLEAI_KEY"))
43
+ # log("=== Gemini AI Client Initialized ===", _print=True)
37
44
  return self._client
38
45
 
39
46
  def _add_function(self, user_function):
@@ -118,15 +125,40 @@ class GeminiAIModel(AutoModel):
118
125
  # log("=================== END REPORT ===================", _print=True)
119
126
  return response.text
120
127
 
121
- def generate_audio_text(self, audio_file):
128
+ def summarize_text(self, text, primer=""):
129
+ primer = primer or self.instructions
130
+ response = self.client.models.generate_content(
131
+ model=self._summary_model,
132
+ config=types.GenerateContentConfig(
133
+ system_instruction=f"{primer}",
134
+ ),
135
+ contents=text,
136
+ )
137
+ log(response)
138
+ try:
139
+ result = response.candidates[0].content.parts[0].text
140
+ except Exception as e:
141
+ log(f"{type(e)}:{e}\n\n Unable to generate content ====")
142
+ return None
143
+
144
+ return result
145
+
146
+ def generate_audio_text(
147
+ self, audio_file, prompt="Transcribe this audio clip", **kwargs
148
+ ):
149
+ myfile = self.client.files.upload(
150
+ file=io.BytesIO(audio_file),
151
+ config={
152
+ "mime_type": "audio/mp3",
153
+ "display_name": kwargs.get("display_name", "audio.mp3"),
154
+ },
155
+ )
156
+
122
157
  response = self.client.models.generate_content(
123
158
  model=self._stt_model,
124
159
  contents=[
125
- "Transcribe this audio clip",
126
- types.Part.from_bytes(
127
- data=audio_file,
128
- mime_type="audio/mp3",
129
- ),
160
+ prompt,
161
+ myfile,
130
162
  ],
131
163
  )
132
164
  return response.text
@@ -208,37 +240,66 @@ class GeminiAIModel(AutoModel):
208
240
 
209
241
  def generate_image(self, prompt, **kwargs):
210
242
  image = None
243
+ contents = [prompt]
244
+
245
+ if kwargs.get("files"):
246
+ counter = 0
247
+ for fn, f in kwargs.get("files").items():
248
+ media = io.BytesIO(f)
249
+ myfile = self.client.files.upload(
250
+ file=media, config={"mime_type": "image/webp", "display_name": fn}
251
+ )
252
+ contents += [myfile]
253
+ counter += 1
254
+ if counter >= self.MAX_FILES:
255
+ break
256
+
211
257
  try:
258
+ # log(self._image_model, contents, _print=True)
212
259
  response = self.client.models.generate_content(
213
260
  model=self._image_model,
214
- contents=[prompt],
261
+ contents=contents,
262
+ config=types.GenerateContentConfig(
263
+ safety_settings=[
264
+ types.SafetySetting(
265
+ category=types.HarmCategory.HARM_CATEGORY_HATE_SPEECH,
266
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
267
+ ),
268
+ types.SafetySetting(
269
+ category=types.HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
270
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
271
+ ),
272
+ types.SafetySetting(
273
+ category=types.HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
274
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
275
+ ),
276
+ types.SafetySetting(
277
+ category=types.HarmCategory.HARM_CATEGORY_HARASSMENT,
278
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
279
+ ),
280
+ types.SafetySetting(
281
+ category=types.HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY,
282
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
283
+ ),
284
+ ],
285
+ image_config=types.ImageConfig(
286
+ aspect_ratio=kwargs.get("aspect_ratio", "3:4"),
287
+ image_size=kwargs.get("image_size", "2K"),
288
+ ),
289
+ ),
215
290
  )
291
+ # log(response, _print=True)
292
+ # log(response.candidates[0], _print=True)
216
293
  image_parts = [
217
294
  part.inline_data.data
218
295
  for part in response.candidates[0].content.parts
219
296
  if part.inline_data
220
297
  ]
221
- # log(image_parts, _print=True)
222
298
  image = image_parts[0]
223
299
  except Exception as e:
224
- log(f"==== Error: Unable to create image ====\n\n{e}", _print=True)
300
+ log(
301
+ f"==== Error: Unable to create image ====\n\n{e}",
302
+ _print=True,
303
+ )
225
304
  raise e
226
305
  return image
227
-
228
- def summarize_text(self, text, primer=""):
229
- primer = primer or self.instructions
230
- response = self.client.models.generate_content(
231
- model=self._summary_model,
232
- config=types.GenerateContentConfig(
233
- system_instruction=f"{primer}",
234
- ),
235
- contents=text,
236
- )
237
- log(response)
238
- try:
239
- result = response.candidates[0].content.parts[0].text
240
- except Exception as e:
241
- log(f"{type(e)}:{e}\n\n Unable to generate content ====")
242
- return None
243
-
244
- return result
@@ -1493,7 +1493,7 @@ class GenericReferenceField(BaseField):
1493
1493
  get_document(value.get("_cls")), value.get("_ref")
1494
1494
  )
1495
1495
  except DoesNotExist:
1496
- log(f"{value} DoesNotExist")
1496
+ # log(f"{value} DoesNotExist")
1497
1497
  return
1498
1498
 
1499
1499
  if isinstance(value, Document):
@@ -16,7 +16,6 @@ username = urllib.parse.quote_plus(str(os.getenv("DB_USERNAME")))
16
16
  dbname = os.getenv("DB_DB")
17
17
  # log(f"Connecting to MongoDB at {host}:{port} with {username}:{password} for {dbname}")
18
18
  connect(host=f"mongodb://{username}:{password}@{host}:{port}/{dbname}?authSource=admin")
19
- # log(f"{db}")
20
19
 
21
20
 
22
21
  class AutoModel(Document):
@@ -114,12 +113,6 @@ class AutoModel(Document):
114
113
  visited_subclasses += [subclass]
115
114
  raise ValueError(f"Model {model} not found")
116
115
 
117
- @classmethod
118
- def get_model(cls, model, pk=None):
119
- # log(model, pk)
120
- Model = cls.load_model(model)
121
- return Model.get(pk) if Model and pk else Model
122
-
123
116
  @classmethod
124
117
  def get(cls, pk):
125
118
  """
@@ -1,36 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: autonomous-app
3
- Version: 0.3.19
3
+ Version: 0.3.21
4
4
  Summary: Containerized application framework built on Flask with additional libraries and tools for rapid development of web applications.
5
5
  Author-email: Steven A Moore <samoore@binghamton.edu>
6
- License: MIT License
7
-
8
- Copyright (c) [2022] Steven Allen Moore
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
6
  Project-URL: homepage, https://github.com/Sallenmoore/autonomous
28
7
  Classifier: Programming Language :: Python :: 3.12
29
8
  Classifier: License :: OSI Approved :: MIT License
30
9
  Classifier: Operating System :: OS Independent
31
10
  Requires-Python: >=3.12
32
11
  Description-Content-Type: text/markdown
33
- License-File: LICENSE
34
12
  Requires-Dist: Flask
35
13
  Requires-Dist: setuptools
36
14
  Requires-Dist: python-dotenv
@@ -51,7 +29,6 @@ Requires-Dist: google-genai
51
29
  Requires-Dist: dateparser
52
30
  Requires-Dist: python-slugify
53
31
  Requires-Dist: pydub
54
- Dynamic: license-file
55
32
 
56
33
  # Autonomous
57
34
 
@@ -1,4 +1,3 @@
1
- LICENSE
2
1
  README.md
3
2
  pyproject.toml
4
3
  requirements.txt
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) [2022] Steven Allen Moore
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.