kalibr 1.1.3a0__py3-none-any.whl → 1.4.0__py3-none-any.whl

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.
@@ -29,6 +29,8 @@ try:
29
29
  except ImportError:
30
30
  CostAdapterFactory = None
31
31
 
32
+ from kalibr.context import get_goal
33
+
32
34
  # Import tiktoken for token counting
33
35
  try:
34
36
  import tiktoken
@@ -288,6 +290,25 @@ class KalibrCallbackHandler(BaseCallbackHandler):
288
290
  # Compute cost
289
291
  cost_usd = self._compute_cost(provider, model, input_tokens, output_tokens)
290
292
 
293
+ # Extract tool_id from operation if this is a tool span
294
+ tool_id = ""
295
+ tool_input = ""
296
+ tool_output = ""
297
+
298
+ if span.get("span_type") == "tool":
299
+ operation = span.get("operation", "")
300
+ if operation.startswith("tool:"):
301
+ tool_id = operation[5:] # Extract "browserless" from "tool:browserless"
302
+
303
+ # Get tool input/output from span (truncate to 10KB)
304
+ if span.get("input"):
305
+ tool_input = str(span["input"])[:10000]
306
+ if metadata and metadata.get("output"):
307
+ tool_output = str(metadata["output"])[:10000]
308
+
309
+ # Get goal from context (thread-safe)
310
+ current_goal = get_goal() or ""
311
+
291
312
  # Build event
