autonomous-app 0.3.19__tar.gz → 0.3.20__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.20}/PKG-INFO +1 -24
  2. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/pyproject.toml +6 -1
  3. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/__init__.py +1 -1
  4. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/audioagent.py +5 -0
  5. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/models/gemini.py +86 -31
  6. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/fields.py +1 -1
  7. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/model/automodel.py +0 -7
  8. {autonomous_app-0.3.19 → autonomous_app-0.3.20/src/autonomous_app.egg-info}/PKG-INFO +1 -24
  9. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/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.20}/README.md +0 -0
  12. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/requirements.txt +0 -0
  13. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/setup.cfg +0 -0
  14. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/setup.py +0 -0
  15. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/__init__.py +0 -0
  16. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/baseagent.py +0 -0
  17. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/imageagent.py +0 -0
  18. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/jsonagent.py +0 -0
  19. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/models/__init__.py +0 -0
  20. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/models/aws.py +0 -0
  21. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/models/deepseek.py +0 -0
  22. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/models/local.py +0 -0
  23. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/models/openai.py +0 -0
  24. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/ai/textagent.py +0 -0
  25. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/apis/version_control/GHCallbacks.py +0 -0
  26. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/apis/version_control/GHOrganization.py +0 -0
  27. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/apis/version_control/GHRepo.py +0 -0
  28. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/apis/version_control/GHVersionControl.py +0 -0
  29. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/apis/version_control/__init__.py +0 -0
  30. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/auth/__init__.py +0 -0
  31. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/auth/autoauth.py +0 -0
  32. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/auth/github.py +0 -0
  33. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/auth/google.py +0 -0
  34. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/auth/user.py +0 -0
  35. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/cli.py +0 -0
  36. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/__init__.py +0 -0
  37. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/base/__init__.py +0 -0
  38. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/base/common.py +0 -0
  39. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/base/datastructures.py +0 -0
  40. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/base/document.py +0 -0
  41. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/base/fields.py +0 -0
  42. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/base/metaclasses.py +0 -0
  43. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/base/utils.py +0 -0
  44. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/common.py +0 -0
  45. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/connection.py +0 -0
  46. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/context_managers.py +0 -0
  47. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/dereference.py +0 -0
  48. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/document.py +0 -0
  49. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/errors.py +0 -0
  50. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/mongodb_support.py +0 -0
  51. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/pymongo_support.py +0 -0
  52. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/queryset/__init__.py +0 -0
  53. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/queryset/base.py +0 -0
  54. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/queryset/field_list.py +0 -0
  55. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/queryset/manager.py +0 -0
  56. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/queryset/queryset.py +0 -0
  57. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/queryset/transform.py +0 -0
  58. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/queryset/visitor.py +0 -0
  59. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/db/signals.py +0 -0
  60. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/logger.py +0 -0
  61. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/model/__init__.py +0 -0
  62. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/model/autoattr.py +0 -0
  63. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/storage/__init__.py +0 -0
  64. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/storage/imagestorage.py +0 -0
  65. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/storage/localstorage.py +0 -0
  66. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/tasks/__init__.py +0 -0
  67. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/tasks/autotask.py +0 -0
  68. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous/utils/markdown.py +0 -0
  69. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous_app.egg-info/dependency_links.txt +0 -0
  70. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/src/autonomous_app.egg-info/requires.txt +0 -0
  71. {autonomous_app-0.3.19 → autonomous_app-0.3.20}/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.20
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.20"
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,11 +18,11 @@ 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"
24
27
  messages = ListAttr(StringAttr(default=[]))
25
28
  name = StringAttr(default="agent")
@@ -33,7 +36,9 @@ class GeminiAIModel(AutoModel):
33
36
  @property
34
37
  def client(self):
35
38
  if not self._client:
39
+ # log("=== Initializing Gemini AI Client ===", _print=True)
36
40
  self._client = genai.Client(api_key=os.environ.get("GOOGLEAI_KEY"))
41
+ # log("=== Gemini AI Client Initialized ===", _print=True)
37
42
  return self._client
38
43
 
