pangea-sdk 6.7.0__py3-none-any.whl → 6.8.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.
    
        pangea/__init__.py
    CHANGED
    
    
    
        pangea/services/ai_guard.py
    CHANGED
    
    | 
         @@ -150,6 +150,13 @@ class SecretsDetectionOverride(APIRequestModel): 
     | 
|
| 
       150 
150 
     | 
    
         
             
                pangea_token: Optional[PiiEntityAction] = None
         
     | 
| 
       151 
151 
     | 
    
         | 
| 
       152 
152 
     | 
    
         | 
| 
      
 153 
     | 
    
         
            +
            class ImageDetectionItems(APIRequestModel):
         
     | 
| 
      
 154 
     | 
    
         
            +
                disabled: Optional[bool] = None
         
     | 
| 
      
 155 
     | 
    
         
            +
                action: Optional[Literal["", "report", "block"]] = ""
         
     | 
| 
      
 156 
     | 
    
         
            +
                topics: Optional[list[str]] = None
         
     | 
| 
      
 157 
     | 
    
         
            +
                threshold: Annotated[Optional[float], Field(ge=0.0, le=1.0, multiple_of=0.01)] = None
         
     | 
| 
      
 158 
     | 
    
         
            +
             
     | 
| 
      
 159 
     | 
    
         
            +
             
     | 
| 
       153 
160 
     | 
    
         
             
            class Overrides(APIRequestModel):
         
     | 
| 
       154 
161 
     | 
    
         
             
                """Overrides flags."""
         
     | 
| 
       155 
162 
     | 
    
         | 
| 
         @@ -159,6 +166,7 @@ class Overrides(APIRequestModel): 
     | 
|
| 
       159 
166 
     | 
    
         
             
                code_detection: Optional[CodeDetectionOverride] = None
         
     | 
| 
       160 
167 
     | 
    
         
             
                competitors: Optional[CompetitorsOverride] = None
         
     | 
| 
       161 
168 
     | 
    
         
             
                gibberish: Optional[GibberishOverride] = None
         
     | 
| 
      
 169 
     | 
    
         
            +
                image: Optional[ImageDetectionItems] = None
         
     | 
| 
       162 
170 
     | 
    
         
             
                language_detection: Optional[LanguageDetectionOverride] = None
         
     | 
| 
       163 
171 
     | 
    
         
             
                malicious_entity: Optional[MaliciousEntityOverride] = None
         
     | 
| 
       164 
172 
     | 
    
         
             
                pii_entity: Optional[PiiEntityOverride] = None
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Metadata-Version: 2.4
         
     | 
| 
       2 
2 
     | 
    
         
             
            Name: pangea-sdk
         
     | 
| 
       3 
     | 
    
         
            -
            Version: 6. 
     | 
| 
      
 3 
     | 
    
         
            +
            Version: 6.8.0
         
     | 
| 
       4 
4 
     | 
    
         
             
            Summary: Pangea API SDK
         
     | 
| 
       5 
5 
     | 
    
         
             
            Keywords: Pangea,SDK,Audit
         
     | 
| 
       6 
6 
     | 
    
         
             
            Author: Glenn Gallien
         
     | 
| 
         @@ -8,16 +8,16 @@ Author-email: Glenn Gallien <glenn.gallien@pangea.cloud> 
     | 
|
| 
       8 
8 
     | 
    
         
             
            License-Expression: MIT
         
     | 
| 
       9 
9 
     | 
    
         
             
            Classifier: Topic :: Software Development
         
     | 
| 
       10 
10 
     | 
    
         
             
            Classifier: Topic :: Software Development :: Libraries
         
     | 
| 
       11 
     | 
    
         
            -
            Requires-Dist: aiohttp>=3. 
     | 
| 
       12 
     | 
    
         
            -
            Requires-Dist: cryptography>= 
     | 
| 
      
 11 
     | 
    
         
            +
            Requires-Dist: aiohttp>=3.13.0,<4.0.0
         
     | 
| 
      
 12 
     | 
    
         
            +
            Requires-Dist: cryptography>=46.0.2,<47.0.0
         
     | 
| 
       13 
13 
     | 
    
         
             
            Requires-Dist: deprecated>=1.2.18,<2.0.0
         
     | 
| 
       14 
14 
     | 
    
         
             
            Requires-Dist: google-crc32c>=1.7.1,<2.0.0
         
     | 
| 
       15 
     | 
    
         
            -
            Requires-Dist: pydantic>=2. 
     | 
| 
      
 15 
     | 
    
         
            +
            Requires-Dist: pydantic>=2.12.0,<3.0.0
         
     | 
| 
       16 
16 
     | 
    
         
             
            Requires-Dist: python-dateutil>=2.9.0.post0,<3.0.0
         
     | 
| 
       17 
17 
     | 
    
         
             
            Requires-Dist: requests>=2.32.5,<3.0.0
         
     | 
| 
       18 
18 
     | 
    
         
             
            Requires-Dist: requests-toolbelt>=1.0.0,<2.0.0
         
     | 
| 
       19 