292
313
  event = {
293
314
  "schema_version": "1.0",
@@ -318,6 +339,11 @@ class KalibrCallbackHandler(BaseCallbackHandler):
318
339
  "service": self.service,
319
340
  "runtime_env": os.getenv("RUNTIME_ENV", "local"),
320
341
  "sandbox_id": os.getenv("SANDBOX_ID", "local"),
342
+ # New fields for tool/goal tracking
343
+ "tool_id": tool_id,
344
+ "tool_input": tool_input,
345
+ "tool_output": tool_output,
346
+ "goal": current_goal,
321
347
  "metadata": {
322
348
  **self.default_metadata,
323
349
  "span_type": span.get("span_type", "llm"),
@@ -0,0 +1,103 @@
1
+ """
2
+ Kalibr LangChain Chat Model - Routes requests through Kalibr.
3
+ """
4
+
5
+ from typing import Any, List, Optional
6
+
7
+ from langchain_core.callbacks import CallbackManagerForLLMRun
8
+ from langchain_core.language_models.chat_models import BaseChatModel
9
+ from langchain_core.messages import AIMessage, BaseMessage
10
+ from langchain_core.outputs import ChatGeneration, ChatResult
11
+
12
+
13
+ class KalibrChatModel(BaseChatModel):
14
+ """
15
+ LangChain chat model that routes through Kalibr.
16
+
17
+ Example:
18
+ from kalibr import Router
19
+
20
+ router = Router(goal="summarize", paths=["gpt-4o", "claude-3"])
21
+ llm = router.as_langchain()
22
+
23
+ chain = prompt | llm | parser
24
+ result = chain.invoke({"text": "..."})
25
+ """
26
+
27
+ router: Any # Kalibr Router instance
28
+
29
+ model_config = {"arbitrary_types_allowed": True}
30
+
31
+ @property
32
+ def _llm_type(self) -> str:
33
+ return "kalibr"
34
+
35
+ @property
36
+ def _identifying_params(self) -> dict:
37
+ return {"goal": self.router.goal}
38
+
39
+ def _generate(
40
+ self,
41
+ messages: List[BaseMessage],
42
+ stop: Optional[List[str]] = None,
43
+ run_manager: Optional[CallbackManagerForLLMRun] = None,
44
+ **kwargs: Any,
45
+ ) -> ChatResult:
46
+ """Generate a response using Kalibr routing."""
47
+
48
+ # Convert LangChain messages to OpenAI format
49
+ openai_messages = []
50
+ for m in messages:
51
+ role = self._get_role(m)
52
+ openai_messages.append({"role": role, "content": m.content})
53
+
54
+ # Add stop sequences if provided
55
+ if stop:
56
+ kwargs["stop"] = stop
57
+
58
+ # Call router
59
+ response = self.router.completion(messages=openai_messages, **kwargs)
60
+
61
+ # Convert response to LangChain format
62
+ content = response.choices[0].message.content or ""
63
+
64
+ return ChatResult(
65
+ generations=[
66
+ ChatGeneration(
67
+ message=AIMessage(content=content),
68
+ generation_info={
69
+ "model": response.model,
70
+ "finish_reason": response.choices[0].finish_reason,
71
+ },
72
+ )
73
+ ],
74
+ llm_output={
75
+ "model": response.model,
76
+ "usage": {
77
+ "prompt_tokens": response.usage.prompt_tokens,
78
+ "completion_tokens": response.usage.completion_tokens,
79
+ "total_tokens": response.usage.total_tokens,
80
+ } if hasattr(response, "usage") else {},
81
+ },
82
+ )
83
+
84
+ def _get_role(self, message: BaseMessage) -> str:
85
+ """Convert LangChain message type to OpenAI role."""
86
+ from langchain_core.messages import (
87
+ HumanMessage,
88
+ AIMessage,
89
+ SystemMessage,
90
+ FunctionMessage,
91
+ ToolMessage,
92
+ )
93
+
94
+ if isinstance(message, HumanMessage):
95
+ return "user"
96
+ elif isinstance(message, AIMessage):
97
+ return "assistant"
98
+ elif isinstance(message, SystemMessage):
99
+ return "system"
100
+ elif isinstance(message, (FunctionMessage, ToolMessage)):
101
+ return "function"
102
+ else:
103
+ return "user"
@@ -26,7 +26,7 @@ Usage:
26
26
 
27
27
  Environment Variables:
28
28
  KALIBR_API_KEY: API key for authentication
29
- KALIBR_ENDPOINT: Backend endpoint URL
29
+ KALIBR_COLLECTOR_URL: Backend endpoint URL
30
30
  KALIBR_TENANT_ID: Tenant identifier
31
31
  KALIBR_ENVIRONMENT: Environment (prod/staging/dev)
32
32
  KALIBR_SERVICE: Service name
@@ -1,236 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: kalibr
3
- Version: 1.1.3a0
4
- Summary: Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry.
5
- Author-email: Kalibr Team <team@kalibr.dev>
6
- License: MIT
7
- Project-URL: Homepage, https://github.com/kalibr-ai/kalibr-sdk-python
8
- Project-URL: Documentation, https://docs.kalibr.systems
9
- Project-URL: Repository, https://github.com/kalibr-ai/kalibr-sdk-python
10
- Project-URL: Issues, https://github.com/kalibr-ai/kalibr-sdk-python/issues
11
- Keywords: ai,mcp,gpt,claude,gemini,copilot,openai,anthropic,google,microsoft,observability,telemetry,tracing,llm,schema-generation,api,multi-model,langchain,crewai
12
- Classifier: Development Status :: 4 - Beta
13
- Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.8
17
- Classifier: Programming Language :: Python :: 3.9
18
- Classifier: Programming Language :: Python :: 3.10
19
- Classifier: Programming Language :: Python :: 3.11
20
- Classifier: Programming Language :: Python :: 3.12
21
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
- Requires-Python: >=3.8
24
- Description-Content-Type: text/markdown
25
- License-File: LICENSE
26
- Requires-Dist: httpx>=0.27.0
27
- Requires-Dist: tiktoken>=0.8.0
28
- Requires-Dist: fastapi>=0.110.1
29
- Requires-Dist: uvicorn>=0.25.0
30
- Requires-Dist: pydantic>=2.6.4
31
- Requires-Dist: typer>=0.9.0
32
- Requires-Dist: python-multipart>=0.0.9
33
- Requires-Dist: rich>=10.0.0
34
- Requires-Dist: requests>=2.31.0
35
- Requires-Dist: opentelemetry-api>=1.20.0
36
- Requires-Dist: opentelemetry-sdk>=1.20.0
37
- Requires-Dist: opentelemetry-exporter-otlp>=1.20.0
38
- Provides-Extra: langchain
39
- Requires-Dist: langchain-core>=0.1.0; extra == "langchain"
40
- Provides-Extra: langchain-openai
41
- Requires-Dist: langchain-core>=0.1.0; extra == "langchain-openai"
42
- Requires-Dist: langchain-openai>=0.1.0; extra == "langchain-openai"
43
- Provides-Extra: langchain-anthropic
44
- Requires-Dist: langchain-core>=0.1.0; extra == "langchain-anthropic"
45
- Requires-Dist: langchain-anthropic>=0.1.0; extra == "langchain-anthropic"
46
- Provides-Extra: langchain-google
47
- Requires-Dist: langchain-core>=0.1.0; extra == "langchain-google"
48
- Requires-Dist: langchain-google-genai>=0.0.10; extra == "langchain-google"
49
- Provides-Extra: langchain-all
50
- Requires-Dist: langchain-core>=0.1.0; extra == "langchain-all"
51
- Requires-Dist: langchain-openai>=0.1.0; extra == "langchain-all"
52
- Requires-Dist: langchain-anthropic>=0.1.0; extra == "langchain-all"
53
- Requires-Dist: langchain-google-genai>=0.0.10; extra == "langchain-all"
54
- Provides-Extra: crewai
55
- Requires-Dist: crewai>=0.28.0; extra == "crewai"
56
- Provides-Extra: openai-agents
57
- Requires-Dist: openai-agents>=0.0.3; extra == "openai-agents"
58
- Provides-Extra: integrations
59
- Requires-Dist: langchain-core>=0.1.0; extra == "integrations"
60
- Requires-Dist: crewai>=0.28.0; extra == "integrations"
61
- Requires-Dist: openai-agents>=0.0.3; extra == "integrations"
62
- Provides-Extra: dev
63
- Requires-Dist: pytest>=7.4.0; extra == "dev"
64
- Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
65
- Requires-Dist: black>=23.0.0; extra == "dev"
66
- Requires-Dist: ruff>=0.1.0; extra == "dev"
67
- Dynamic: license-file
68
-
69
- # Kalibr Python SDK
70
-
71
- Production-grade observability for LLM applications. Automatically instrument OpenAI, Anthropic, and Google AI SDKs with zero code changes.
72
-
73
- ## Features
74
-
75
- - **Zero-code instrumentation** - Automatic tracing for OpenAI, Anthropic, and Google AI
76
- - **Cost tracking** - Real-time cost calculation for all LLM calls
77
- - **Token monitoring** - Track input/output tokens across providers
78
- - **Parent-child traces** - Automatic trace relationship management
79
- - **Multi-provider support** - Works with GPT-4, Claude, Gemini, and more
80
-
81
- ## Installation
82
-
83
- ```bash
84
- pip install kalibr
85
- ```
86
-
87
- ## Quick Start
88
-
89
- ### Auto-instrumentation (Recommended)
90
-
91
- Simply import `kalibr` at the start of your application - all LLM calls are automatically traced:
92
-
93
- ```python
94
- import kalibr # Enable auto-instrumentation
95
- import openai
96
-
97
- # Set your Kalibr API key
98
- import os
99
- os.environ["KALIBR_API_KEY"] = "your-kalibr-api-key"
100
-
101
- # All OpenAI calls are now automatically traced
102
- client = openai.OpenAI()
103
- response = client.chat.completions.create(
104
- model="gpt-4o",
105
- messages=[{"role": "user", "content": "Hello!"}]
106
- )
107
- ```
108
-
109
- ### Manual Tracing with Decorator
110
-
111
- For more control, use the `@trace` decorator:
112
-
113
- ```python
114
- from kalibr import trace
115
- import openai
116
-
117
- @trace(operation="summarize", provider="openai", model="gpt-4o")
118
- def summarize_text(text: str) -> str:
119
- client = openai.OpenAI()
120
- response = client.chat.completions.create(
121
- model="gpt-4o",
122
- messages=[
123
- {"role": "system", "content": "Summarize the following text."},
124
- {"role": "user", "content": text}
125
- ]
126
- )
127
- return response.choices[0].message.content
128
-
129
- result = summarize_text("Your long text here...")
130
- ```
131
-
132
- ### Multi-Provider Example
133
-
134
- ```python
135
- import kalibr
136
- import openai
137
- import anthropic
138
-
139
- # OpenAI call - automatically traced
140
- openai_client = openai.OpenAI()
141
- gpt_response = openai_client.chat.completions.create(
142
- model="gpt-4o",
143
- messages=[{"role": "user", "content": "Explain quantum computing"}]
144
- )
145
-
146
- # Anthropic call - automatically traced
147
- anthropic_client = anthropic.Anthropic()
148
- claude_response = anthropic_client.messages.create(
149
- model="claude-sonnet-4-20250514",
150
- max_tokens=1024,
151
- messages=[{"role": "user", "content": "Explain machine learning"}]
152
- )
153
- ```
154
-
155
- ## Configuration
156
-
157
- Configure the SDK using environment variables:
158
-
159
- | Variable | Description | Default |
160
- |----------|-------------|---------|
161
- | `KALIBR_API_KEY` | API key for authentication | *Required* |
162
- | `KALIBR_COLLECTOR_URL` | Collector endpoint URL | `http://localhost:8001/api/ingest` |
163
- | `KALIBR_TENANT_ID` | Tenant identifier for multi-tenant setups | `default` |
164
- | `KALIBR_WORKFLOW_ID` | Workflow identifier for grouping traces | `default` |
165
- | `KALIBR_SERVICE_NAME` | Service name for OpenTelemetry spans | `kalibr-app` |
166
- | `KALIBR_ENVIRONMENT` | Environment (prod, staging, dev) | `prod` |
167
- | `KALIBR_AUTO_INSTRUMENT` | Enable/disable auto-instrumentation | `true` |
168
- | `KALIBR_CONSOLE_EXPORT` | Enable console span export for debugging | `false` |
169
-
170
- ## CLI Tools
171
-
172
- The SDK includes command-line tools for running and deploying applications:
173
-
174
- ```bash
175
- # Run your app locally with tracing
176
- kalibr serve myapp.py
177
-
178
- # Run with managed runtime lifecycle
179
- kalibr run myapp.py --port 8000
180
-
181
- # Deploy to cloud platforms
182
- kalibr deploy myapp.py --runtime fly.io
183
-
184
- # Fetch trace data by ID
185
- kalibr capsule <trace-id>
186
- ```
187
-
188
- ## Supported Providers
189
-
190
- | Provider | Models | Auto-Instrumentation |
191
- |----------|--------|---------------------|
192
- | OpenAI | GPT-4, GPT-4o, GPT-3.5 | Yes |
193
- | Anthropic | Claude 3 Opus, Sonnet, Haiku | Yes |
194
- | Google | Gemini Pro, Gemini Flash | Yes |
195
-
196
- ## Examples
197
-
198
- See the [`examples/`](./examples) directory for complete examples:
199
-
200
- - `basic_example.py` - Simple tracing example
201
- - `basic_agent.py` - Agent with auto-instrumentation
202
- - `advanced_example.py` - Advanced tracing patterns
203
- - `cross_vendor.py` - Multi-provider workflows
204
- - `test_mas.py` - Multi-agent system demonstration
205
-
206
- ## Development
207
-
208
- ```bash
209
- # Clone the repository
210
- git clone https://github.com/kalibr-ai/kalibr-sdk-python.git
211
- cd kalibr-sdk-python
212
-
213
- # Install in development mode
214
- pip install -e ".[dev]"
215
-
216
- # Run tests
217
- pytest
218
-
219
- # Format code
220
- black kalibr/
221
- ruff check kalibr/
222
- ```
223
-
224
- ## Contributing
225
-
226
- We welcome contributions! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
227
-
228
- ## License
229
-
230
- MIT License - see [LICENSE](./LICENSE) for details.
231
-
232
- ## Links
233
-
234
- - [Documentation](https://docs.kalibr.systems)
235
- - [GitHub Issues](https://github.com/kalibr-ai/kalibr-sdk-python/issues)
236
- - [PyPI Package](https://pypi.org/project/kalibr/)
@@ -1,48 +0,0 @@
1
- kalibr/__init__.py,sha256=gyljj_U2w1JlQCTZEvdzNA9vKhcr5FIsTiu02voirLY,4284
2
- kalibr/__main__.py,sha256=jO96I4pqinwHg7ONRvNVKbySBh5pSIhOAiNrgSQrNlY,110
3
- kalibr/capsule_middleware.py,sha256=pXG_wORgCqo3wHjtkn_zY4doLyiDmTwJtB7XiZNnbPk,3163
4
- kalibr/client.py,sha256=6D1paakE6zgWJStaow3ak9t0R8afodQhSSpUO3WTs_8,9732
5
- kalibr/collector.py,sha256=rtTKQLe6NkDSblBIfFooQ-ESFcP0Q1HUp4Bcqqg8JFo,5818
6
- kalibr/context.py,sha256=hBxWXZx0gcmeGqDMS1rstke_DmrujoRBIsfrG26WKUY,3755
7
- kalibr/cost_adapter.py,sha256=NerJ7ywaJjBn97gVFr7qKX7318e3Kmy2qqeNlGl9nPE,6439
8
- kalibr/decorators.py,sha256=m-XBXxWMDVrzaNsljACiGmeGhgiHj_MqSfj6OGK3L5I,4380
9
- kalibr/kalibr.py,sha256=cNXC3W_TX5SvGsy1lRopkwFqsHOpyd1kkVjEMOz1Yr4,6084
10
- kalibr/kalibr_app.py,sha256=ItZwEh0FZPx9_BE-zPQajC2yxI2y9IHYwJD0k9tbHvY,2773
11
- kalibr/models.py,sha256=HwD_-iysZMSnCzMQYO1Qcf0aeXySupY7yJeBwl_dLS0,1024
12
- kalibr/redaction.py,sha256=XibxX4Lv1Ci0opE6Tb5ZI2GLbO0a8E9U66MAg60llnc,1139
13
- kalibr/schemas.py,sha256=XLZNLkXca6jbj9AF6gDIyGVnIcr1SVOsNYaKvW-wbgE,3669
14
- kalibr/simple_tracer.py,sha256=VAhqxGhCMBz9rVFXfpJtRmt6SrM_cpUBKE5ygP9PC9Y,9779
15
- kalibr/tokens.py,sha256=istjgaxi9S4dMddjuGtoQaTnZYcWLCqdnxRjV86yNXA,1297
16
- kalibr/trace_capsule.py,sha256=CPMUz5D-fVfao-MozNtSDbgOQKdDAJxTN5KQL6w2Xp8,10154
17
- kalibr/trace_models.py,sha256=9o7VJQk3gCrvdfXPrNh3Ptkq5sRgA9_qrLLE3jNkSBg,7304
18
- kalibr/tracer.py,sha256=jwWBpZbGXn6fEv4pw25BLFCH-22QUbyzofPWp1Iwdkk,11911
19
- kalibr/types.py,sha256=cna4-akpdwfHXfOJCtVIq5lO_jaoG2Am3BRrXi0Vo34,895
20
- kalibr/utils.py,sha256=DJ9Mp6IPzyQTKboVV0utnfFBMT7LbJ9vAs0gOOPCpvw,5052
21
- kalibr/cli/__init__.py,sha256=FmRGaDMhM9DhrKg1ONkF0emIrJcjFWjlFBl_oenvpsk,77
22
- kalibr/cli/capsule_cmd.py,sha256=j4XR10mq9Ni6DDHNt3cNYEYuMr7jabExEkEB2vrcgGI,6092
23
- kalibr/cli/deploy_cmd.py,sha256=kV4uqCN2IdQev1vPBY5qqIHsEhjGBZ7y_rLx8RGAL_4,5178
24
- kalibr/cli/main.py,sha256=Ob0Vpg8KPnHluP_23pgbEZpDb_iKnjoN7mW52-2Qr44,1939
25
- kalibr/cli/run.py,sha256=S8l5DCcoMVHl_frb-8DOkpDHS3Q6RuYvns9izNk-lx0,6428
26
- kalibr/cli/serve.py,sha256=71Xha35qrBNkcQxuUkwC-ixbOriHGUIEgxl7C_qERQo,2085
27
- kalibr/instrumentation/__init__.py,sha256=YnUJ4gUH8WNxdVv5t1amn0l2WUULJG2MuQIL2ZZhn04,354
28
- kalibr/instrumentation/anthropic_instr.py,sha256=ozXHr8BPMafIbvgaxunskQi9YX5_Gpoiekye77oRc2E,10058
29
- kalibr/instrumentation/base.py,sha256=eMFBTIQXtG2bZD5st6vzN72ooeHCANZ3SapYzrdijgk,3109
30
- kalibr/instrumentation/google_instr.py,sha256=f2um7MB2QCT2u9CFV4-vKke-8M0dSXSpZHTcbdxMZyI,10476
31
- kalibr/instrumentation/openai_instr.py,sha256=UU0Pi1Gq1FqgetYWDacQhNFdjemuPrc0hRTKd-LIDHI,9250
32
- kalibr/instrumentation/registry.py,sha256=sfQnXhbPOI5LVon2kFhe8KcXQwWmuKW1XUe50B2AaBc,4749
33
- kalibr/middleware/__init__.py,sha256=qyDUn_irAX67MS-IkuDVxg4RmFnJHDf_BfIT3qfGoBI,115
34
- kalibr/middleware/auto_tracer.py,sha256=ZBSBM0O3a6rwVzfik1n5NUmQDah8_iaf86rU64aPYT4,13037
35
- kalibr-1.1.3a0.dist-info/licenses/LICENSE,sha256=BYlEPoDdYD3iHuAjt2JYGoxDYQaI1gxab2pR4acoz04,1063
36
- kalibr_crewai/__init__.py,sha256=ClbyRwZ9K3VabYg3RnjnCNQtv1z7UNyCAlMSo0tCGYQ,1791
37
- kalibr_crewai/callbacks.py,sha256=UBgGw0vdT0Jf9x8fNrHfsUR4unqX4nxNFta07OoSgaI,17162
38
- kalibr_crewai/instrumentor.py,sha256=AfnK5t7Ynb-7ytZF7XdOSPpr0o8hDf3sFkyzhc1ogY0,19465
39
- kalibr_langchain/__init__.py,sha256=BPj6JZgWDh3wNQCnIfdC24gupzBjVPxbq3zBsfn7yCY,1368
40
- kalibr_langchain/async_callback.py,sha256=_Mj_YrKbULNtfxixZ7iwiHyWEV9l178ZA5Oy5A5Pakk,27748
41
- kalibr_langchain/callback.py,sha256=VVPAvksS8TFMC21QlGj-1NRFsWnkLKPyzqhfA3kmT4c,34265
42
- kalibr_openai_agents/__init__.py,sha256=ToKJ1Krwc38ADZO0HCWo1_ZMGi4VRIEgym2Avkg0CyQ,1362
43
- kalibr_openai_agents/processor.py,sha256=F550sdRf3rpguP1yOlgAUQWDLPBy4hSACV3-zOyCpOU,18257
44
- kalibr-1.1.3a0.dist-info/METADATA,sha256=tkZQEBASAyAucKITC1_yzuASDFq2uSOAfMoQqCKP3TI,7840
45
- kalibr-1.1.3a0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
- kalibr-1.1.3a0.dist-info/entry_points.txt,sha256=Kojlc6WRX8V1qS9lOMdDPZpTUVHCtzGtHqXusErgmLY,47
47
- kalibr-1.1.3a0.dist-info/top_level.txt,sha256=dIfBOWUnnHGFDwgz5zfIx5_0bU3wOUgAbYr4JcFHZmo,59
48
- kalibr-1.1.3a0.dist-info/RECORD,,
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Kalibr
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.