| """AffixIO admission and evidence controls for Hugging Face inference.""" | |
| # Credit: @paparichens | |
| from .integrity import IntegrityError # noqa: I001 | |
| from .integrity import enforce as _enforce_integrity | |
| _enforce_integrity() | |
| from .client import AffixHuggingFace, AuthorisedStream # noqa: E402 | |
| from .errors import ( # noqa: E402 | |
| AdmissionDenied, | |
| AffixAPIError, | |
| AffixHuggingFaceError, | |
| ConfigurationError, | |
| EvidenceError, | |
| RegistrationThrottled, | |
| StreamNotComplete, | |
| TrialExhausted, | |
| ) | |
| from .models import ( # noqa: E402 | |
| AdmissionChecks, | |
| AdmissionProof, | |
| AffixReceipt, | |
| AuthorisedResult, | |
| CompletionEvidence, | |
| GateReceipt, | |
| ModelRef, | |
| ) | |
| from .trial import TrialCredentials, TrialQuota, credentials_path # noqa: E402 | |
| __version__ = "0.3.0" | |
| __all__ = [ | |
| "AdmissionChecks", | |
| "AdmissionDenied", | |
| "AdmissionProof", | |
| "AffixAPIError", | |
| "AffixHuggingFace", | |
| "AffixHuggingFaceError", | |
| "AffixReceipt", | |
| "AuthorisedResult", | |
| "AuthorisedStream", | |
| "CompletionEvidence", | |
| "ConfigurationError", | |
| "EvidenceError", | |
| "GateReceipt", | |
| "IntegrityError", | |
| "ModelRef", | |
| "RegistrationThrottled", | |
| "StreamNotComplete", | |
| "TrialCredentials", | |
| "TrialExhausted", | |
| "TrialQuota", | |
| "__version__", | |
| "credentials_path", | |
| ] | |