netra-sdk 0.1.1__py3-none-any.whl → 0.1.2__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.
Potentially problematic release.
This version of netra-sdk might be problematic. Click here for more details.
- netra/instrumentation/__init__.py +2 -0
- netra/pii.py +0 -12
- netra/version.py +1 -1
- {netra_sdk-0.1.1.dist-info → netra_sdk-0.1.2.dist-info}/METADATA +1 -1
- {netra_sdk-0.1.1.dist-info → netra_sdk-0.1.2.dist-info}/RECORD +7 -7
- {netra_sdk-0.1.1.dist-info → netra_sdk-0.1.2.dist-info}/LICENCE +0 -0
- {netra_sdk-0.1.1.dist-info → netra_sdk-0.1.2.dist-info}/WHEEL +0 -0
|
@@ -39,6 +39,8 @@ def init_instrumentations(
|
|
|
39
39
|
Instruments.MISTRAL,
|
|
40
40
|
}
|
|
41
41
|
)
|
|
42
|
+
if instruments is not None and traceloop_instruments is None and traceloop_block_instruments is None:
|
|
43
|
+
traceloop_block_instruments = set(Instruments)
|
|
42
44
|
|
|
43
45
|
init_instrumentations(
|
|
44
46
|
should_enrich_metrics=should_enrich_metrics,
|
netra/pii.py
CHANGED
|
@@ -26,7 +26,6 @@ DEFAULT_PII_PATTERNS: Dict[str, Pattern[str]] = {
|
|
|
26
26
|
DEFAULT_ENTITIES: List[str] = [
|
|
27
27
|
"CREDIT_CARD",
|
|
28
28
|
"CRYPTO",
|
|
29
|
-
"DATE_TIME",
|
|
30
29
|
"EMAIL_ADDRESS",
|
|
31
30
|
"IBAN_CODE",
|
|
32
31
|
"IP_ADDRESS",
|
|
@@ -42,16 +41,6 @@ DEFAULT_ENTITIES: List[str] = [
|
|
|
42
41
|
"US_SSN",
|
|
43
42
|
"UK_NHS",
|
|
44
43
|
"UK_NINO",
|
|
45
|
-
"ES_NIF",
|
|
46
|
-
"ES_NIE",
|
|
47
|
-
"IT_FISCAL_CODE",
|
|
48
|
-
"IT_DRIVER_LICENSE",
|
|
49
|
-
"IT_VAT_CODE",
|
|
50
|
-
"IT_PASSPORT",
|
|
51
|
-
"IT_IDENTITY_CARD",
|
|
52
|
-
"PL_PESEL",
|
|
53
|
-
"SG_NRIC_FIN",
|
|
54
|
-
"SG_UEN",
|
|
55
44
|
"AU_ABN",
|
|
56
45
|
"AU_ACN",
|
|
57
46
|
"AU_TFN",
|
|
@@ -61,7 +50,6 @@ DEFAULT_ENTITIES: List[str] = [
|
|
|
61
50
|
"IN_VEHICLE_REGISTRATION",
|
|
62
51
|
"IN_VOTER",
|
|
63
52
|
"IN_PASSPORT",
|
|
64
|
-
"FI_PERSONAL_IDENTITY_CODE",
|
|
65
53
|
]
|
|
66
54
|
|
|
67
55
|
|
netra/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: netra-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: A Python SDK for AI application observability that provides OpenTelemetry-based monitoring, tracing, and PII protection for LLM and vector database applications. Enables easy instrumentation, session tracking, and privacy-focused data collection for AI systems in production environments.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Keywords: netra,tracing,observability,sdk,ai,llm,vector,database
|
|
@@ -9,7 +9,7 @@ netra/exceptions/__init__.py,sha256=uDgcBxmC4WhdS7HRYQk_TtJyxH1s1o6wZmcsnSHLAcM,
|
|
|
9
9
|
netra/exceptions/injection.py,sha256=ke4eUXRYUFJkMZgdSyPPkPt5PdxToTI6xLEBI0hTWUQ,1332
|
|
10
10
|
netra/exceptions/pii.py,sha256=MT4p_x-zH3VtYudTSxw1Z9qQZADJDspq64WrYqSWlZc,2438
|
|
11
11
|
netra/input_scanner.py,sha256=bzP3s7YudGHQrIbUgQGrcIBEJ6CmOewzuYNSu75cVXM,4988
|
|
12
|
-
netra/instrumentation/__init__.py,sha256=
|
|
12
|
+
netra/instrumentation/__init__.py,sha256=CvoAQF_tHzDph-CAypPL-eBvaM53JDtJwDTHZ7XPPeE,41170
|
|
13
13
|
netra/instrumentation/aiohttp/__init__.py,sha256=M1kuF0R3gKY5rlbhEC1AR13UWHelmfokluL2yFysKWc,14398
|
|
14
14
|
netra/instrumentation/aiohttp/version.py,sha256=Zy-0Aukx-HS_Mo3NKPWg-hlUoWKDzS0w58gLoVtJec8,24
|
|
15
15
|
netra/instrumentation/cohere/__init__.py,sha256=3XwmCAZwZiMkHdNN3YvcBOLsNCx80ymbU31TyMzv1IY,17685
|
|
@@ -27,7 +27,7 @@ netra/instrumentation/mistralai/utils.py,sha256=nhdIer5gJFxuGwg8FCT222hggDHeMQDh
|
|
|
27
27
|
netra/instrumentation/mistralai/version.py,sha256=d6593s-XBNvVxri9lr2qLUDZQ3Zk3-VXHEwdb4pj8qA,22
|
|
28
28
|
netra/instrumentation/weaviate/__init__.py,sha256=EOlpWxobOLHYKqo_kMct_7nu26x1hr8qkeG5_h99wtg,4330
|
|
29
29
|
netra/instrumentation/weaviate/version.py,sha256=PiCZHjonujPbnIn0KmD3Yl68hrjPRG_oKe5vJF3mmG8,24
|
|
30
|
-
netra/pii.py,sha256=
|
|
30
|
+
netra/pii.py,sha256=S7GnVzoNJEzKiUWnqN9bOCKPeNLsriztgB2E6Rx-yJU,27023
|
|
31
31
|
netra/processors/__init__.py,sha256=f8Ck-uCdDwNgEvm3hm6I9wFSVlnRYjmSfrEIQkdBaZQ,218
|
|
32
32
|
netra/processors/session_span_processor.py,sha256=uv-KL5lwil3C3wQGdYWiYQMHLBsXrt8hTy_ql6kUWXE,2171
|
|
33
33
|
netra/processors/span_aggregation_processor.py,sha256=eOBAHTi5pgBCrnNthWGby0IY6b7iSUPAIFkDDmwLKOY,15579
|
|
@@ -35,8 +35,8 @@ netra/scanner.py,sha256=wqjMZnEbVvrGMiUSI352grUyHpkk94oBfHfMiXPhpGU,3866
|
|
|
35
35
|
netra/session.py,sha256=Lsd7yps2YtjN7P10HsGN3bRZxufoeUnGxAH6Us8_l-Y,8734
|
|
36
36
|
netra/session_manager.py,sha256=UusP3MRZlLeU4NtBVlXQ_sCgRg-LGleVdYPq5MwLvi8,3555
|
|
37
37
|
netra/tracer.py,sha256=WZDBIpPp3oL8MkKBhlw0gxAXXSd1FY3bicLUKt2GNxc,3540
|
|
38
|
-
netra/version.py,sha256=
|
|
39
|
-
netra_sdk-0.1.
|
|
40
|
-
netra_sdk-0.1.
|
|
41
|
-
netra_sdk-0.1.
|
|
42
|
-
netra_sdk-0.1.
|
|
38
|
+
netra/version.py,sha256=YvuYzWnKtqBb-IqG8HAu-nhIYAsgj9Vmc_b9o7vO-js,22
|
|
39
|
+
netra_sdk-0.1.2.dist-info/LICENCE,sha256=8B_UoZ-BAl0AqiHAHUETCgd3I2B9yYJ1WEQtVb_qFMA,11359
|
|
40
|
+
netra_sdk-0.1.2.dist-info/METADATA,sha256=0gBniDy_OiHTa27cSm0sZxWO68qF4ieLt5TKugq1Pbk,24630
|
|
41
|
+
netra_sdk-0.1.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
42
|
+
netra_sdk-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|