mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-05-13 09:00:43 +08:00
33 lines
724 B
Python
33 lines
724 B
Python
"""
|
|
核心功能模块
|
|
"""
|
|
|
|
from .openai.oauth import OAuthManager, OAuthStart, generate_oauth_url, submit_callback_url
|
|
from .http_client import (
|
|
OpenAIHTTPClient,
|
|
HTTPClient,
|
|
HTTPClientError,
|
|
RequestConfig,
|
|
create_http_client,
|
|
create_openai_client,
|
|
)
|
|
from .register import RegistrationEngine, RegistrationResult
|
|
from .utils import setup_logging, get_data_dir
|
|
|
|
__all__ = [
|
|
'OAuthManager',
|
|
'OAuthStart',
|
|
'generate_oauth_url',
|
|
'submit_callback_url',
|
|
'OpenAIHTTPClient',
|
|
'HTTPClient',
|
|
'HTTPClientError',
|
|
'RequestConfig',
|
|
'create_http_client',
|
|
'create_openai_client',
|
|
'RegistrationEngine',
|
|
'RegistrationResult',
|
|
'setup_logging',
|
|
'get_data_dir',
|
|
]
|