airbyte-cdk 7.3.7__py3-none-any.whl → 7.3.7.post1.dev18600150715__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.
- airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py +1 -1
 - airbyte_cdk/sources/file_based/file_types/excel_parser.py +2 -4
 - {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/METADATA +3 -4
 - {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/RECORD +8 -8
 - {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/LICENSE.txt +0 -0
 - {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/LICENSE_SHORT +0 -0
 - {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/WHEEL +0 -0
 - {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/entry_points.txt +0 -0
 
| 
         @@ -7,11 +7,11 @@ import uuid 
     | 
|
| 
       7 
7 
     | 
    
         
             
            import zlib
         
     | 
| 
       8 
8 
     | 
    
         
             
            from contextlib import closing
         
     | 
| 
       9 
9 
     | 
    
         
             
            from dataclasses import InitVar, dataclass
         
     | 
| 
      
 10 
     | 
    
         
            +
            from math import nan
         
     | 
| 
       10 
11 
     | 
    
         
             
            from typing import Any, Dict, Iterable, Mapping, Optional, Tuple
         
     | 
| 
       11 
12 
     | 
    
         | 
| 
       12 
13 
     | 
    
         
             
            import pandas as pd
         
     | 
| 
       13 
14 
     | 
    
         
             
            import requests
         
     | 
| 
       14 
     | 
    
         
            -
            from numpy import nan
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            from airbyte_cdk.sources.declarative.extractors.record_extractor import RecordExtractor
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
         @@ -9,8 +9,6 @@ from typing import Any, Dict, Iterable, Mapping, Optional, Tuple, Union 
     | 
|
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
            import orjson
         
     | 
| 
       11 
11 
     | 
    
         
             
            import pandas as pd
         
     | 
| 
       12 
     | 
    
         
            -
            from numpy import datetime64, issubdtype
         
     | 
| 
       13 
     | 
    
         
            -
            from numpy import dtype as dtype_
         
     | 
| 
       14 
12 
     | 
    
         
             
            from pydantic.v1 import BaseModel
         
     | 
| 
       15 
13 
     | 
    
         | 
| 
       16 
14 
     | 
    
         
             
            from airbyte_cdk.sources.file_based.config.file_based_stream_config import (
         
     | 
| 
         @@ -141,7 +139,7 @@ class ExcelParser(FileTypeParser): 
     | 
|
| 
       141 
139 
     | 
    
         
             
                @staticmethod
         
     | 
| 
       142 
140 
     | 
    
         
             
                def dtype_to_json_type(
         
     | 
| 
       143 
141 
     | 
    
         
             
                    current_type: Optional[str],
         
     | 
| 
       144 
     | 
    
         
            -
                    dtype:  
     | 
| 
      
 142 
     | 
    
         
            +
                    dtype: Any,  # pandas dtype
         
     | 
| 
       145 
143 
     | 
    
         
             
                ) -> str:
         
     | 
| 
       146 
144 
     | 
    
         
             
                    """
         
     | 
| 
       147 
145 
     | 
    
         
             
                    Convert Pandas DataFrame types to Airbyte Types.
         
     | 
| 
         @@ -163,7 +161,7 @@ class ExcelParser(FileTypeParser): 
     | 
|
| 
       163 
161 
     | 
    
         
             
                        return "number"
         
     | 
| 
       164 
162 
     | 
    
         
             
                    if dtype == "bool" and (not current_type or current_type == "boolean"):
         
     | 
| 
       165 
163 
     | 
    
         
             
                        return "boolean"
         
     | 
| 
       166 
     | 
    
         
            -
                    if  
     | 
| 
      
 164 
     | 
    
         
            +
                    if pd.api.types.is_datetime64_any_dtype(dtype):
         
     | 
| 
       167 
165 
     | 
    
         
             
                        return "date-time"
         
     | 
| 
       168 
166 
     | 
    
         
             
                    return "string"
         
     | 
| 
       169 
167 
     | 
    
         | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Metadata-Version: 2.1
         
     | 
| 
       2 
2 
     | 
    
         
             
            Name: airbyte-cdk
         
     | 
| 
       3 
     | 
    
         
            -
            Version: 7.3.7
         
     | 
| 
      
 3 
     | 
    
         
            +
            Version: 7.3.7.post1.dev18600150715
         
     | 
| 
       4 
4 
     | 
    
         
             
            Summary: A framework for writing Airbyte Connectors.
         
     | 
| 
       5 
5 
     | 
    
         
             
            Home-page: https://airbyte.com
         
     | 
| 
       6 
6 
     | 
    
         
             
            License: MIT
         
     | 
| 
         @@ -35,7 +35,7 @@ Requires-Dist: click (>=8.1.8,<9.0.0) 
     | 
|
| 
       35 
35 
     | 
    
         
             
            Requires-Dist: cohere (>=4.21,<6.0.0) ; extra == "vector-db-based"
         
     | 
| 
       36 
36 
     | 
    
         
             
            Requires-Dist: cryptography (>=44.0.0,<45.0.0)
         
     | 
| 
       37 
37 
     | 
    
         
             
            Requires-Dist: dateparser (>=1.2.2,<2.0.0)
         
     | 
| 
       38 
     | 
    
         
            -
            Requires-Dist: ddtrace (>=3.12. 
     | 
| 
      
 38 
     | 
    
         
            +
            Requires-Dist: ddtrace (>=3.12.0,<4.0.0) ; extra == "manifest-server"
         
     | 
| 
       39 
39 
     | 
    
         
             
            Requires-Dist: dpath (>=2.1.6,<3.0.0)
         
     | 
| 
       40 
40 
     | 
    
         
             
            Requires-Dist: dunamai (>=1.22.0,<2.0.0)
         
     | 
| 
       41 
41 
     | 
    
         
             
            Requires-Dist: fastapi (>=0.116.1) ; extra == "manifest-server"
         
     | 
| 
         @@ -43,13 +43,12 @@ Requires-Dist: fastavro (>=1.11.0,<2.0.0) ; extra == "file-based" 
     | 
|
| 
       43 
43 
     | 
    
         
             
            Requires-Dist: genson (==1.3.0)
         
     | 
| 
       44 
44 
     | 
    
         
             
            Requires-Dist: google-cloud-secret-manager (>=2.17.0,<3.0.0)
         
     | 
| 
       45 
45 
     | 
    
         
             
            Requires-Dist: isodate (>=0.6.1,<0.7.0)
         
     | 
| 
       46 
     | 
    
         
            -
            Requires-Dist: jsonref (>= 
     | 
| 
      
 46 
     | 
    
         
            +
            Requires-Dist: jsonref (>=1,<2)
         
     | 
| 
       47 
47 
     | 
    
         
             
            Requires-Dist: jsonschema (>=4.17.3,<5.0)
         
     | 
| 
       48 
48 
     | 
    
         
             
            Requires-Dist: langchain (==0.1.16) ; extra == "vector-db-based"
         
     | 
| 
       49 
49 
     | 
    
         
             
            Requires-Dist: langchain_core (==0.1.42)
         
     | 
| 
       50 
50 
     | 
    
         
             
            Requires-Dist: markdown ; extra == "file-based"
         
     | 
| 
       51 
51 
     | 
    
         
             
            Requires-Dist: nltk (==3.9.1)
         
     | 
| 
       52 
     | 
    
         
            -
            Requires-Dist: numpy (<2)
         
     | 
| 
       53 
52 
     | 
    
         
             
            Requires-Dist: openai[embeddings] (==0.27.9) ; extra == "vector-db-based"
         
     | 
| 
       54 
53 
     | 
    
         
             
            Requires-Dist: orjson (>=3.10.7,<4.0.0)
         
     | 
| 
       55 
54 
     | 
    
         
             
            Requires-Dist: packaging
         
     | 
| 
         @@ -147,7 +147,7 @@ airbyte_cdk/sources/declarative/extractors/http_selector.py,sha256=2zWZ4ewTqQC8V 
     | 
|
| 
       147 
147 
     | 
    
         
             
            airbyte_cdk/sources/declarative/extractors/record_extractor.py,sha256=XJELMjahAsaomlvQgN2zrNO0DJX0G0fr9r682gUz7Pg,691
         
     | 
| 
       148 
148 
     | 
    
         
             
            airbyte_cdk/sources/declarative/extractors/record_filter.py,sha256=sNLGjFX0fnqO_p1F5JO7-tBwjX83wZdz6W-WJTQpGps,3188
         
     | 
| 
       149 
149 
     | 
    
         
             
            airbyte_cdk/sources/declarative/extractors/record_selector.py,sha256=vCpwX1PVRFPYKMzm0DHHP3YEZ0Gmd3bBzggOsRha038,7192
         
     | 
| 
       150 
     | 
    
         
            -
            airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py,sha256= 
     | 
| 
      
 150 
     | 
    
         
            +
            airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py,sha256=JI_O74KkwOn1Ex0dIr1aJ22eLvq_lUF4VeoOtgEfn1U,6512
         
     | 
| 
       151 
151 
     | 
    
         
             
            airbyte_cdk/sources/declarative/extractors/type_transformer.py,sha256=d6Y2Rfg8pMVEEnHllfVksWZdNVOU55yk34O03dP9muY,1626
         
     | 
| 
       152 
152 
     | 
    
         
             
            airbyte_cdk/sources/declarative/incremental/__init__.py,sha256=_y8H65KgdmVNpwQAzXtXzi-t9mY6bmIIAWtRAbpHfEo,295
         
     | 
| 
       153 
153 
     | 
    
         
             
            airbyte_cdk/sources/declarative/incremental/concurrent_partition_cursor.py,sha256=ldroIGnz1rie9cNZF-Jsl3J6yAqNe7KYS7PNE342Eqs,27995
         
     | 
| 
         @@ -304,7 +304,7 @@ airbyte_cdk/sources/file_based/file_record_data.py,sha256=Vkr5AyZzlsOezjVCLhFrm_ 
     | 
|
| 
       304 
304 
     | 
    
         
             
            airbyte_cdk/sources/file_based/file_types/__init__.py,sha256=blCLn0-2LC-ZdgcNyDEhqM2RiUvEjEBh-G4-t32ZtuM,1268
         
     | 
| 
       305 
305 
     | 
    
         
             
            airbyte_cdk/sources/file_based/file_types/avro_parser.py,sha256=USEYqiICXBWpDV443VtNOCmUA-GINzY_Zah74_5w3qQ,10860
         
     | 
| 
       306 
306 
     | 
    
         
             
            airbyte_cdk/sources/file_based/file_types/csv_parser.py,sha256=QlCXB-ry3np67Q_VerQEPoWDOTcPTB6Go4ydZxY9ae4,20445
         
     | 
| 
       307 
     | 
    
         
            -
            airbyte_cdk/sources/file_based/file_types/excel_parser.py,sha256 
     | 
| 
      
 307 
     | 
    
         
            +
            airbyte_cdk/sources/file_based/file_types/excel_parser.py,sha256=-1LK3eYVSbDTj9Tn9izLhNY19C-9G1cLawTqkjA1fjo,7113
         
     | 
| 
       308 
308 
     | 
    
         
             
            airbyte_cdk/sources/file_based/file_types/file_transfer.py,sha256=rFxWaqItBux9tPf4xU03LT6b-wDZf1QolM92mP8Diuk,1120
         
     | 
| 
       309 
309 
     | 
    
         
             
            airbyte_cdk/sources/file_based/file_types/file_type_parser.py,sha256=JgpH21PrbRqwK92BJklZWvh2TndA6xZ-eP1LPMo44oQ,2832
         
     | 
| 
       310 
310 
     | 
    
         
             
            airbyte_cdk/sources/file_based/file_types/jsonl_parser.py,sha256=GwyNyxmST4RX-XpXy7xVH0D-znYWWBmGv_pVAu95oHQ,5886
         
     | 
| 
         @@ -459,9 +459,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G 
     | 
|
| 
       459 
459 
     | 
    
         
             
            airbyte_cdk/utils/spec_schema_transformations.py,sha256=9YDJmnIGFsT51CVQf2tSSvTapGimITjEFGbUTSZAGTI,963
         
     | 
| 
       460 
460 
     | 
    
         
             
            airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
         
     | 
| 
       461 
461 
     | 
    
         
             
            airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
         
     | 
| 
       462 
     | 
    
         
            -
            airbyte_cdk-7.3.7.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
         
     | 
| 
       463 
     | 
    
         
            -
            airbyte_cdk-7.3.7.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
         
     | 
| 
       464 
     | 
    
         
            -
            airbyte_cdk-7.3.7.dist-info/METADATA,sha256= 
     | 
| 
       465 
     | 
    
         
            -
            airbyte_cdk-7.3.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
         
     | 
| 
       466 
     | 
    
         
            -
            airbyte_cdk-7.3.7.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
         
     | 
| 
       467 
     | 
    
         
            -
            airbyte_cdk-7.3.7.dist-info/RECORD,,
         
     | 
| 
      
 462 
     | 
    
         
            +
            airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
         
     | 
| 
      
 463 
     | 
    
         
            +
            airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
         
     | 
| 
      
 464 
     | 
    
         
            +
            airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/METADATA,sha256=9Y38Whzxu1OFKc8Pr4ZjYZei88Q6NhLVkD6amxUs-Io,6789
         
     | 
| 
      
 465 
     | 
    
         
            +
            airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
         
     | 
| 
      
 466 
     | 
    
         
            +
            airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
         
     | 
| 
      
 467 
     | 
    
         
            +
            airbyte_cdk-7.3.7.post1.dev18600150715.dist-info/RECORD,,
         
     | 
    
        {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/LICENSE.txt
    RENAMED
    
    | 
         
            File without changes
         
     | 
    
        {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/LICENSE_SHORT
    RENAMED
    
    | 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
    
        {airbyte_cdk-7.3.7.dist-info → airbyte_cdk-7.3.7.post1.dev18600150715.dist-info}/entry_points.txt
    RENAMED
    
    | 
         
            File without changes
         
     |