19 
     | 
    
         
             
            Requires-Dist: typing-extensions>=4.15.0,<5.0.0
         
     | 
| 
       20 
     | 
    
         
            -
            Requires-Dist: yarl>=1. 
     | 
| 
      
 20 
     | 
    
         
            +
            Requires-Dist: yarl>=1.22.0,<2.0.0
         
     | 
| 
       21 
21 
     | 
    
         
             
            Requires-Python: >=3.9.2, <4.0.0
         
     | 
| 
       22 
22 
     | 
    
         
             
            Project-URL: repository, https://github.com/pangeacyber/pangea-python
         
     | 
| 
       23 
23 
     | 
    
         
             
            Description-Content-Type: text/markdown
         
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            pangea/__init__.py,sha256= 
     | 
| 
      
 1 
     | 
    
         
            +
            pangea/__init__.py,sha256=YNAWDtVJCD2ya_9rWjHp_k0zOxk2cXjhO1YQ0DPSthY,293
         
     | 
| 
       2 
2 
     | 
    
         
             
            pangea/_constants.py,sha256=gGGoQ6rhSiFEw1MKSGI588CHvFokG1Cf9SkkdPdRjVY,113
         
     | 
| 
       3 
3 
     | 
    
         
             
            pangea/_typing.py,sha256=pFBLkW2gPVZkgvMibQkovusQJZuGjhcqpkeRHnQrvds,798
         
     | 
| 
       4 
4 
     | 
    
         
             
            pangea/asyncio/__init__.py,sha256=96zytAbw70iKlqGwF12FCTf358_ijkBVNuo-1vBOyHI,79
         
     | 
| 
         @@ -30,7 +30,7 @@ pangea/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 
     | 
|
| 
       30 
30 
     | 
    
         
             
            pangea/request.py,sha256=PAbcRx746hSht20K_EOWPeQMjFzxjws7KfdMzzg_V10,27938
         
     | 
| 
       31 
31 
     | 
    
         
             
            pangea/response.py,sha256=1OG5bPWE0j3p77tWYivG_O_O2SD8h0Tuq9WlN6rOKS0,7821
         
     | 
| 
       32 
32 
     | 
    
         
             
            pangea/services/__init__.py,sha256=KP2U0-TcusW5H3GUFxS7Nc_LxxJ-X0uBbxeLQmGO6-o,667
         
     | 
| 
       33 
     | 
    
         
            -
            pangea/services/ai_guard.py,sha256= 
     | 
| 
      
 33 
     | 
    
         
            +
            pangea/services/ai_guard.py,sha256=saxhJnoQzzI06tfRtTLF_pCT5AbGxL_44ezaqXlXXSU,27261
         
     | 
| 
       34 
34 
     | 
    
         
             
            pangea/services/audit/audit.py,sha256=40jrCAOuZym_QsEfhghIjPm3KKWwPx9B3ZKJ-T7R4W4,39231
         
     | 
| 
       35 
35 
     | 
    
         
             
            pangea/services/audit/exceptions.py,sha256=bhVuYe4ammacOVxwg98CChxvwZf5FKgR2DcgqILOcwc,471
         
     | 
| 
       36 
36 
     | 
    
         
             
            pangea/services/audit/models.py,sha256=pE4jtYAn_c5JdPrXBfpKHwpRAqO_DTSCOy-QHkPMajw,15471
         
     | 
| 
         @@ -57,6 +57,6 @@ pangea/services/vault/vault.py,sha256=PJs1YlTud1cPnhyUDMguIEyhN0i-haG1kuzA_4hygE 
     | 
|
| 
       57 
57 
     | 
    
         
             
            pangea/tools.py,sha256=JkwVplvx7MCPRSdPhFTLvOl6h7btaUbXEuHgUy0EHBU,6452
         
     | 
| 
       58 
58 
     | 
    
         
             
            pangea/utils.py,sha256=QwTODI_D8by86uXeA0MpdhJICvz5baKUtfv1rguQshU,4943
         
     | 
| 
       59 
59 
     | 
    
         
             
            pangea/verify_audit.py,sha256=-VepQKHtSqZRqhIKiUtLufa7ywwdMNLN2SuhingMooU,17288
         
     | 
| 
       60 
     | 
    
         
            -
            pangea_sdk-6. 
     | 
| 
       61 
     | 
    
         
            -
            pangea_sdk-6. 
     | 
| 
       62 
     | 
    
         
            -
            pangea_sdk-6. 
     | 
| 
      
 60 
     | 
    
         
            +
            pangea_sdk-6.8.0.dist-info/WHEEL,sha256=X16MKk8bp2DRsAuyteHJ-9qOjzmnY0x1aj0P1ftqqWA,78
         
     | 
| 
      
 61 
     | 
    
         
            +
            pangea_sdk-6.8.0.dist-info/METADATA,sha256=viphu-M9tqiG5RBx4vSgGO6D0pK7UDfQxPcwbxMbIJo,8028
         
     | 
| 
      
 62 
     | 
    
         
            +
            pangea_sdk-6.8.0.dist-info/RECORD,,
         
     |