unsiloed-apimatic-sdk 0.0.2__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.
- unsiloed_apimatic_sdk-0.0.2/LICENSE +21 -0
- unsiloed_apimatic_sdk-0.0.2/PKG-INFO +156 -0
- unsiloed_apimatic_sdk-0.0.2/README.md +126 -0
- unsiloed_apimatic_sdk-0.0.2/pyproject.toml +95 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/__init__.py +14 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/__init__.py +24 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/classify.py +264 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/extract.py +387 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/health.py +102 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/organization.py +97 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/parse_v2_presigned_upload.py +147 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/parse_vision_api_compatible.py +1222 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/apis/split.py +285 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/async_client.py +98 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/auth.py +15 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/base_client.py +30 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/client.py +96 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/__init__.py +345 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/_internal/__init__.py +7 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/_internal/content_disposition.py +154 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/_internal/flattening.py +139 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/_internal/headers.py +144 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/_internal/urls.py +166 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/_internal/wire.py +173 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/adapters.py +177 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/__init__.py +70 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/composition.py +175 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/models.py +217 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/protocols.py +103 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/__init__.py +94 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/api_key_auth.py +53 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/basic_auth.py +73 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/bearer_auth.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/oauth2_authorization_code.py +393 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/oauth2_client_credentials.py +127 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/oauth2_password.py +142 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/auth/schemes/oauth2_schemes.py +300 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/base_raw_response.py +49 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/bodies.py +563 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/converters/__init__.py +68 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/converters/date_time.py +237 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/converters/encoded_bytes.py +273 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/converters/open_enum.py +35 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/decoding.py +263 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/discriminators.py +128 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/exceptions.py +41 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/file_responses.py +324 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/files.py +173 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/httpx_transport.py +766 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/models.py +143 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/optionality.py +130 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/params.py +161 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/raw_client.py +388 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/request_options.py +94 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/results.py +110 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/runtime_env.py +43 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/servers.py +33 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/core/transport.py +248 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/__init__.py +39 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/classify_document_error.py +28 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/create_parse_task_error.py +37 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/create_parse_task_excel_error.py +37 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/create_presigned_upload_error.py +30 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/extract_data_error.py +25 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/get_classification_job_status_error.py +27 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/get_extraction_job_status_error.py +27 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/get_organization_usage_error.py +25 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/get_parse_task_error.py +24 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/get_split_status_error.py +25 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/errors/split_document_error.py +25 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/__init__.py +260 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/auto_generation_config.py +34 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/bounding_box.py +28 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/category.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/chunk.py +30 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/chunk_processing.py +25 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/classify402_error.py +14 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/classify402_error1.py +14 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/classify_response.py +26 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/classify_response1.py +32 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/configuration.py +183 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/configuration1.py +186 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/detail.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/detail_error.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/detail_error_error.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/details.py +20 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/__init__.py +186 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/agentic_ocr.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/agentic_ocr2.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/content_source.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/content_source1.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/content_source7.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/cropping_strategy.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/embed_source.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/engine.py +14 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/error_handling.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/error_handling1.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/error_handling2.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/error_handling_strategy.py +20 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/export_format.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/generation_strategy.py +14 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/layout_analysis.py +20 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/layout_analysis1.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/layout_analysis2.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/model.py +14 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/model1.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/ocr_engine.py +20 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/ocr_engine1.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/ocr_strategy.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/ocr_strategy1.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/ocr_strategy2.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/ocr_strategy3.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/picture_cropping_strategy.py +22 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_block_severity.py +22 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_block_severity1.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_block_severity2.py +23 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_block_severity3.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_block_severity4.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_engine.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_engine1.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_engine2.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_engine3.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/pii_engine4.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/response_profile.py +24 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/response_profile1.py +29 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/response_profile2.py +24 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/response_profile3.py +29 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/response_profile4.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segment_type.py +30 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segment_type_naming.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segment_type_naming1.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segment_type_naming2.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segment_type_naming_convention.py +22 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segment_type_naming_convention2.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segmentation_strategy.py +25 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segmentation_version.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segmentation_version1.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/segmentation_version3.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/severity.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/status.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/status1.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/status2.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/status3.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/table_clustering.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/tokenizer.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/tokenizer2.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/translation_provider.py +15 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/enums/translation_provider2.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/error.py +22 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/error_envelope.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/error_envelope_error.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/excel_configuration.py +68 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/excel_configuration2.py +65 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/excel_parse_create_request.py +67 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/excel_parse_url_request.py +59 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/extract_job_created.py +28 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/extraction_citation.py +23 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/extraction_job.py +38 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/file.py +36 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/file_too_large_error.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/file_too_large_error_error.py +19 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/formula_generation_config.py +45 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/health_response.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/insufficient_quota_error.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/insufficient_quota_error_error.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/key_value_pair_generation_config.py +45 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/legacy_field.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/llm_generation_config.py +43 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/metadata.py +24 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/ocrresult.py +32 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/org_get_usage401_error.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/org_get_usage401_error1.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/org_get_usage404_error.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/org_get_usage404_error1.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/org_get_usage_response.py +34 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/output_fields_config.py +50 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/output_fields_config2.py +50 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/page_bbox.py +24 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/page_result.py +34 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/parameters.py +30 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/parse_create_request.py +195 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/parse_create_response.py +45 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/parse_get_response.py +97 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/picture_generation_config.py +46 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/pii_blocked_response.py +44 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/presigned_upload_request.py +175 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/presigned_upload_response.py +44 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/quota_data.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/quota_data1.py +15 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/rate_limit_error.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/rate_limit_error_error.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/result.py +15 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/result1.py +46 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/result2.py +25 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/score.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/scored_field.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/segment.py +88 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/segment_processing.py +46 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/splitter_response.py +22 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/splitter_response1.py +46 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/table_generation_config.py +45 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/text_color.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/text_color2.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/tokenizer_type.py +18 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/tokenizer_type1.py +17 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/translation_config.py +30 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/translation_config1.py +32 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/unions/__init__.py +21 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/unions/detail1.py +8 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/unions/extracted_field.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/unions/segment_type1.py +11 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/unions/tokenizer_type2.py +11 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/unions/tokenizer_type21.py +15 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/unions/v2_extract_response.py +10 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/v2_parse_upload400_error.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/models/v2_parse_upload400_error1.py +13 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/py.typed +0 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/server/__init__.py +5 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/server/environment.py +11 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/server/server.py +16 -0
- unsiloed_apimatic_sdk-0.0.2/unsiloed_ai_document_processing_api/server/server_config.py +26 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 APIMatic
|
|
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.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: unsiloed-apimatic-sdk
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Sample SDKs for Unsiloed by APIMatic
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Keywords: sdk,api-client,openapi,rest,http,apimatic
|
|
8
|
+
Author: Muhammad Rafay
|
|
9
|
+
Author-email: muhammad.rafay@apimatic.io
|
|
10
|
+
Maintainer: APIMatic
|
|
11
|
+
Maintainer-email: support@apimatic.io
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Classifier: Operating System :: OS Independent
|
|
22
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
23
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
+
Requires-Dist: httpx (>=0.28.1,<1.0.0)
|
|
25
|
+
Requires-Dist: pydantic[email] (>=2.11.0,<3.0.0)
|
|
26
|
+
Requires-Dist: typing-extensions (>=4.13.0,<5.0.0)
|
|
27
|
+
Project-URL: Documentation, https://www.unsiloed.ai/docs
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
# Unsiloed AI Document Processing API SDK
|
|
31
|
+
|
|
32
|
+
[![Built with APIMatic][apimatic-badge]][apimatic-url] [![License: MIT][license-badge]][license-url] [![Python 3.10+][python-badge]][python-url]
|
|
33
|
+
|
|
34
|
+
The Unsiloed AI Document Processing API SDK for Python provides access to the Unsiloed AI Document Processing API REST APIs from Python applications.
|
|
35
|
+
|
|
36
|
+
> [!TIP]
|
|
37
|
+
> **Looking for a specific signature, model, enum, or error type?** This SDK ships a generated
|
|
38
|
+
> **[SDK map](sdk-map.md)** -- a lookup index of the SDK's entire Python surface. Consult it before
|
|
39
|
+
> scanning the source tree; details under [SDK map](#sdk-map).
|
|
40
|
+
|
|
41
|
+
Document parsing, extraction, classification and splitting. Merged from the Unsiloed aggregate spec, the v1 Parser API and the v2 Parser API (presigned large-file upload), and aligned with the official docs at https://docs.unsiloed.ai/docs/. Poll large-file uploads with `GET /parse/{job_id}`.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Installation
|
|
46
|
+
|
|
47
|
+
Install the Python SDK from PyPI, with whichever package manager your project uses:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
pip install unsiloed-apimatic-sdk
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
uv add unsiloed-apimatic-sdk
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
poetry add unsiloed-apimatic-sdk
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Quick Start
|
|
64
|
+
|
|
65
|
+
### Synchronous client
|
|
66
|
+
|
|
67
|
+
Construct `UnsiloedAiDocumentProcessingApiClient` with keyword arguments, and call `close()` when you are done. Every argument is optional; the full list is in the [SDK map](sdk-map.md).
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
from unsiloed_ai_document_processing_api import UnsiloedAiDocumentProcessingApiClient
|
|
71
|
+
|
|
72
|
+
client = UnsiloedAiDocumentProcessingApiClient(api_key_auth="YOUR_API_KEY", environment="production")
|
|
73
|
+
|
|
74
|
+
# TODO: call endpoints here -- see api-reference.md
|
|
75
|
+
|
|
76
|
+
client.close()
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Alternatively, scope it -- `with UnsiloedAiDocumentProcessingApiClient(...) as client:` closes the pool on exit; see [Best Practices](#best-practices).
|
|
80
|
+
|
|
81
|
+
`Client` is exported as an alias of `UnsiloedAiDocumentProcessingApiClient`, so `from unsiloed_ai_document_processing_api import Client` also works.
|
|
82
|
+
|
|
83
|
+
The SDK accepts every model-typed input in two interchangeable spellings, both type-checked: the typed model, or a plain dict with the same keys -- the `OrDict` and `Model | ModelDict` unions in the [SDK map](sdk-map.md). Pick whichever suits the call site: the dict form needs no import, while the model form adds a keyword-checked constructor and editor completion.
|
|
84
|
+
|
|
85
|
+
### Asynchronous client
|
|
86
|
+
|
|
87
|
+
`AsyncUnsiloedAiDocumentProcessingApiClient` mirrors `UnsiloedAiDocumentProcessingApiClient` with **identical method names**, and every endpoint method is a coroutine. It takes the same arguments, with some differences -- for example, the transport argument is `custom_async_http_client`.
|
|
88
|
+
|
|
89
|
+
```python
|
|
90
|
+
from asyncio import run
|
|
91
|
+
|
|
92
|
+
from unsiloed_ai_document_processing_api import AsyncUnsiloedAiDocumentProcessingApiClient
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
async def main() -> None:
|
|
96
|
+
client = AsyncUnsiloedAiDocumentProcessingApiClient(api_key_auth="YOUR_API_KEY", environment="production")
|
|
97
|
+
# TODO: call endpoints here, awaiting each -- see api-reference.md
|
|
98
|
+
await client.aclose()
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
run(main())
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Alternatively, scope it -- `async with AsyncUnsiloedAiDocumentProcessingApiClient(...) as client:` closes the pool on exit. Only the async spelling is `aclose`, matching httpx; see [Best Practices](#best-practices).
|
|
105
|
+
|
|
106
|
+
`AsyncClient` is the exported alias. Each client accepts **only** its own transport argument; passing the other's is a `TypeError` at runtime and an error under mypy.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Usage
|
|
111
|
+
|
|
112
|
+
Two generated references cover the SDK; each answers a different question:
|
|
113
|
+
|
|
114
|
+
| Reference | For |
|
|
115
|
+
| --- | --- |
|
|
116
|
+
| **[API Reference](api-reference.md)** | Usage guidance for a single **parsed** operation: `client.<group>.<operation>(...)` returns the typed payload and raises `ApiError` on any non-2xx, with `.error` the typed error body, or `RawError` for a status the operation does not document. |
|
|
117
|
+
| **[Raw API Reference](raw-api-reference.md)** | The same for the **raw** variant: `client.<group>.with_raw_response.<operation>(...)` returns `ApiResult[T, E]` and never raises for an API error. |
|
|
118
|
+
|
|
119
|
+
Both API references carry every one of the 12 operations, with a sync and an async sample and a parameter table each.
|
|
120
|
+
|
|
121
|
+
## SDK map
|
|
122
|
+
|
|
123
|
+
This SDK ships a generated **SDK map** -- [`sdk-map.md`](sdk-map.md) -- a deterministic, lookup-oriented table of contents of the SDK's Python surface, generated by APIMatic alongside this SDK.
|
|
124
|
+
|
|
125
|
+
Consult the map before scanning or grepping the source: it answers call-level contract questions by lookup, and for anything it does not carry -- model shapes, enum values, an endpoint's route or behavioural prose -- it names the one source file to read. How to read the map itself, including the SDK-wide defaults its rows rely on, is stated at the top of [`sdk-map.md`](sdk-map.md).
|
|
126
|
+
|
|
127
|
+
## Best Practices
|
|
128
|
+
|
|
129
|
+
> [!TIP]
|
|
130
|
+
> Use a **single `UnsiloedAiDocumentProcessingApiClient` instance** for the lifetime of your application and reuse it across
|
|
131
|
+
> all requests. Each instance owns its own connection pool, so an instance per request forfeits
|
|
132
|
+
> connection reuse and leaks pools that are never closed.
|
|
133
|
+
|
|
134
|
+
Match the disposal to the client's lifetime: an application-lifetime client is closed once at shutdown with `close()` / `aclose()`; where the lifetime fits a block, `with UnsiloedAiDocumentProcessingApiClient() as client:` / `async with AsyncUnsiloedAiDocumentProcessingApiClient() as client:` releases it automatically. Both are idempotent, but a closed client is not reusable: the next call raises. The client closes **whatever transport it holds**, including one you supplied via `custom_http_client` / `custom_async_http_client`; if you intend to reuse your own transport across clients, don't hand its lifetime to a `with` block.
|
|
135
|
+
|
|
136
|
+
## License
|
|
137
|
+
|
|
138
|
+
This SDK is distributed under the [MIT License][license-url].
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Support
|
|
143
|
+
|
|
144
|
+
Refer to the [API reference](api-reference.md) for detailed information on available operations with code samples.
|
|
145
|
+
|
|
146
|
+
For further assistance, please contact support at hello@unsiloed.com.
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
[license-url]: LICENSE
|
|
151
|
+
[license-badge]: https://img.shields.io/badge/License-MIT-blue.svg
|
|
152
|
+
[apimatic-url]: https://www.apimatic.io
|
|
153
|
+
[apimatic-badge]: https://www.apimatic.io/hubfs/Built-with-APIMatic-badge.svg
|
|
154
|
+
[python-url]: https://www.python.org/downloads/
|
|
155
|
+
[python-badge]: https://img.shields.io/badge/python-3.10%2B-blue.svg
|
|
156
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Unsiloed AI Document Processing API SDK
|
|
2
|
+
|
|
3
|
+
[![Built with APIMatic][apimatic-badge]][apimatic-url] [![License: MIT][license-badge]][license-url] [![Python 3.10+][python-badge]][python-url]
|
|
4
|
+
|
|
5
|
+
The Unsiloed AI Document Processing API SDK for Python provides access to the Unsiloed AI Document Processing API REST APIs from Python applications.
|
|
6
|
+
|
|
7
|
+
> [!TIP]
|
|
8
|
+
> **Looking for a specific signature, model, enum, or error type?** This SDK ships a generated
|
|
9
|
+
> **[SDK map](sdk-map.md)** -- a lookup index of the SDK's entire Python surface. Consult it before
|
|
10
|
+
> scanning the source tree; details under [SDK map](#sdk-map).
|
|
11
|
+
|
|
12
|
+
Document parsing, extraction, classification and splitting. Merged from the Unsiloed aggregate spec, the v1 Parser API and the v2 Parser API (presigned large-file upload), and aligned with the official docs at https://docs.unsiloed.ai/docs/. Poll large-file uploads with `GET /parse/{job_id}`.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
Install the Python SDK from PyPI, with whichever package manager your project uses:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pip install unsiloed-apimatic-sdk
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
uv add unsiloed-apimatic-sdk
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
poetry add unsiloed-apimatic-sdk
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Quick Start
|
|
35
|
+
|
|
36
|
+
### Synchronous client
|
|
37
|
+
|
|
38
|
+
Construct `UnsiloedAiDocumentProcessingApiClient` with keyword arguments, and call `close()` when you are done. Every argument is optional; the full list is in the [SDK map](sdk-map.md).
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
from unsiloed_ai_document_processing_api import UnsiloedAiDocumentProcessingApiClient
|
|
42
|
+
|
|
43
|
+
client = UnsiloedAiDocumentProcessingApiClient(api_key_auth="YOUR_API_KEY", environment="production")
|
|
44
|
+
|
|
45
|
+
# TODO: call endpoints here -- see api-reference.md
|
|
46
|
+
|
|
47
|
+
client.close()
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Alternatively, scope it -- `with UnsiloedAiDocumentProcessingApiClient(...) as client:` closes the pool on exit; see [Best Practices](#best-practices).
|
|
51
|
+
|
|
52
|
+
`Client` is exported as an alias of `UnsiloedAiDocumentProcessingApiClient`, so `from unsiloed_ai_document_processing_api import Client` also works.
|
|
53
|
+
|
|
54
|
+
The SDK accepts every model-typed input in two interchangeable spellings, both type-checked: the typed model, or a plain dict with the same keys -- the `OrDict` and `Model | ModelDict` unions in the [SDK map](sdk-map.md). Pick whichever suits the call site: the dict form needs no import, while the model form adds a keyword-checked constructor and editor completion.
|
|
55
|
+
|
|
56
|
+
### Asynchronous client
|
|
57
|
+
|
|
58
|
+
`AsyncUnsiloedAiDocumentProcessingApiClient` mirrors `UnsiloedAiDocumentProcessingApiClient` with **identical method names**, and every endpoint method is a coroutine. It takes the same arguments, with some differences -- for example, the transport argument is `custom_async_http_client`.
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from asyncio import run
|
|
62
|
+
|
|
63
|
+
from unsiloed_ai_document_processing_api import AsyncUnsiloedAiDocumentProcessingApiClient
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
async def main() -> None:
|
|
67
|
+
client = AsyncUnsiloedAiDocumentProcessingApiClient(api_key_auth="YOUR_API_KEY", environment="production")
|
|
68
|
+
# TODO: call endpoints here, awaiting each -- see api-reference.md
|
|
69
|
+
await client.aclose()
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
run(main())
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Alternatively, scope it -- `async with AsyncUnsiloedAiDocumentProcessingApiClient(...) as client:` closes the pool on exit. Only the async spelling is `aclose`, matching httpx; see [Best Practices](#best-practices).
|
|
76
|
+
|
|
77
|
+
`AsyncClient` is the exported alias. Each client accepts **only** its own transport argument; passing the other's is a `TypeError` at runtime and an error under mypy.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Usage
|
|
82
|
+
|
|
83
|
+
Two generated references cover the SDK; each answers a different question:
|
|
84
|
+
|
|
85
|
+
| Reference | For |
|
|
86
|
+
| --- | --- |
|
|
87
|
+
| **[API Reference](api-reference.md)** | Usage guidance for a single **parsed** operation: `client.<group>.<operation>(...)` returns the typed payload and raises `ApiError` on any non-2xx, with `.error` the typed error body, or `RawError` for a status the operation does not document. |
|
|
88
|
+
| **[Raw API Reference](raw-api-reference.md)** | The same for the **raw** variant: `client.<group>.with_raw_response.<operation>(...)` returns `ApiResult[T, E]` and never raises for an API error. |
|
|
89
|
+
|
|
90
|
+
Both API references carry every one of the 12 operations, with a sync and an async sample and a parameter table each.
|
|
91
|
+
|
|
92
|
+
## SDK map
|
|
93
|
+
|
|
94
|
+
This SDK ships a generated **SDK map** -- [`sdk-map.md`](sdk-map.md) -- a deterministic, lookup-oriented table of contents of the SDK's Python surface, generated by APIMatic alongside this SDK.
|
|
95
|
+
|
|
96
|
+
Consult the map before scanning or grepping the source: it answers call-level contract questions by lookup, and for anything it does not carry -- model shapes, enum values, an endpoint's route or behavioural prose -- it names the one source file to read. How to read the map itself, including the SDK-wide defaults its rows rely on, is stated at the top of [`sdk-map.md`](sdk-map.md).
|
|
97
|
+
|
|
98
|
+
## Best Practices
|
|
99
|
+
|
|
100
|
+
> [!TIP]
|
|
101
|
+
> Use a **single `UnsiloedAiDocumentProcessingApiClient` instance** for the lifetime of your application and reuse it across
|
|
102
|
+
> all requests. Each instance owns its own connection pool, so an instance per request forfeits
|
|
103
|
+
> connection reuse and leaks pools that are never closed.
|
|
104
|
+
|
|
105
|
+
Match the disposal to the client's lifetime: an application-lifetime client is closed once at shutdown with `close()` / `aclose()`; where the lifetime fits a block, `with UnsiloedAiDocumentProcessingApiClient() as client:` / `async with AsyncUnsiloedAiDocumentProcessingApiClient() as client:` releases it automatically. Both are idempotent, but a closed client is not reusable: the next call raises. The client closes **whatever transport it holds**, including one you supplied via `custom_http_client` / `custom_async_http_client`; if you intend to reuse your own transport across clients, don't hand its lifetime to a `with` block.
|
|
106
|
+
|
|
107
|
+
## License
|
|
108
|
+
|
|
109
|
+
This SDK is distributed under the [MIT License][license-url].
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Support
|
|
114
|
+
|
|
115
|
+
Refer to the [API reference](api-reference.md) for detailed information on available operations with code samples.
|
|
116
|
+
|
|
117
|
+
For further assistance, please contact support at hello@unsiloed.com.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
[license-url]: LICENSE
|
|
122
|
+
[license-badge]: https://img.shields.io/badge/License-MIT-blue.svg
|
|
123
|
+
[apimatic-url]: https://www.apimatic.io
|
|
124
|
+
[apimatic-badge]: https://www.apimatic.io/hubfs/Built-with-APIMatic-badge.svg
|
|
125
|
+
[python-url]: https://www.python.org/downloads/
|
|
126
|
+
[python-badge]: https://img.shields.io/badge/python-3.10%2B-blue.svg
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "unsiloed-apimatic-sdk"
|
|
3
|
+
version = "0.0.2"
|
|
4
|
+
description = "Sample SDKs for Unsiloed by APIMatic"
|
|
5
|
+
authors = [
|
|
6
|
+
{ name = "Muhammad Rafay", email = "muhammad.rafay@apimatic.io" },
|
|
7
|
+
]
|
|
8
|
+
maintainers = [
|
|
9
|
+
{ name = "APIMatic", email = "support@apimatic.io" },
|
|
10
|
+
]
|
|
11
|
+
keywords = ["sdk", "api-client", "openapi", "rest", "http", "apimatic"]
|
|
12
|
+
license = "MIT" # SPDX expression (PEP 639); poetry-core bundles the root LICENSE
|
|
13
|
+
readme = "README.md"
|
|
14
|
+
requires-python = ">=3.10"
|
|
15
|
+
dependencies = [
|
|
16
|
+
"httpx (>=0.28.1,<1.0.0)",
|
|
17
|
+
# 2.11 added the alias-control `model_config` keys core/models.py names --
|
|
18
|
+
# validate_by_name, validate_by_alias and serialize_by_alias. No 2.12-only pydantic API
|
|
19
|
+
# is used anywhere.
|
|
20
|
+
"pydantic[email] (>=2.11.0,<3.0.0)",
|
|
21
|
+
# NotRequired / TypedDict backport for the 3.10 floor (both live in `typing` from 3.11),
|
|
22
|
+
# used by the model input companions; and TypeForm (PEP 747, added in 4.13.0), which
|
|
23
|
+
# core/ uses to type the runtime type expressions its factories accept. PEP 747 is Final
|
|
24
|
+
# and TypeForm reaches `typing` in 3.15, so both move when the floor does.
|
|
25
|
+
"typing-extensions (>=4.13.0,<5.0.0)",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
classifiers = [
|
|
29
|
+
"Intended Audience :: Developers",
|
|
30
|
+
"Programming Language :: Python :: 3",
|
|
31
|
+
"Programming Language :: Python :: 3.10",
|
|
32
|
+
"Programming Language :: Python :: 3.11",
|
|
33
|
+
"Programming Language :: Python :: 3.12",
|
|
34
|
+
"Programming Language :: Python :: 3.13",
|
|
35
|
+
"Programming Language :: Python :: 3.14",
|
|
36
|
+
"Typing :: Typed",
|
|
37
|
+
"Operating System :: OS Independent",
|
|
38
|
+
"Topic :: Internet :: WWW/HTTP",
|
|
39
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
# Must stay below every bare [project] key -- a sub-table header captures whatever follows it.
|
|
43
|
+
[project.urls]
|
|
44
|
+
Documentation = "https://www.unsiloed.ai/docs"
|
|
45
|
+
|
|
46
|
+
[dependency-groups]
|
|
47
|
+
dev = [
|
|
48
|
+
# 2.2 is where PEP 747 TypeForm became default-on; below it, core/'s signatures need an
|
|
49
|
+
# --enable-incomplete-feature flag.
|
|
50
|
+
"mypy (>=2.2.0,<3.0.0)",
|
|
51
|
+
"ruff (>=0.14.14,<0.15.0)",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
[build-system]
|
|
56
|
+
# 2.2.0 is the first release that understands PEP 639 -- below it the backend emits the
|
|
57
|
+
# deprecated `License:` field, re-adds the license classifier and drops `:: 3.14`.
|
|
58
|
+
requires = ["poetry-core>=2.2.0,<3.0.0"]
|
|
59
|
+
build-backend = "poetry.core.masonry.api"
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
[tool.poetry]
|
|
63
|
+
packages = [{ include = "unsiloed_ai_document_processing_api" }]
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
[tool.ruff]
|
|
67
|
+
# target-version is inferred from requires-python -- the floor is single-sourced there
|
|
68
|
+
line-length = 120
|
|
69
|
+
|
|
70
|
+
[tool.ruff.lint]
|
|
71
|
+
select = ["E", "W", "F", "I", "UP", "B", "RUF"]
|
|
72
|
+
# Deliberately excluded:
|
|
73
|
+
# TC - would move pydantic-validated imports under TYPE_CHECKING, breaking the
|
|
74
|
+
# runtime annotation resolution that pydantic depends on
|
|
75
|
+
# Q - the CI-gated formatter normalizes quotes everywhere it runs
|
|
76
|
+
ignore = [
|
|
77
|
+
# Typographic punctuation flagged as confusable. Every docstring here is the spec
|
|
78
|
+
# author's own description, copied verbatim -- normalizing their apostrophes and
|
|
79
|
+
# dashes would silently alter the API's documentation.
|
|
80
|
+
"RUF001", "RUF002", "RUF003",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[tool.ruff.lint.per-file-ignores]
|
|
84
|
+
"**/__init__.py" = ["RUF022"] # curated, grouped __all__
|
|
85
|
+
|
|
86
|
+
[tool.mypy]
|
|
87
|
+
python_version = "3.10" # the supported floor, not whichever interpreter is local
|
|
88
|
+
files = ["unsiloed_ai_document_processing_api"]
|
|
89
|
+
strict = true
|
|
90
|
+
warn_unreachable = true
|
|
91
|
+
enable_error_code = ["redundant-expr", "truthy-bool", "ignore-without-code", "possibly-undefined"]
|
|
92
|
+
# already inside `strict` at mypy 2.3, pinned deliberately: `strict`'s flag set is versioned
|
|
93
|
+
# and the dev floor spans >=2.2.0,<3.0.0
|
|
94
|
+
warn_return_any = true
|
|
95
|
+
pretty = true
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from . import models
|
|
2
|
+
from .async_client import AsyncClient, AsyncUnsiloedAiDocumentProcessingApiClient
|
|
3
|
+
from .client import Client, UnsiloedAiDocumentProcessingApiClient
|
|
4
|
+
from .server import Environment, ServerConfig
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
"models",
|
|
8
|
+
"AsyncClient",
|
|
9
|
+
"AsyncUnsiloedAiDocumentProcessingApiClient",
|
|
10
|
+
"Client",
|
|
11
|
+
"Environment",
|
|
12
|
+
"ServerConfig",
|
|
13
|
+
"UnsiloedAiDocumentProcessingApiClient",
|
|
14
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from .classify import AsyncClassify, Classify
|
|
2
|
+
from .extract import AsyncExtract, Extract
|
|
3
|
+
from .health import AsyncHealth, Health
|
|
4
|
+
from .organization import AsyncOrganization, Organization
|
|
5
|
+
from .parse_v2_presigned_upload import AsyncParseV2PresignedUpload, ParseV2PresignedUpload
|
|
6
|
+
from .parse_vision_api_compatible import AsyncParseVisionApiCompatible, ParseVisionApiCompatible
|
|
7
|
+
from .split import AsyncSplit, Split
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"AsyncClassify",
|
|
11
|
+
"AsyncExtract",
|
|
12
|
+
"AsyncHealth",
|
|
13
|
+
"AsyncOrganization",
|
|
14
|
+
"AsyncParseV2PresignedUpload",
|
|
15
|
+
"AsyncParseVisionApiCompatible",
|
|
16
|
+
"AsyncSplit",
|
|
17
|
+
"Classify",
|
|
18
|
+
"Extract",
|
|
19
|
+
"Health",
|
|
20
|
+
"Organization",
|
|
21
|
+
"ParseV2PresignedUpload",
|
|
22
|
+
"ParseVisionApiCompatible",
|
|
23
|
+
"Split",
|
|
24
|
+
]
|