SPB Git

Repository Public

__init__.py 3.5 KB 65 lines python

1# =============================================================================2#                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION3#             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4# =============================================================================5#6# Project          : MacLustr Identity7# File             : sdk/python/src/maclustr_identity/__init__.py8# Description      : MacLustr Identity — Python SDK.9# Module           : maclustr_identity10# Repository       : https://git.spboucher.ai/maclustr-identity11# Project Website  : https://identity.spboucher.ai12# Created          : 2026-12-0113# Last Modified    : 2026-12-0114#15# Author           : Simon-Pierre Boucher16# Position         : Professor of Finance17# Institution      : Université du Québec en Outaouais (UQO)18# Organization     : SP Boucher19# Website          : https://spboucher.ai20# Git              : https://git.spboucher.ai21#22# Preferred Contact: admin@spboucher.ai23# Technical Contact: dev@spboucher.ai24# Security/Admin   : admin@spboucher.ai25#26# Copyright (c) 202627# Simon-Pierre Boucher28# All rights reserved where applicable. This file is governed by the29# applicable project license, copyright notices and relevant law.30# Existing third-party rights and notices remain unaffected.31#32# License          : None specified (no license file in this repository)33#34# Do not embed credentials, private keys, access tokens,35# certificates or confidential personal information.36#37# =============================================================================38# END OF SP BOUCHER SOURCE HEADER39# =============================================================================4041"""MacLustr Identity — Python SDK.4243Server-side only: the clients hold a secret API key (``mlid_sk_test_…`` / ``mlid_sk_live_…``) that must never be44shipped to a browser, a mobile app or a desktop app. The person being verified only ever receives the session ``url``.45"""46from ._base import DEFAULT_BASE_URL, SDK_VERSION, backoff_delay, should_retry47from ._client import AsyncMacLustrIdentity, MacLustrIdentity48from .errors import (APIConnectionError, APIServerError, AuthenticationError, ConflictError, InvalidRequestError, MacLustrIdentityError,49                     NotFoundError, PermissionDeniedError, RateLimitError, SignatureVerificationError)50from .types import (CreatedVerificationSession, CreatedWebhookEndpoint, DeletedWebhookEndpoint, Event, Page, PersonalDataDeletion, Reason,51                    RotatedWebhookSecret, Verification, VerificationSession, VerificationStatusSummary, WebhookEndpoint, parse_datetime,52                    KNOWN_REASON_CODES, RETRYABLE_SESSION_STATUSES, SESSION_EVENT_TYPES)53from .webhook import DEFAULT_TOLERANCE, SIGNATURE_HEADER, Webhook5455__version__ = SDK_VERSION5657__all__ = [58    "MacLustrIdentity", "AsyncMacLustrIdentity", "Webhook", "DEFAULT_BASE_URL", "DEFAULT_TOLERANCE", "SIGNATURE_HEADER", "__version__",59    "backoff_delay", "should_retry", "parse_datetime", "KNOWN_REASON_CODES", "RETRYABLE_SESSION_STATUSES", "SESSION_EVENT_TYPES",60    "MacLustrIdentityError", "InvalidRequestError", "AuthenticationError", "PermissionDeniedError", "NotFoundError", "ConflictError",61    "RateLimitError", "APIServerError", "APIConnectionError", "SignatureVerificationError",62    "VerificationSession", "CreatedVerificationSession", "Verification", "VerificationStatusSummary", "PersonalDataDeletion", "Reason",63    "WebhookEndpoint", "CreatedWebhookEndpoint", "DeletedWebhookEndpoint", "RotatedWebhookSecret", "Page", "Event",64]65
Files main
Menu

Theme