clarity-api-sdk-python 0.1.4__tar.gz → 0.1.8__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.
- clarity_api_sdk_python-0.1.8/PKG-INFO +78 -0
- clarity_api_sdk_python-0.1.8/README.md +56 -0
- {clarity_api_sdk_python-0.1.4 → clarity_api_sdk_python-0.1.8}/pyproject.toml +2 -2
- clarity_api_sdk_python-0.1.8/src/clarity_api_sdk_python.egg-info/PKG-INFO +78 -0
- {clarity_api_sdk_python-0.1.4 → clarity_api_sdk_python-0.1.8}/src/clarity_api_sdk_python.egg-info/SOURCES.txt +6 -4
- clarity_api_sdk_python-0.1.8/src/clarity_api_sdk_python.egg-info/top_level.txt +1 -0
- clarity_api_sdk_python-0.1.8/src/cti/__init__.py +0 -0
- {clarity_api_sdk_python-0.1.4/src → clarity_api_sdk_python-0.1.8/src/cti}/api/client.py +1 -1
- {clarity_api_sdk_python-0.1.4/src → clarity_api_sdk_python-0.1.8/src/cti}/logger/logger.py +18 -10
- clarity_api_sdk_python-0.1.8/src/cti/main.py +33 -0
- clarity_api_sdk_python-0.1.4/PKG-INFO +0 -31
- clarity_api_sdk_python-0.1.4/README.md +0 -9
- clarity_api_sdk_python-0.1.4/src/clarity_api_sdk_python.egg-info/PKG-INFO +0 -31
- clarity_api_sdk_python-0.1.4/src/clarity_api_sdk_python.egg-info/top_level.txt +0 -2
- {clarity_api_sdk_python-0.1.4 → clarity_api_sdk_python-0.1.8}/setup.cfg +0 -0
- {clarity_api_sdk_python-0.1.4 → clarity_api_sdk_python-0.1.8}/src/clarity_api_sdk_python.egg-info/dependency_links.txt +0 -0
- {clarity_api_sdk_python-0.1.4 → clarity_api_sdk_python-0.1.8}/src/clarity_api_sdk_python.egg-info/requires.txt +0 -0
- {clarity_api_sdk_python-0.1.4/src → clarity_api_sdk_python-0.1.8/src/cti}/api/__init__.py +0 -0
- {clarity_api_sdk_python-0.1.4/src → clarity_api_sdk_python-0.1.8/src/cti}/logger/__init__.py +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: clarity-api-sdk-python
|
|
3
|
+
Version: 0.1.8
|
|
4
|
+
Summary: A Python SDK to connect to the CTI Clarity API server.
|
|
5
|
+
Author-email: "Chesapeake Technology Inc." <support@chesapeaketech.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/chesapeake-tech/clarity-api-sdk-python
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: httpx>=0.28.1
|
|
13
|
+
Requires-Dist: brotli
|
|
14
|
+
Requires-Dist: h2
|
|
15
|
+
Requires-Dist: httpx_auth>=0.23.1
|
|
16
|
+
Requires-Dist: httpx-retries>=0.4.5
|
|
17
|
+
Requires-Dist: structlog
|
|
18
|
+
Provides-Extra: brotli
|
|
19
|
+
Requires-Dist: httpx[brotli]>=0.28.1; extra == "brotli"
|
|
20
|
+
Provides-Extra: http2
|
|
21
|
+
Requires-Dist: httpx[http2]>=0.28.1; extra == "http2"
|
|
22
|
+
|
|
23
|
+
# Clarity API SDK for Python
|
|
24
|
+
|
|
25
|
+
[](https://test.pypi.org/project/clarity-api-sdk-python/)
|
|
26
|
+
[](ttps://test.pypi.org/project/clarity-api-sdk-python/)
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
A Python SDK for connecting to the CTI API server, with structured logging included.
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install clarity-api-sdk-python
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Logging
|
|
38
|
+
|
|
39
|
+
Logging support is built with [structlog](https://pypi.org/project/structlog/).
|
|
40
|
+
|
|
41
|
+
Set the root logger by setting the environment variable `LOGGING_LEVEL`. Otherwise, the default root logging is set to `ERROR`.
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
"""Example"""
|
|
45
|
+
|
|
46
|
+
import logging
|
|
47
|
+
|
|
48
|
+
from cti.logger import initialize_logger, get_logger, ExternalLoggerConfig
|
|
49
|
+
|
|
50
|
+
initialize_logger(
|
|
51
|
+
external_logger_configurations=[
|
|
52
|
+
ExternalLoggerConfig(name="urllib3"),
|
|
53
|
+
ExternalLoggerConfig(name="httpcore"),
|
|
54
|
+
ExternalLoggerConfig(name="httpx"),
|
|
55
|
+
ExternalLoggerConfig(name="httpx_auth"),
|
|
56
|
+
ExternalLoggerConfig(name="httpx_retries"),
|
|
57
|
+
]
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
logger_a = get_logger("logger_a")
|
|
61
|
+
logger_b = get_logger("logger_b", "WARNING")
|
|
62
|
+
|
|
63
|
+
# root_logger = logging.getLogger()
|
|
64
|
+
# root_logger.setLevel("DEBUG")
|
|
65
|
+
|
|
66
|
+
logger_a.info("This is info message from logger_a")
|
|
67
|
+
logger_a.critical("This is critical message from logger_a")
|
|
68
|
+
|
|
69
|
+
# Dynamically change the log level of logger_a to WARNING
|
|
70
|
+
print("\nChanging logger_a level to WARNING...\n")
|
|
71
|
+
logging.getLogger("logger_a").setLevel(logging.WARNING)
|
|
72
|
+
|
|
73
|
+
logger_a.info("This info message from logger_a should NOT be visible.")
|
|
74
|
+
logger_a.warning("This is a new warning message from logger_a.")
|
|
75
|
+
|
|
76
|
+
logger_b.info("This info message from logger_b should NOT be visible.")
|
|
77
|
+
logger_b.warning("This is warning message from logger_b")
|
|
78
|
+
```
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Clarity API SDK for Python
|
|
2
|
+
|
|
3
|
+
[](https://test.pypi.org/project/clarity-api-sdk-python/)
|
|
4
|
+
[](ttps://test.pypi.org/project/clarity-api-sdk-python/)
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
A Python SDK for connecting to the CTI API server, with structured logging included.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install clarity-api-sdk-python
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Logging
|
|
16
|
+
|
|
17
|
+
Logging support is built with [structlog](https://pypi.org/project/structlog/).
|
|
18
|
+
|
|
19
|
+
Set the root logger by setting the environment variable `LOGGING_LEVEL`. Otherwise, the default root logging is set to `ERROR`.
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
"""Example"""
|
|
23
|
+
|
|
24
|
+
import logging
|
|
25
|
+
|
|
26
|
+
from cti.logger import initialize_logger, get_logger, ExternalLoggerConfig
|
|
27
|
+
|
|
28
|
+
initialize_logger(
|
|
29
|
+
external_logger_configurations=[
|
|
30
|
+
ExternalLoggerConfig(name="urllib3"),
|
|
31
|
+
ExternalLoggerConfig(name="httpcore"),
|
|
32
|
+
ExternalLoggerConfig(name="httpx"),
|
|
33
|
+
ExternalLoggerConfig(name="httpx_auth"),
|
|
34
|
+
ExternalLoggerConfig(name="httpx_retries"),
|
|
35
|
+
]
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
logger_a = get_logger("logger_a")
|
|
39
|
+
logger_b = get_logger("logger_b", "WARNING")
|
|
40
|
+
|
|
41
|
+
# root_logger = logging.getLogger()
|
|
42
|
+
# root_logger.setLevel("DEBUG")
|
|
43
|
+
|
|
44
|
+
logger_a.info("This is info message from logger_a")
|
|
45
|
+
logger_a.critical("This is critical message from logger_a")
|
|
46
|
+
|
|
47
|
+
# Dynamically change the log level of logger_a to WARNING
|
|
48
|
+
print("\nChanging logger_a level to WARNING...\n")
|
|
49
|
+
logging.getLogger("logger_a").setLevel(logging.WARNING)
|
|
50
|
+
|
|
51
|
+
logger_a.info("This info message from logger_a should NOT be visible.")
|
|
52
|
+
logger_a.warning("This is a new warning message from logger_a.")
|
|
53
|
+
|
|
54
|
+
logger_b.info("This info message from logger_b should NOT be visible.")
|
|
55
|
+
logger_b.warning("This is warning message from logger_b")
|
|
56
|
+
```
|
|
@@ -5,13 +5,13 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "clarity-api-sdk-python"
|
|
8
|
-
version = "0.1.
|
|
8
|
+
version = "0.1.8"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name="Chesapeake Technology Inc.", email="support@chesapeaketech.com" },
|
|
11
11
|
]
|
|
12
12
|
description = "A Python SDK to connect to the CTI Clarity API server."
|
|
13
13
|
readme = "README.md"
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.11"
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Programming Language :: Python :: 3",
|
|
17
17
|
"License :: OSI Approved :: MIT License",
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: clarity-api-sdk-python
|
|
3
|
+
Version: 0.1.8
|
|
4
|
+
Summary: A Python SDK to connect to the CTI Clarity API server.
|
|
5
|
+
Author-email: "Chesapeake Technology Inc." <support@chesapeaketech.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/chesapeake-tech/clarity-api-sdk-python
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: httpx>=0.28.1
|
|
13
|
+
Requires-Dist: brotli
|
|
14
|
+
Requires-Dist: h2
|
|
15
|
+
Requires-Dist: httpx_auth>=0.23.1
|
|
16
|
+
Requires-Dist: httpx-retries>=0.4.5
|
|
17
|
+
Requires-Dist: structlog
|
|
18
|
+
Provides-Extra: brotli
|
|
19
|
+
Requires-Dist: httpx[brotli]>=0.28.1; extra == "brotli"
|
|
20
|
+
Provides-Extra: http2
|
|
21
|
+
Requires-Dist: httpx[http2]>=0.28.1; extra == "http2"
|
|
22
|
+
|
|
23
|
+
# Clarity API SDK for Python
|
|
24
|
+
|
|
25
|
+
[](https://test.pypi.org/project/clarity-api-sdk-python/)
|
|
26
|
+
[](ttps://test.pypi.org/project/clarity-api-sdk-python/)
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
A Python SDK for connecting to the CTI API server, with structured logging included.
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install clarity-api-sdk-python
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Logging
|
|
38
|
+
|
|
39
|
+
Logging support is built with [structlog](https://pypi.org/project/structlog/).
|
|
40
|
+
|
|
41
|
+
Set the root logger by setting the environment variable `LOGGING_LEVEL`. Otherwise, the default root logging is set to `ERROR`.
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
"""Example"""
|
|
45
|
+
|
|
46
|
+
import logging
|
|
47
|
+
|
|
48
|
+
from cti.logger import initialize_logger, get_logger, ExternalLoggerConfig
|
|
49
|
+
|
|
50
|
+
initialize_logger(
|
|
51
|
+
external_logger_configurations=[
|
|
52
|
+
ExternalLoggerConfig(name="urllib3"),
|
|
53
|
+
ExternalLoggerConfig(name="httpcore"),
|
|
54
|
+
ExternalLoggerConfig(name="httpx"),
|
|
55
|
+
ExternalLoggerConfig(name="httpx_auth"),
|
|
56
|
+
ExternalLoggerConfig(name="httpx_retries"),
|
|
57
|
+
]
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
logger_a = get_logger("logger_a")
|
|
61
|
+
logger_b = get_logger("logger_b", "WARNING")
|
|
62
|
+
|
|
63
|
+
# root_logger = logging.getLogger()
|
|
64
|
+
# root_logger.setLevel("DEBUG")
|
|
65
|
+
|
|
66
|
+
logger_a.info("This is info message from logger_a")
|
|
67
|
+
logger_a.critical("This is critical message from logger_a")
|
|
68
|
+
|
|
69
|
+
# Dynamically change the log level of logger_a to WARNING
|
|
70
|
+
print("\nChanging logger_a level to WARNING...\n")
|
|
71
|
+
logging.getLogger("logger_a").setLevel(logging.WARNING)
|
|
72
|
+
|
|
73
|
+
logger_a.info("This info message from logger_a should NOT be visible.")
|
|
74
|
+
logger_a.warning("This is a new warning message from logger_a.")
|
|
75
|
+
|
|
76
|
+
logger_b.info("This info message from logger_b should NOT be visible.")
|
|
77
|
+
logger_b.warning("This is warning message from logger_b")
|
|
78
|
+
```
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
README.md
|
|
2
2
|
pyproject.toml
|
|
3
|
-
src/api/__init__.py
|
|
4
|
-
src/api/client.py
|
|
5
3
|
src/clarity_api_sdk_python.egg-info/PKG-INFO
|
|
6
4
|
src/clarity_api_sdk_python.egg-info/SOURCES.txt
|
|
7
5
|
src/clarity_api_sdk_python.egg-info/dependency_links.txt
|
|
8
6
|
src/clarity_api_sdk_python.egg-info/requires.txt
|
|
9
7
|
src/clarity_api_sdk_python.egg-info/top_level.txt
|
|
10
|
-
src/
|
|
11
|
-
src/
|
|
8
|
+
src/cti/__init__.py
|
|
9
|
+
src/cti/main.py
|
|
10
|
+
src/cti/api/__init__.py
|
|
11
|
+
src/cti/api/client.py
|
|
12
|
+
src/cti/logger/__init__.py
|
|
13
|
+
src/cti/logger/logger.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cti
|
|
File without changes
|
|
@@ -7,7 +7,7 @@ from httpx import Client, HTTPStatusError, RequestError, Response, URL
|
|
|
7
7
|
from httpx_auth import OAuth2ClientCredentials, OAuth2, TokenMemoryCache
|
|
8
8
|
from httpx_retries import Retry, RetryTransport
|
|
9
9
|
|
|
10
|
-
from logger import get_logger
|
|
10
|
+
from cti.logger import get_logger
|
|
11
11
|
|
|
12
12
|
logger = get_logger(__name__)
|
|
13
13
|
OAuth2.token_cache = TokenMemoryCache()
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from collections import OrderedDict
|
|
4
4
|
from dataclasses import dataclass
|
|
5
5
|
import logging
|
|
6
|
+
import os
|
|
6
7
|
import socket
|
|
7
8
|
import sys
|
|
8
9
|
import urllib.error
|
|
@@ -32,16 +33,25 @@ class ExternalLoggerConfig:
|
|
|
32
33
|
self.propagate = propagate
|
|
33
34
|
|
|
34
35
|
|
|
35
|
-
def get_logger(
|
|
36
|
+
def get_logger(
|
|
37
|
+
name: str, level: int | str | None = None
|
|
38
|
+
) -> structlog.stdlib.BoundLogger:
|
|
36
39
|
"""Creates a structlog logger with the specified name.
|
|
37
40
|
|
|
38
41
|
Args:
|
|
39
42
|
name (str): The logger name.
|
|
43
|
+
level (int | str | None, optional): The logging level for this logger.
|
|
44
|
+
If None, the root logger's level is used. Defaults to None.
|
|
40
45
|
|
|
41
46
|
Returns:
|
|
42
|
-
|
|
47
|
+
structlog.stdlib.BoundLogger: The structlog logger.
|
|
43
48
|
"""
|
|
44
|
-
|
|
49
|
+
logger = structlog.get_logger(name)
|
|
50
|
+
if level:
|
|
51
|
+
# To set the level, we need to get the actual standard library logger instance.
|
|
52
|
+
stdlib_logger = logging.getLogger(name)
|
|
53
|
+
stdlib_logger.setLevel(level)
|
|
54
|
+
return logger
|
|
45
55
|
|
|
46
56
|
|
|
47
57
|
def _flatten_extra_processor(_, __, event_dict):
|
|
@@ -260,15 +270,13 @@ def initialize_logger(
|
|
|
260
270
|
structlog.contextvars.bind_contextvars(**static_context)
|
|
261
271
|
|
|
262
272
|
|
|
263
|
-
def _level():
|
|
273
|
+
def _level() -> str:
|
|
264
274
|
"""Get the log level for the logger.
|
|
265
275
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
- MANUAL only logs ERROR
|
|
269
|
-
- PRODUCTION - turns off debug
|
|
276
|
+
The log level is determined by the `LOGGING_LEVEL` environment variable.
|
|
277
|
+
If the environment variable is not set, it defaults to "ERROR".
|
|
270
278
|
|
|
271
279
|
Returns:
|
|
272
|
-
str: log level
|
|
280
|
+
str: The log level as a string (e.g., "DEBUG", "INFO", "ERROR").
|
|
273
281
|
"""
|
|
274
|
-
return "
|
|
282
|
+
return os.environ.get("LOGGING_LEVEL", "ERROR")
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Example"""
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
|
|
5
|
+
from cti.logger import initialize_logger, get_logger, ExternalLoggerConfig
|
|
6
|
+
|
|
7
|
+
initialize_logger(
|
|
8
|
+
external_logger_configurations=[
|
|
9
|
+
ExternalLoggerConfig(name="urllib3"),
|
|
10
|
+
ExternalLoggerConfig(name="httpcore"),
|
|
11
|
+
ExternalLoggerConfig(name="httpx"),
|
|
12
|
+
ExternalLoggerConfig(name="httpx_auth"),
|
|
13
|
+
ExternalLoggerConfig(name="httpx_retries"),
|
|
14
|
+
]
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
logger_a = get_logger("logger_a")
|
|
18
|
+
logger_b = get_logger("logger_b", "WARNING")
|
|
19
|
+
|
|
20
|
+
# root_logger = logging.getLogger()
|
|
21
|
+
# root_logger.setLevel("DEBUG")
|
|
22
|
+
|
|
23
|
+
logger_a.info("This is info message from logger_a")
|
|
24
|
+
logger_a.critical("This is critical message from logger_a")
|
|
25
|
+
|
|
26
|
+
# Dynamically change the log level of logger_a to WARNING
|
|
27
|
+
print("\nChanging logger_a level to WARNING...\n")
|
|
28
|
+
logging.getLogger("logger_a").setLevel(logging.WARNING)
|
|
29
|
+
|
|
30
|
+
logger_a.info("This info message from logger_a should NOT be visible.")
|
|
31
|
+
logger_a.warning("This is a new warning message from logger_a.")
|
|
32
|
+
|
|
33
|
+
logger_b.warning("This is warning message from logger_b")
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: clarity-api-sdk-python
|
|
3
|
-
Version: 0.1.4
|
|
4
|
-
Summary: A Python SDK to connect to the CTI Clarity API server.
|
|
5
|
-
Author-email: "Chesapeake Technology Inc." <support@chesapeaketech.com>
|
|
6
|
-
Project-URL: Homepage, https://github.com/chesapeake-tech/clarity-api-sdk-python
|
|
7
|
-
Classifier: Programming Language :: Python :: 3
|
|
8
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
-
Classifier: Operating System :: OS Independent
|
|
10
|
-
Requires-Python: >=3.12
|
|
11
|
-
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: httpx>=0.28.1
|
|
13
|
-
Requires-Dist: brotli
|
|
14
|
-
Requires-Dist: h2
|
|
15
|
-
Requires-Dist: httpx_auth>=0.23.1
|
|
16
|
-
Requires-Dist: httpx-retries>=0.4.5
|
|
17
|
-
Requires-Dist: structlog
|
|
18
|
-
Provides-Extra: brotli
|
|
19
|
-
Requires-Dist: httpx[brotli]>=0.28.1; extra == "brotli"
|
|
20
|
-
Provides-Extra: http2
|
|
21
|
-
Requires-Dist: httpx[http2]>=0.28.1; extra == "http2"
|
|
22
|
-
|
|
23
|
-
# Clarity API SDK for Python
|
|
24
|
-
|
|
25
|
-
A Python SDK for connecting to the CTI API server, with structured logging included.
|
|
26
|
-
|
|
27
|
-
## Installation
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
pip install clarity-api-sdk-python
|
|
31
|
-
```
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: clarity-api-sdk-python
|
|
3
|
-
Version: 0.1.4
|
|
4
|
-
Summary: A Python SDK to connect to the CTI Clarity API server.
|
|
5
|
-
Author-email: "Chesapeake Technology Inc." <support@chesapeaketech.com>
|
|
6
|
-
Project-URL: Homepage, https://github.com/chesapeake-tech/clarity-api-sdk-python
|
|
7
|
-
Classifier: Programming Language :: Python :: 3
|
|
8
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
-
Classifier: Operating System :: OS Independent
|
|
10
|
-
Requires-Python: >=3.12
|
|
11
|
-
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: httpx>=0.28.1
|
|
13
|
-
Requires-Dist: brotli
|
|
14
|
-
Requires-Dist: h2
|
|
15
|
-
Requires-Dist: httpx_auth>=0.23.1
|
|
16
|
-
Requires-Dist: httpx-retries>=0.4.5
|
|
17
|
-
Requires-Dist: structlog
|
|
18
|
-
Provides-Extra: brotli
|
|
19
|
-
Requires-Dist: httpx[brotli]>=0.28.1; extra == "brotli"
|
|
20
|
-
Provides-Extra: http2
|
|
21
|
-
Requires-Dist: httpx[http2]>=0.28.1; extra == "http2"
|
|
22
|
-
|
|
23
|
-
# Clarity API SDK for Python
|
|
24
|
-
|
|
25
|
-
A Python SDK for connecting to the CTI API server, with structured logging included.
|
|
26
|
-
|
|
27
|
-
## Installation
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
pip install clarity-api-sdk-python
|
|
31
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clarity_api_sdk_python-0.1.4/src → clarity_api_sdk_python-0.1.8/src/cti}/logger/__init__.py
RENAMED
|
File without changes
|