39
44
  def _add_function(self, user_function):
@@ -118,15 +123,40 @@ class GeminiAIModel(AutoModel):
118
123
  # log("=================== END REPORT ===================", _print=True)
119
124
  return response.text
120
125
 
121
- def generate_audio_text(self, audio_file):
126
+ def summarize_text(self, text, primer=""):
127
+ primer = primer or self.instructions
128
+ response = self.client.models.generate_content(
129
+ model=self._summary_model,
130
+ config=types.GenerateContentConfig(
131
+ system_instruction=f"{primer}",
132
+ ),
133
+ contents=text,
134
+ )
135
+ log(response)
136
+ try:
137
+ result = response.candidates[0].content.parts[0].text
138
+ except Exception as e:
139
+ log(f"{type(e)}:{e}\n\n Unable to generate content ====")
140
+ return None
141
+
142
+ return result
143
+
144
+ def generate_audio_text(
145
+ self, audio_file, prompt="Transcribe this audio clip", **kwargs
146
+ ):
147
+ myfile = self.client.files.upload(
148
+ file=io.BytesIO(audio_file),
149
+ config={
150
+ "mime_type": "audio/mp3",
151
+ "display_name": kwargs.get("display_name", "audio.mp3"),
152
+ },
153
+ )
154
+
122
155
  response = self.client.models.generate_content(
123
156
  model=self._stt_model,
124
157
  contents=[
125
- "Transcribe this audio clip",
126
- types.Part.from_bytes(
127
- data=audio_file,
128
- mime_type="audio/mp3",
129
- ),
158
+ prompt,
159
+ myfile,
130
160
  ],
131
161
  )
132
162
  return response.text
@@ -208,37 +238,62 @@ class GeminiAIModel(AutoModel):
208
238
 
209
239
  def generate_image(self, prompt, **kwargs):
210
240
  image = None
241
+ contents = [prompt]
242
+
243
+ if kwargs.get("files"):
244
+ for fn, f in kwargs.get("files").items():
245
+ media = io.BytesIO(f)
246
+ myfile = self.client.files.upload(
247
+ file=media, config={"mime_type": "image/webp", "display_name": fn}
248
+ )
249
+ contents += [myfile]
250
+
211
251
  try:
252
+ # log(self._image_model, contents, _print=True)
212
253
  response = self.client.models.generate_content(
213
254
  model=self._image_model,
214
- contents=[prompt],
255
+ contents=contents,
256
+ config=types.GenerateContentConfig(
257
+ safety_settings=[
258
+ types.SafetySetting(
259
+ category=types.HarmCategory.HARM_CATEGORY_HATE_SPEECH,
260
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
261
+ ),
262
+ types.SafetySetting(
263
+ category=types.HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
264
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
265
+ ),
266
+ types.SafetySetting(
267
+ category=types.HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
268
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
269
+ ),
270
+ types.SafetySetting(
271
+ category=types.HarmCategory.HARM_CATEGORY_HARASSMENT,
272
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
273
+ ),
274
+ types.SafetySetting(
275
+ category=types.HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY,
276
+ threshold=types.HarmBlockThreshold.BLOCK_NONE,
277
+ ),
278
+ ],
279
+ image_config=types.ImageConfig(
280
+ aspect_ratio=kwargs.get("aspect_ratio", "3:4"),
281
+ image_size=kwargs.get("image_size", "2K"),
282
+ ),
283
+ ),
215
284
  )
285
+ # log(response, _print=True)
286
+ # log(response.candidates[0], _print=True)
216
287
  image_parts = [
217
288
  part.inline_data.data
218
289
  for part in response.candidates[0].content.parts
219
290
  if part.inline_data
220
291
  ]
221
- # log(image_parts, _print=True)
222
292
  image = image_parts[0]
223
293
  except Exception as e:
224
- log(f"==== Error: Unable to create image ====\n\n{e}", _print=True)
294
+ log(
295
+ f"==== Error: Unable to create image ====\n\n{e}",
296
+ _print=True,
297
+ )
225
298
  raise e
226
299
  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.20
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.