返回 ppt-master
page_context.py
根目录 / skills / ppt-master / scripts / page_context.py
1 #!/usr/bin/env python3
2 """
3 PPT Master - Page Context Compatibility Module
4
5 Re-export the project-management page-context API from its domain package.
6 New internal imports should use ``project_management.page_context``.
7
8 Usage:
9 Import the public projection helpers from this module.
10
11 Examples:
12 from page_context import build_page_context
13
14 Dependencies:
15 Same as project_management.page_context.
16 """
17
18 from project_management.page_context import (
19 LOCK_PROJECTION_TOKEN_TARGET,
20 PAGE_CONTEXT_REPORT_SCHEMA,
21 PAGE_CONTEXT_SCHEMA,
22 PAGE_CONTEXT_TOKEN_TARGET,
23 PAGE_CONTEXT_USAGE_SCHEMA,
24 TOKEN_ENCODING,
25 PageContextError,
26 PageContextResult,
27 PageRead,
28 build_page_context,
29 normalize_page_key,
30 page_context_usage_report,
31 record_page_context_usage,
32 render_page_context,
33 )
34
35 __all__ = [
36 "LOCK_PROJECTION_TOKEN_TARGET",
37 "PAGE_CONTEXT_REPORT_SCHEMA",
38 "PAGE_CONTEXT_SCHEMA",
39 "PAGE_CONTEXT_TOKEN_TARGET",
40 "PAGE_CONTEXT_USAGE_SCHEMA",
41 "TOKEN_ENCODING",
42 "PageContextError",
43 "PageContextResult",
44 "PageRead",
45 "build_page_context",
46 "normalize_page_key",
47 "page_context_usage_report",
48 "record_page_context_usage",
49 "render_page_context",
50 ]
51
51 lines PYTHON