notionary 0.4.0__py3-none-any.whl → 0.4.2__py3-none-any.whl

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.
Files changed (178) hide show
  1. notionary/__init__.py +44 -1
  2. notionary/blocks/client.py +37 -11
  3. notionary/blocks/rich_text/markdown_rich_text_converter.py +49 -15
  4. notionary/blocks/rich_text/models.py +13 -4
  5. notionary/blocks/rich_text/name_id_resolver/data_source.py +9 -3
  6. notionary/blocks/rich_text/name_id_resolver/person.py +6 -2
  7. notionary/blocks/rich_text/rich_text_markdown_converter.py +10 -3
  8. notionary/blocks/schemas.py +2 -1
  9. notionary/comments/client.py +19 -6
  10. notionary/comments/factory.py +10 -3
  11. notionary/comments/schemas.py +9 -3
  12. notionary/comments/service.py +12 -4
  13. notionary/data_source/http/data_source_instance_client.py +59 -17
  14. notionary/data_source/properties/schemas.py +30 -10
  15. notionary/data_source/query/builder.py +67 -18
  16. notionary/data_source/query/resolver.py +16 -5
  17. notionary/data_source/query/schema.py +24 -6
  18. notionary/data_source/query/validator.py +18 -6
  19. notionary/data_source/schema/registry.py +31 -12
  20. notionary/data_source/schema/service.py +66 -20
  21. notionary/data_source/service.py +74 -23
  22. notionary/database/client.py +27 -9
  23. notionary/database/database_metadata_update_client.py +12 -4
  24. notionary/database/service.py +11 -4
  25. notionary/exceptions/__init__.py +15 -3
  26. notionary/exceptions/block_parsing.py +6 -2
  27. notionary/exceptions/data_source/builder.py +11 -5
  28. notionary/exceptions/data_source/properties.py +3 -1
  29. notionary/exceptions/file_upload.py +12 -3
  30. notionary/exceptions/properties.py +3 -1
  31. notionary/exceptions/search.py +6 -2
  32. notionary/file_upload/client.py +5 -1
  33. notionary/file_upload/config/config.py +10 -3
  34. notionary/file_upload/query/builder.py +6 -2
  35. notionary/file_upload/schemas.py +3 -1
  36. notionary/file_upload/service.py +42 -14
  37. notionary/file_upload/validation/factory.py +3 -1
  38. notionary/file_upload/validation/impl/file_name_length.py +3 -1
  39. notionary/file_upload/validation/models.py +15 -5
  40. notionary/file_upload/validation/validators/file_extension.py +12 -3
  41. notionary/http/client.py +27 -8
  42. notionary/page/content/__init__.py +9 -0
  43. notionary/page/content/factory.py +21 -7
  44. notionary/page/content/markdown/builder.py +85 -23
  45. notionary/page/content/markdown/nodes/audio.py +8 -4
  46. notionary/page/content/markdown/nodes/base.py +3 -3
  47. notionary/page/content/markdown/nodes/bookmark.py +5 -3
  48. notionary/page/content/markdown/nodes/breadcrumb.py +2 -2
  49. notionary/page/content/markdown/nodes/bulleted_list.py +5 -3
  50. notionary/page/content/markdown/nodes/callout.py +2 -2
  51. notionary/page/content/markdown/nodes/code.py +5 -3
  52. notionary/page/content/markdown/nodes/columns.py +3 -3
  53. notionary/page/content/markdown/nodes/container.py +9 -5
  54. notionary/page/content/markdown/nodes/divider.py +2 -2
  55. notionary/page/content/markdown/nodes/embed.py +8 -4
  56. notionary/page/content/markdown/nodes/equation.py +4 -2
  57. notionary/page/content/markdown/nodes/file.py +8 -4
  58. notionary/page/content/markdown/nodes/heading.py +2 -2
  59. notionary/page/content/markdown/nodes/image.py +8 -4
  60. notionary/page/content/markdown/nodes/mixins/caption.py +5 -3
  61. notionary/page/content/markdown/nodes/numbered_list.py +5 -3
  62. notionary/page/content/markdown/nodes/paragraph.py +4 -2
  63. notionary/page/content/markdown/nodes/pdf.py +8 -4
  64. notionary/page/content/markdown/nodes/quote.py +2 -2
  65. notionary/page/content/markdown/nodes/space.py +2 -2
  66. notionary/page/content/markdown/nodes/table.py +8 -5
  67. notionary/page/content/markdown/nodes/table_of_contents.py +2 -2
  68. notionary/page/content/markdown/nodes/todo.py +15 -7
  69. notionary/page/content/markdown/nodes/toggle.py +2 -2
  70. notionary/page/content/markdown/nodes/video.py +8 -4
  71. notionary/page/content/markdown/structured_output/__init__.py +73 -0
  72. notionary/page/content/markdown/structured_output/models.py +391 -0
  73. notionary/page/content/markdown/structured_output/service.py +211 -0
  74. notionary/page/content/parser/context.py +1 -1
  75. notionary/page/content/parser/factory.py +23 -8
  76. notionary/page/content/parser/parsers/audio.py +7 -2
  77. notionary/page/content/parser/parsers/base.py +2 -2
  78. notionary/page/content/parser/parsers/bookmark.py +2 -2
  79. notionary/page/content/parser/parsers/breadcrumb.py +2 -2
  80. notionary/page/content/parser/parsers/bulleted_list.py +19 -6
  81. notionary/page/content/parser/parsers/callout.py +15 -5
  82. notionary/page/content/parser/parsers/caption.py +9 -3
  83. notionary/page/content/parser/parsers/code.py +21 -7
  84. notionary/page/content/parser/parsers/column.py +8 -4
  85. notionary/page/content/parser/parsers/column_list.py +19 -7
  86. notionary/page/content/parser/parsers/divider.py +2 -2
  87. notionary/page/content/parser/parsers/embed.py +2 -2
  88. notionary/page/content/parser/parsers/equation.py +8 -4
  89. notionary/page/content/parser/parsers/file.py +7 -2
  90. notionary/page/content/parser/parsers/file_like_block.py +30 -10
  91. notionary/page/content/parser/parsers/heading.py +31 -10
  92. notionary/page/content/parser/parsers/image.py +7 -2
  93. notionary/page/content/parser/parsers/numbered_list.py +18 -6
  94. notionary/page/content/parser/parsers/paragraph.py +3 -1
  95. notionary/page/content/parser/parsers/pdf.py +7 -2
  96. notionary/page/content/parser/parsers/quote.py +28 -9
  97. notionary/page/content/parser/parsers/space.py +2 -2
  98. notionary/page/content/parser/parsers/table.py +31 -10
  99. notionary/page/content/parser/parsers/table_of_contents.py +7 -3
  100. notionary/page/content/parser/parsers/todo.py +15 -5
  101. notionary/page/content/parser/parsers/toggle.py +15 -5
  102. notionary/page/content/parser/parsers/video.py +7 -2
  103. notionary/page/content/parser/post_processing/handlers/rich_text_length.py +8 -2
  104. notionary/page/content/parser/post_processing/handlers/rich_text_length_truncation.py +8 -2
  105. notionary/page/content/parser/post_processing/service.py +3 -1
  106. notionary/page/content/parser/pre_processsing/handlers/column_syntax.py +21 -7
  107. notionary/page/content/parser/pre_processsing/handlers/indentation.py +11 -4
  108. notionary/page/content/parser/pre_processsing/handlers/video_syntax.py +13 -6
  109. notionary/page/content/parser/service.py +4 -1
  110. notionary/page/content/renderer/context.py +15 -5
  111. notionary/page/content/renderer/factory.py +12 -6
  112. notionary/page/content/renderer/post_processing/handlers/numbered_list.py +19 -9
  113. notionary/page/content/renderer/renderers/audio.py +14 -5
  114. notionary/page/content/renderer/renderers/base.py +3 -3
  115. notionary/page/content/renderer/renderers/bookmark.py +3 -1
  116. notionary/page/content/renderer/renderers/bulleted_list.py +11 -5
  117. notionary/page/content/renderer/renderers/callout.py +19 -7
  118. notionary/page/content/renderer/renderers/captioned_block.py +11 -5
  119. notionary/page/content/renderer/renderers/code.py +6 -2
  120. notionary/page/content/renderer/renderers/column.py +3 -1
  121. notionary/page/content/renderer/renderers/column_list.py +3 -1
  122. notionary/page/content/renderer/renderers/embed.py +3 -1
  123. notionary/page/content/renderer/renderers/equation.py +3 -1
  124. notionary/page/content/renderer/renderers/file.py +14 -5
  125. notionary/page/content/renderer/renderers/file_like_block.py +8 -4
  126. notionary/page/content/renderer/renderers/heading.py +22 -8
  127. notionary/page/content/renderer/renderers/image.py +13 -4
  128. notionary/page/content/renderer/renderers/numbered_list.py +8 -3
  129. notionary/page/content/renderer/renderers/paragraph.py +12 -4
  130. notionary/page/content/renderer/renderers/pdf.py +14 -5
  131. notionary/page/content/renderer/renderers/quote.py +14 -6
  132. notionary/page/content/renderer/renderers/table.py +15 -5
  133. notionary/page/content/renderer/renderers/todo.py +16 -6
  134. notionary/page/content/renderer/renderers/toggle.py +8 -4
  135. notionary/page/content/renderer/renderers/video.py +14 -5
  136. notionary/page/content/renderer/service.py +9 -3
  137. notionary/page/content/service.py +21 -7
  138. notionary/page/content/syntax/definition/__init__.py +11 -0
  139. notionary/page/content/syntax/definition/models.py +57 -0
  140. notionary/page/content/syntax/definition/registry.py +371 -0
  141. notionary/page/content/syntax/prompts/__init__.py +4 -0
  142. notionary/page/content/syntax/prompts/models.py +11 -0
  143. notionary/page/content/syntax/prompts/registry.py +703 -0
  144. notionary/page/page_metadata_update_client.py +12 -4
  145. notionary/page/properties/client.py +45 -15
  146. notionary/page/properties/factory.py +6 -2
  147. notionary/page/properties/service.py +110 -36
  148. notionary/page/service.py +20 -6
  149. notionary/shared/entity/client.py +6 -2
  150. notionary/shared/entity/dto_parsers.py +3 -1
  151. notionary/shared/entity/entity_metadata_update_client.py +9 -3
  152. notionary/shared/entity/schemas.py +1 -1
  153. notionary/shared/entity/service.py +53 -22
  154. notionary/shared/models/file.py +3 -1
  155. notionary/shared/models/icon.py +6 -4
  156. notionary/user/base.py +6 -2
  157. notionary/user/bot.py +10 -2
  158. notionary/user/client.py +3 -1
  159. notionary/user/person.py +3 -1
  160. notionary/user/schemas.py +3 -1
  161. notionary/user/service.py +6 -2
  162. notionary/utils/decorators.py +6 -2
  163. notionary/utils/fuzzy.py +6 -2
  164. notionary/utils/mixins/logging.py +3 -1
  165. notionary/utils/pagination.py +14 -4
  166. notionary/workspace/__init__.py +5 -1
  167. notionary/workspace/query/service.py +59 -16
  168. notionary/workspace/service.py +39 -11
  169. {notionary-0.4.0.dist-info → notionary-0.4.2.dist-info}/METADATA +1 -1
  170. notionary-0.4.2.dist-info/RECORD +236 -0
  171. notionary/page/blocks/client.py +0 -1
  172. notionary/page/content/syntax/__init__.py +0 -5
  173. notionary/page/content/syntax/models.py +0 -66
  174. notionary/page/content/syntax/registry.py +0 -371
  175. notionary-0.4.0.dist-info/RECORD +0 -230
  176. /notionary/page/content/syntax/{grammar.py → definition/grammar.py} +0 -0
  177. {notionary-0.4.0.dist-info → notionary-0.4.2.dist-info}/WHEEL +0 -0
  178. {notionary-0.4.0.dist-info → notionary-0.4.2.dist-info}/licenses/LICENSE +0 -0
@@ -1,371 +0,0 @@
1
- import re
2
-
3
- from notionary.page.content.syntax.grammar import MarkdownGrammar
4
- from notionary.page.content.syntax.models import SyntaxDefinition, SyntaxRegistryKey
5
-
6
-
7
- # TODO: Add support for file upload in blocks for file types (refactor file types aswell)
8
- # differentiate between external and uploaded files (file like blocks)
9
- class SyntaxRegistry:
10
- def __init__(self, markdown_markdown_grammar: MarkdownGrammar | None = None) -> None:
11
- self._markdown_grammar = markdown_markdown_grammar or MarkdownGrammar()
12
-
13
- self._definitions: dict[SyntaxRegistryKey, SyntaxDefinition] = {}
14
- self._register_defaults()
15
-
16
- def get_audio_syntax(self) -> SyntaxDefinition:
17
- return self._definitions[SyntaxRegistryKey.AUDIO]
18
-
19
- def get_bookmark_syntax(self) -> SyntaxDefinition:
20
- return self._definitions[SyntaxRegistryKey.BOOKMARK]
21
-
22
- def get_breadcrumb_syntax(self) -> SyntaxDefinition:
23
- return self._definitions[SyntaxRegistryKey.BREADCRUMB]
24
-
25
- def get_bulleted_list_syntax(self) -> SyntaxDefinition:
26
- return self._definitions[SyntaxRegistryKey.BULLETED_LIST]
27
-
28
- def get_callout_syntax(self) -> SyntaxDefinition:
29
- return self._definitions[SyntaxRegistryKey.CALLOUT]
30
-
31
- def get_code_syntax(self) -> SyntaxDefinition:
32
- return self._definitions[SyntaxRegistryKey.CODE]
33
-
34
- def get_column_syntax(self) -> SyntaxDefinition:
35
- return self._definitions[SyntaxRegistryKey.COLUMN]
36
-
37
- def get_column_list_syntax(self) -> SyntaxDefinition:
38
- return self._definitions[SyntaxRegistryKey.COLUMN_LIST]
39
-
40
- def get_divider_syntax(self) -> SyntaxDefinition:
41
- return self._definitions[SyntaxRegistryKey.DIVIDER]
42
-
43
- def get_embed_syntax(self) -> SyntaxDefinition:
44
- return self._definitions[SyntaxRegistryKey.EMBED]
45
-
46
- def get_equation_syntax(self) -> SyntaxDefinition:
47
- return self._definitions[SyntaxRegistryKey.EQUATION]
48
-
49
- def get_file_syntax(self) -> SyntaxDefinition:
50
- return self._definitions[SyntaxRegistryKey.FILE]
51
-
52
- def get_image_syntax(self) -> SyntaxDefinition:
53
- return self._definitions[SyntaxRegistryKey.IMAGE]
54
-
55
- def get_numbered_list_syntax(self) -> SyntaxDefinition:
56
- return self._definitions[SyntaxRegistryKey.NUMBERED_LIST]
57
-
58
- def get_pdf_syntax(self) -> SyntaxDefinition:
59
- return self._definitions[SyntaxRegistryKey.PDF]
60
-
61
- def get_quote_syntax(self) -> SyntaxDefinition:
62
- return self._definitions[SyntaxRegistryKey.QUOTE]
63
-
64
- def get_table_syntax(self) -> SyntaxDefinition:
65
- return self._definitions[SyntaxRegistryKey.TABLE]
66
-
67
- def get_table_row_syntax(self) -> SyntaxDefinition:
68
- return self._definitions[SyntaxRegistryKey.TABLE_ROW]
69
-
70
- def get_table_of_contents_syntax(self) -> SyntaxDefinition:
71
- return self._definitions[SyntaxRegistryKey.TABLE_OF_CONTENTS]
72
-
73
- def get_todo_syntax(self) -> SyntaxDefinition:
74
- return self._definitions[SyntaxRegistryKey.TO_DO]
75
-
76
- def get_todo_done_syntax(self) -> SyntaxDefinition:
77
- return self._definitions[SyntaxRegistryKey.TO_DO_DONE]
78
-
79
- def get_toggle_syntax(self) -> SyntaxDefinition:
80
- return self._definitions[SyntaxRegistryKey.TOGGLE]
81
-
82
- def get_toggleable_heading_syntax(self) -> SyntaxDefinition:
83
- return self._definitions[SyntaxRegistryKey.TOGGLEABLE_HEADING]
84
-
85
- def get_video_syntax(self) -> SyntaxDefinition:
86
- return self._definitions[SyntaxRegistryKey.VIDEO]
87
-
88
- def get_caption_syntax(self) -> SyntaxDefinition:
89
- return self._definitions[SyntaxRegistryKey.CAPTION]
90
-
91
- def get_space_syntax(self) -> SyntaxDefinition:
92
- return self._definitions[SyntaxRegistryKey.SPACE]
93
-
94
- def get_heading_syntax(self) -> SyntaxDefinition:
95
- return self._definitions[SyntaxRegistryKey.HEADING]
96
-
97
- def _create_media_syntax(self, media_type: str, url_pattern: str | None = None) -> SyntaxDefinition:
98
- url_pattern = url_pattern or "[^)]+"
99
- return SyntaxDefinition(
100
- start_delimiter=f"[{media_type}](",
101
- end_delimiter=")",
102
- regex_pattern=re.compile(rf"(?<!\!)\[{re.escape(media_type)}\]\(({url_pattern})\)"),
103
- )
104
-
105
- def _create_url_media_syntax(self, media_type: str) -> SyntaxDefinition:
106
- return SyntaxDefinition(
107
- start_delimiter=f"[{media_type}](",
108
- end_delimiter=")",
109
- regex_pattern=re.compile(rf"(?<!\!)\[{re.escape(media_type)}\]\((https?://[^\s)]+)\)"),
110
- )
111
-
112
- def _register_defaults(self) -> None:
113
- self._register_audio_syntax()
114
- self._register_video_syntax()
115
- self._register_image_syntax()
116
- self._register_file_syntax()
117
- self._register_pdf_syntax()
118
- self._register_bookmark_syntax()
119
- self._register_embed_syntax()
120
-
121
- self._register_bulleted_list_syntax()
122
- self._register_numbered_list_syntax()
123
- self._register_todo_syntax()
124
- self._register_todo_done_syntax()
125
-
126
- self._register_toggle_syntax()
127
- self._register_toggleable_heading_syntax()
128
- self._register_callout_syntax()
129
- self._register_quote_syntax()
130
- self._register_code_syntax()
131
-
132
- self._register_column_list_syntax()
133
- self._register_column_syntax()
134
-
135
- self._register_heading_1_syntax()
136
- self._register_heading_2_syntax()
137
- self._register_heading_3_syntax()
138
- self._register_heading_syntax()
139
-
140
- self._register_divider_syntax()
141
- self._register_breadcrumb_syntax()
142
- self._register_table_of_contents_syntax()
143
- self._register_equation_syntax()
144
- self._register_table_syntax()
145
- self._register_table_row_syntax()
146
-
147
- self._register_caption_syntax()
148
- self._register_space_syntax()
149
-
150
- def _register_audio_syntax(self) -> None:
151
- self._definitions[SyntaxRegistryKey.AUDIO] = self._create_media_syntax("audio")
152
-
153
- def _register_video_syntax(self) -> None:
154
- self._definitions[SyntaxRegistryKey.VIDEO] = self._create_media_syntax("video")
155
-
156
- def _register_image_syntax(self) -> None:
157
- self._definitions[SyntaxRegistryKey.IMAGE] = self._create_media_syntax("image")
158
-
159
- def _register_file_syntax(self) -> None:
160
- self._definitions[SyntaxRegistryKey.FILE] = self._create_media_syntax("file")
161
-
162
- def _register_pdf_syntax(self) -> None:
163
- self._definitions[SyntaxRegistryKey.PDF] = self._create_media_syntax("pdf")
164
-
165
- def _register_bookmark_syntax(self) -> None:
166
- self._definitions[SyntaxRegistryKey.BOOKMARK] = self._create_url_media_syntax("bookmark")
167
-
168
- def _register_embed_syntax(self) -> None:
169
- self._definitions[SyntaxRegistryKey.EMBED] = self._create_url_media_syntax("embed")
170
-
171
- def _register_breadcrumb_syntax(self) -> None:
172
- definition = SyntaxDefinition(
173
- start_delimiter="[breadcrumb]",
174
- end_delimiter="",
175
- regex_pattern=re.compile(r"^\[breadcrumb\]\s*$", re.IGNORECASE),
176
- )
177
- self._definitions[SyntaxRegistryKey.BREADCRUMB] = definition
178
-
179
- def _register_bulleted_list_syntax(self) -> None:
180
- definition = SyntaxDefinition(
181
- start_delimiter="- ",
182
- end_delimiter="",
183
- regex_pattern=re.compile(r"^(\s*)-\s+(?!\[[ xX]\])(.+)$"),
184
- )
185
- self._definitions[SyntaxRegistryKey.BULLETED_LIST] = definition
186
-
187
- def _register_callout_syntax(self) -> None:
188
- definition = SyntaxDefinition(
189
- start_delimiter="[callout]",
190
- end_delimiter=")",
191
- regex_pattern=re.compile(
192
- r'\[callout\](?:\(([^")]+?)(?:\s+"([^"]+)")?\)|(?:\s+([^"\n]+?)(?:\s+"([^"]+)")?)(?:\n|$))'
193
- ),
194
- )
195
- self._definitions[SyntaxRegistryKey.CALLOUT] = definition
196
-
197
- def _register_code_syntax(self) -> None:
198
- code_delimiter = "```"
199
- definition = SyntaxDefinition(
200
- start_delimiter=code_delimiter,
201
- end_delimiter=code_delimiter,
202
- regex_pattern=re.compile("^" + re.escape(code_delimiter) + r"(\w*)\s*$"),
203
- end_regex_pattern=re.compile("^" + re.escape(code_delimiter) + r"\s*$"),
204
- )
205
- self._definitions[SyntaxRegistryKey.CODE] = definition
206
-
207
- def _register_column_syntax(self) -> None:
208
- delimiter = self._markdown_grammar.column_delimiter
209
- definition = SyntaxDefinition(
210
- start_delimiter=f"{delimiter} column",
211
- end_delimiter=delimiter,
212
- regex_pattern=re.compile(
213
- rf"^{re.escape(delimiter)}\s*column(?:\s+(0?\.\d+|1(?:\.0?)?))??\s*$",
214
- re.IGNORECASE | re.MULTILINE,
215
- ),
216
- end_regex_pattern=re.compile(rf"^{re.escape(delimiter)}\s*$", re.MULTILINE),
217
- )
218
- self._definitions[SyntaxRegistryKey.COLUMN] = definition
219
-
220
- def _register_column_list_syntax(self) -> None:
221
- delimiter = self._markdown_grammar.column_delimiter
222
- definition = SyntaxDefinition(
223
- start_delimiter=f"{delimiter} columns",
224
- end_delimiter=delimiter,
225
- regex_pattern=re.compile(rf"^{re.escape(delimiter)}\s*columns?\s*$", re.IGNORECASE),
226
- end_regex_pattern=re.compile(rf"^{re.escape(delimiter)}\s*$"),
227
- )
228
- self._definitions[SyntaxRegistryKey.COLUMN_LIST] = definition
229
-
230
- def _register_divider_syntax(self) -> None:
231
- definition = SyntaxDefinition(
232
- start_delimiter="---",
233
- end_delimiter="",
234
- regex_pattern=re.compile(r"^\s*-{3,}\s*$"),
235
- )
236
- self._definitions[SyntaxRegistryKey.DIVIDER] = definition
237
-
238
- def _register_equation_syntax(self) -> None:
239
- definition = SyntaxDefinition(
240
- start_delimiter="$$",
241
- end_delimiter="$$",
242
- regex_pattern=re.compile(r"^\$\$\s*$"),
243
- )
244
- self._definitions[SyntaxRegistryKey.EQUATION] = definition
245
-
246
- def _register_heading_1_syntax(self) -> None:
247
- definition = SyntaxDefinition(
248
- start_delimiter="# ",
249
- end_delimiter="",
250
- regex_pattern=re.compile(r"^#\s+(.+)$"),
251
- )
252
- self._definitions[SyntaxRegistryKey.HEADING_1] = definition
253
-
254
- def _register_heading_2_syntax(self) -> None:
255
- definition = SyntaxDefinition(
256
- start_delimiter="## ",
257
- end_delimiter="",
258
- regex_pattern=re.compile(r"^#{2}\s+(.+)$"),
259
- )
260
- self._definitions[SyntaxRegistryKey.HEADING_2] = definition
261
-
262
- def _register_heading_3_syntax(self) -> None:
263
- definition = SyntaxDefinition(
264
- start_delimiter="### ",
265
- end_delimiter="",
266
- regex_pattern=re.compile(r"^#{3}\s+(.+)$"),
267
- )
268
- self._definitions[SyntaxRegistryKey.HEADING_3] = definition
269
-
270
- def _register_numbered_list_syntax(self) -> None:
271
- definition = SyntaxDefinition(
272
- start_delimiter="1. ",
273
- end_delimiter="",
274
- regex_pattern=re.compile(r"^(\s*)(\d+)\.\s+(.+)$"),
275
- )
276
- self._definitions[SyntaxRegistryKey.NUMBERED_LIST] = definition
277
-
278
- def _register_quote_syntax(self) -> None:
279
- definition = SyntaxDefinition(
280
- start_delimiter="> ",
281
- end_delimiter="",
282
- regex_pattern=re.compile(r"^>(?!>)\s*(.+)$"),
283
- )
284
- self._definitions[SyntaxRegistryKey.QUOTE] = definition
285
-
286
- def _register_table_syntax(self) -> None:
287
- delimiter = self._markdown_grammar.table_delimiter
288
- definition = SyntaxDefinition(
289
- start_delimiter=delimiter,
290
- end_delimiter="",
291
- regex_pattern=re.compile(rf"^\s*{re.escape(delimiter)}(.+){re.escape(delimiter)}\s*$"),
292
- )
293
- self._definitions[SyntaxRegistryKey.TABLE] = definition
294
-
295
- def _register_table_row_syntax(self) -> None:
296
- delimiter = self._markdown_grammar.table_delimiter
297
- definition = SyntaxDefinition(
298
- start_delimiter=delimiter,
299
- end_delimiter="",
300
- regex_pattern=re.compile(rf"^\s*{re.escape(delimiter)}([\s\-:|]+){re.escape(delimiter)}\s*$"),
301
- )
302
- self._definitions[SyntaxRegistryKey.TABLE_ROW] = definition
303
-
304
- def _register_table_of_contents_syntax(self) -> None:
305
- definition = SyntaxDefinition(
306
- start_delimiter="[toc]",
307
- end_delimiter="",
308
- regex_pattern=re.compile(r"^\[toc\]$", re.IGNORECASE),
309
- )
310
- self._definitions[SyntaxRegistryKey.TABLE_OF_CONTENTS] = definition
311
-
312
- def _register_todo_syntax(self) -> None:
313
- definition = SyntaxDefinition(
314
- start_delimiter="- [ ]",
315
- end_delimiter="",
316
- regex_pattern=re.compile(r"^\s*-\s+\[ \]\s+(.+)$"),
317
- )
318
- self._definitions[SyntaxRegistryKey.TO_DO] = definition
319
-
320
- def _register_todo_done_syntax(self) -> None:
321
- definition = SyntaxDefinition(
322
- start_delimiter="- [x]",
323
- end_delimiter="",
324
- regex_pattern=re.compile(r"^\s*-\s+\[x\]\s+(.+)$", re.IGNORECASE),
325
- )
326
- self._definitions[SyntaxRegistryKey.TO_DO_DONE] = definition
327
-
328
- def _register_toggle_syntax(self) -> None:
329
- delimiter = self._markdown_grammar.toggle_delimiter
330
- definition = SyntaxDefinition(
331
- start_delimiter=delimiter,
332
- end_delimiter=delimiter,
333
- regex_pattern=re.compile(rf"^{re.escape(delimiter)}\s+(.+)$"),
334
- end_regex_pattern=re.compile(rf"^{re.escape(delimiter)}\s*$"),
335
- )
336
- self._definitions[SyntaxRegistryKey.TOGGLE] = definition
337
-
338
- def _register_toggleable_heading_syntax(self) -> None:
339
- delimiter = self._markdown_grammar.toggle_delimiter
340
- escaped_delimiter = re.escape(delimiter)
341
- definition = SyntaxDefinition(
342
- start_delimiter=f"{delimiter} #",
343
- end_delimiter=delimiter,
344
- regex_pattern=re.compile(rf"^{escaped_delimiter}\s*(?P<level>#{{1,3}})(?!#)\s*(.+)$", re.IGNORECASE),
345
- end_regex_pattern=re.compile(rf"^{escaped_delimiter}\s*$"),
346
- )
347
- self._definitions[SyntaxRegistryKey.TOGGLEABLE_HEADING] = definition
348
-
349
- def _register_caption_syntax(self) -> None:
350
- definition = SyntaxDefinition(
351
- start_delimiter="[caption]",
352
- end_delimiter="",
353
- regex_pattern=re.compile(r"^\[caption\]\s+(\S.*)$"),
354
- )
355
- self._definitions[SyntaxRegistryKey.CAPTION] = definition
356
-
357
- def _register_space_syntax(self) -> None:
358
- definition = SyntaxDefinition(
359
- start_delimiter="[space]",
360
- end_delimiter="",
361
- regex_pattern=re.compile(r"^\[space\]\s*$"),
362
- )
363
- self._definitions[SyntaxRegistryKey.SPACE] = definition
364
-
365
- def _register_heading_syntax(self) -> None:
366
- definition = SyntaxDefinition(
367
- start_delimiter="#",
368
- end_delimiter="",
369
- regex_pattern=re.compile(r"^(#{1,3})[ \t]+(.+)$"),
370
- )
371
- self._definitions[SyntaxRegistryKey.HEADING] = definition
@@ -1,230 +0,0 @@
1
- notionary/__init__.py,sha256=kF7j3rTACgHt3IN4ODIceLE50Uxn8GvKbjqgD1dCdbE,660
2
- notionary/blocks/__init__.py,sha256=LsVUgSsDYlLy-bwLqnukcr4uB8ZcCLMz3fGd4HsNXDY,99
3
- notionary/blocks/client.py,sha256=zYy_eFz6NKFGqsESDddiUUZZfV6ybWWyzseThZEdIvI,5551
4
- notionary/blocks/enums.py,sha256=Y_la49porLNRMI72n8Ucl_CDjo2xuH-RNwx3BesxHig,4663
5
- notionary/blocks/schemas.py,sha256=ahXn6DQTvEkTDCIEzEZlUQPkysI3moDs0GdUhuQsNDw,19969
6
- notionary/blocks/rich_text/markdown_rich_text_converter.py,sha256=kZyCwKgv4BMTswmIPTyDVrLs4OQ9JQn9O-Qb0rxea1k,11642
7
- notionary/blocks/rich_text/models.py,sha256=0aNsB_gpFiqBXAATL4yVMyOy4-zbN0WKB3rEaFQeTKs,4863
8
- notionary/blocks/rich_text/rich_text_markdown_converter.py,sha256=oKqh8vK5JTehiYC-y0m4bfRSkt5bq1gTpWZib7NIvoo,5512
9
- notionary/blocks/rich_text/rich_text_patterns.py,sha256=nC2WosgLh_RhaEckVkSi-xUNJl14bKO2u2ImuOcufso,1703
10
- notionary/blocks/rich_text/name_id_resolver/__init__.py,sha256=1WZprWsEpL-gWnZrSn7-DqhHUz0r_8OiOcyHi1P4i1g,372
11
- notionary/blocks/rich_text/name_id_resolver/data_source.py,sha256=IQo-njsuyUENm05ccroU_EbmqExn8Kc3TQ2SsiLkop8,1269
12
- notionary/blocks/rich_text/name_id_resolver/database.py,sha256=xrCnBUYfZJfDw9bSwUroWbqzK4N1P8eduBfKVug_KXg,1073
13
- notionary/blocks/rich_text/name_id_resolver/page.py,sha256=DfjXyBLdkYl5UfoU2UGSllsRUM5XFp30H_OJwJdKdrI,1137
14
- notionary/blocks/rich_text/name_id_resolver/person.py,sha256=lhDBhJXL0VRoOu8eJc-uOcqXB78os8V6VePagBboKs8,1301
15
- notionary/blocks/rich_text/name_id_resolver/port.py,sha256=VtTavK6rHL-_qTIjFMsO25cgh_oUHNS-qEM_mONOaS0,259
16
- notionary/comments/__init__.py,sha256=1LfujehhvWqJmNKft6QvcbwhLlJOGq7cH1uTb4IUR2w,63
17
- notionary/comments/client.py,sha256=43raXEooa_kA-iYlUSEFqtQuA9gJ1kHPLsbC0K0H_bE,2593
18
- notionary/comments/factory.py,sha256=OmE1CBY5elpbvuSj64EmBfSlmED9VAYIQ65J5jKM15s,1511
19
- notionary/comments/models.py,sha256=g-WTDSel8nhyRa60rN0U5FuccU0KVnsnJBi6Uqz7NVw,107
20
- notionary/comments/schemas.py,sha256=MURN2gNIj_tkSQIEXMDFeDb1Z0DfvEiHIlOZ4H8GEyU,5340
21
- notionary/comments/service.py,sha256=qRCwTTzjdSD2vgqCJCBPbSO3gyajyUD3JWV3qgiMFe0,1652
22
- notionary/data_source/schemas.py,sha256=xfKxy51zWlpXiLRZfRZWzFvIFwqw3hy69ydh-LJJzn0,829
23
- notionary/data_source/service.py,sha256=hZygzOgqpIYgcEGB3FvJCRIZ5NpNIoQYkupyzlUbQDw,11446
24
- notionary/data_source/http/client.py,sha256=wvaBOIT5OtGdE0QjbcDUsuDnZ0TZ-CyIifBHp6OYTqE,445
25
- notionary/data_source/http/data_source_instance_client.py,sha256=S2cDnUw3ISn7cM7vhdX6PGpAarneZri5NRlILlcBV_s,5006
26
- notionary/data_source/properties/schemas.py,sha256=oBuAAr3ESFIvQLP-o0tYKYHXMKg2o6KTy6-xcA3Yd9Q,12964
27
- notionary/data_source/query/__init__.py,sha256=Q3uQf6r0xHYV_i5kn-Gdwf68QKJMnV_7vS_gO4I3kG8,226
28
- notionary/data_source/query/builder.py,sha256=6oyTtcbs7TiJtitzXDiIk_tCaA3G6uvf_KXIQEJByGU,18740
29
- notionary/data_source/query/resolver.py,sha256=zkV-ra2vvKdXAIcDO7zEzjvd_79YKLz6umczK6U8fpo,4370
30
- notionary/data_source/query/schema.py,sha256=PdoboG_b8MDhRw5gfWAnVJpdUJc9b-jcWQs-EUGG8vk,9573
31
- notionary/data_source/query/validator.py,sha256=wO0oT2i8d-Vl6ul_4ilXFyOxnOvM64HXdCRJPyu-xdE,3309
32
- notionary/data_source/schema/registry.py,sha256=ageQvLYOnU1g65JcZ9cmQWfj0Sv7petNWUBl5eH-eFo,5185
33
- notionary/data_source/schema/service.py,sha256=AFkHsOnTOSpf36pr2XHgw16Kna5hzw0GduAdLAh7bMQ,5977
34
- notionary/database/client.py,sha256=oLl8iRPkNC7Fuu9tAhXg3iX5n6z_35Nvl-JN8i0aSd4,2213
35
- notionary/database/database_metadata_update_client.py,sha256=LryhjGxDgLbRvuOUVvViZCogI0-Op4QkOlQUW4z8Tmg,905
36
- notionary/database/schemas.py,sha256=gzihLqe4YjGExWZ4X_s9yU-lm5Ezr1YFjviNCyxW1HE,838
37
- notionary/database/service.py,sha256=uHNxQUxcGxASUXMGGn2CfQZMhyo-w7xawHkRTcdtgcA,4414
38
- notionary/exceptions/__init__.py,sha256=sYBYDhqbO5f930wZaOgnwJYnVm8rX3O9OXEJ8VNLpzI,1484
39
- notionary/exceptions/api.py,sha256=TxDAKh9-DXX3eYis-S_zE07WB0-UcyQsxBjIKKoFBT8,798
40
- notionary/exceptions/base.py,sha256=Ey5rEWO9x9GIQOcGrgQcLz0pehPXGPQdEm8MIpV7Uq4,48
41
- notionary/exceptions/block_parsing.py,sha256=5prPAkbN4bs8EyHLQrAvpFrZMilKJgGAqJdd6s1ukao,1487
42
- notionary/exceptions/file_upload.py,sha256=79oB903eJdD91MO4E1IHapyU-129_fexFQDxu9CBVLs,2816
43
- notionary/exceptions/properties.py,sha256=I-LFWS_xVJFy4FmZQqPrQstuudfvEvBjndQlJtxVRcY,2215
44
- notionary/exceptions/search.py,sha256=VhxVcrlvkCHNC3HBAICXraFBaEKLlZVvb1m82O82Fo8,2176
45
- notionary/exceptions/data_source/__init__.py,sha256=Xs4I-zVxVQiVhfTclJX7GuGVO5fMYQIWqiqFnh_O67M,170
46
- notionary/exceptions/data_source/builder.py,sha256=lnU636VBGRV37_Ht53iUuIbx8CneRNwzCw9BYQA37MM,6023
47
- notionary/exceptions/data_source/properties.py,sha256=LX_JTeMjlJY3_s70mFvDaDn3DfNgfNtzfC-6aC1_3Ug,1248
48
- notionary/file_upload/__init__.py,sha256=MeOzKCT9RVNvikespbjE9cucfMgsh9R0JwoUfhRTjVQ,178
49
- notionary/file_upload/client.py,sha256=OhLf89C8QI7Om1jMUJSFSxrdRFZr3WvQovMfHitRR-w,5370
50
- notionary/file_upload/schemas.py,sha256=1JH-jJonWgW3HyB7pI7MMTM51jaAuwxf8-NFVMlU0Rc,2272
51
- notionary/file_upload/service.py,sha256=vBBNt8u8YDaykUcwMXuYyK9B9giEdii8hXtR1I-XBbQ,8483
52
- notionary/file_upload/config/__init__.py,sha256=BS6sI4ElRMUyxro4ohw6ll7OvIzc46Ss7jjHaJCrLfY,480
53
- notionary/file_upload/config/config.py,sha256=oYeiffnTvEFvzRn4LReyx6ikw9tXhTfJk1p9Naq6_CY,1100
54
- notionary/file_upload/config/constants.py,sha256=KoWJLrPPaTiELKyqrV9-Cng2nq6Y-v0MTxQJPyMnWUI,452
55
- notionary/file_upload/file/reader.py,sha256=I4FmXdPU2dpBiIULfiVnhdiEwlLBMqa9iIO_IbzlLKw,1036
56
- notionary/file_upload/query/__init__.py,sha256=9ZpH2HV-m7YmdKrQ5kDUC9FmcB1zjegUSK_0CTxX1Ho,155
57
- notionary/file_upload/query/builder.py,sha256=n8ReTdkq2PAtXyzDuSlJDX1coAUW6VSLabUrrwb5frY,1922
58
- notionary/file_upload/query/models.py,sha256=c5XIq7WkfjmESMAj47OYFnuheT_jqP68bmYWrNHIq0E,1069
59
- notionary/file_upload/validation/factory.py,sha256=Z27Bv_pjyYiq6mOBvtsXTARBr9Hv13lpI-Fqp6jVfg4,2298
60
- notionary/file_upload/validation/models.py,sha256=PZ5egEjQBePMQ0sFpMuk6IXWbKiskzz-vvrmAMG1-vQ,2906
61
- notionary/file_upload/validation/port.py,sha256=S__YHYXLDlz2deCNNp5mv4fr6abmFyTfFGoftHB-_ZI,148
62
- notionary/file_upload/validation/service.py,sha256=quTdUXCtGFHddqyIplF8SKaXSQ6zTh-Xw_jMq9jAvzI,681
63
- notionary/file_upload/validation/impl/file_name_length.py,sha256=sTJvm4f3kg3Arl5TxVfC9kaVIBor9cRAs8of9reBqEo,955
64
- notionary/file_upload/validation/validators/__init__.py,sha256=UAQGLrDgr4Fv4ESPU0f0nEEY2FNm3VcpB8EZ3nKdDDo,347
65
- notionary/file_upload/validation/validators/file_exists.py,sha256=nL1M9KK2N0YCo3JABSHZioPg0m0R3MJGDMemyL_EduY,486
66
- notionary/file_upload/validation/validators/file_extension.py,sha256=T2ZPJdYGugEEbp4lpWZ02ijrynPEx0hq6P-t75BZCSI,5326
67
- notionary/file_upload/validation/validators/file_name_length.py,sha256=xdZTzw3XUUHd8I6_T6_oD7NdG2t6defLEZAB-QKsvoI,830
68
- notionary/file_upload/validation/validators/upload_limit.py,sha256=UdhDsh57HPPNPQ3kcEAffVnm2CgBF77Fa2G47OmLs7Q,1146
69
- notionary/http/client.py,sha256=HXvSjj8FWkX9AniLqSrVB8l1TXKNB4BzbvzRFjrz-0k,7123
70
- notionary/http/models.py,sha256=fvjKAGX-b6JcJ-W7V3DEt4v3SnsdikMa6N0c4aolslY,1352
71
- notionary/page/page_http_client.py,sha256=YQdXkfMGu2wuJpALJBIsKKwoHv316n_sMjne-iqJYHc,445
72
- notionary/page/page_metadata_update_client.py,sha256=jJc3SMFnt98YBAb9ie_OxQBXAiXpeCzslOcRRRGwVks,865
73
- notionary/page/schemas.py,sha256=uodDbDQDL8b-qvvjnvRXrliFoM7o6tzmLziRBmjVhTE,359
74
- notionary/page/service.py,sha256=KN1rIuYBfmEq_cfZ5dWvcdXA7Ru9QcYqNAp3B_T-3Tg,6186
75
- notionary/page/blocks/client.py,sha256=2ukLeaYdFJCGzpQr-3eIZRFG2potXS-3MdKLoRha9bc,19
76
- notionary/page/content/factory.py,sha256=MRrHgHIruOVJ1Atew4eF4thPTj2L73QVCbfc9YdYFEM,3760
77
- notionary/page/content/service.py,sha256=5beyQrQMyjo5Mq6c0uaj3nfbKSA3ujU1aaKiKJN7r3U,2973
78
- notionary/page/content/markdown/__init__.py,sha256=dhBiNIbiyG38eppjXC0fkZk3NVXzRGC8xqoE89jWHG0,80
79
- notionary/page/content/markdown/builder.py,sha256=1t4_0mWedf9OM2V1DdDbtHxte8LWsgt8kCx3OkIVFR8,9008
80
- notionary/page/content/markdown/nodes/__init__.py,sha256=09XSsSNO4surN3lCHayqTC8zhcE5PZ7cAav_-js3dP4,1729
81
- notionary/page/content/markdown/nodes/audio.py,sha256=CefGip__kbiqo6oBeBphgnZeB6sOBR3-bni9-WRCvK4,888
82
- notionary/page/content/markdown/nodes/base.py,sha256=95mHu6KRKFXjtaPLHuJPYh8M4glqNGNwixZe1TXD0Z4,348
83
- notionary/page/content/markdown/nodes/bookmark.py,sha256=Sez3V4nj6-rmbmfAdcgpXzfRkfS4feWU2RamKCOW_OU,966
84
- notionary/page/content/markdown/nodes/breadcrumb.py,sha256=qkVQSNxcyfeTunTmstt5ydaR-QTsore2aykxkxqfKp4,523
85
- notionary/page/content/markdown/nodes/bulleted_list.py,sha256=y7zgnsyVb5JlDriaKxXC9sBI2E1stVnYuOf-lxYnM9g,1479
86
- notionary/page/content/markdown/nodes/callout.py,sha256=MRT6s3Q-XEcWL07bAYOjCDukUcw1pX9CtnrKKtkB0uQ,1111
87
- notionary/page/content/markdown/nodes/code.py,sha256=DeptFjne05d3QP0Onm2dRYFH0w-sNecoKxibYVBvYxs,1069
88
- notionary/page/content/markdown/nodes/columns.py,sha256=3-X5qsdYJhJbowPuGKVQpPtdGnKmbqLtV_Gw0c2zrkA,2346
89
- notionary/page/content/markdown/nodes/container.py,sha256=GMl1Q_ust7Y51lw53wbAHM98kQGbBsSIKJyJfEv0elU,2526
90
- notionary/page/content/markdown/nodes/divider.py,sha256=YTSYj7aJSubIVmGcpA3R4fsNDaYeK9vdKK3KvKCXo48,511
91
- notionary/page/content/markdown/nodes/embed.py,sha256=ZmZrujsTwr_-genXfwa-DofCXRjvp6lnSqYy_V-Su6M,888
92
- notionary/page/content/markdown/nodes/equation.py,sha256=t0hUTc0lOR9k6_9zDZRz5FNWKAtsborgfxJQsmKANM4,764
93
- notionary/page/content/markdown/nodes/file.py,sha256=wO4vnumZDq2L7LdjXwO0bCroL-GZ9oIySf-Kr3yzJss,883
94
- notionary/page/content/markdown/nodes/heading.py,sha256=7AY5WEtskBiYXgjJYSscIOK6n_c_1PillbUCidUlcyc,1200
95
- notionary/page/content/markdown/nodes/image.py,sha256=mTVHgNVhI4Duv9ARhbuWirQ6-_FQSIq3m6IQCzRVicQ,888
96
- notionary/page/content/markdown/nodes/numbered_list.py,sha256=GLr8AJ9rYr9zAvuWGWua1ERpdv8k3uUQ1W3pSrVmI9o,1334
97
- notionary/page/content/markdown/nodes/paragraph.py,sha256=m9hk5QyjCnPRXHJzoHBtcNiB4fu1xKy2NV730vajm74,452
98
- notionary/page/content/markdown/nodes/pdf.py,sha256=WwRnws-BDIU6s5Tjrg_H90rSr3D6pjbEfoonia3wP1Q,878
99
- notionary/page/content/markdown/nodes/quote.py,sha256=2n1t0bMvJOwFgZ5FRlEy2Klaonaw8X75TXsp5eUUZ2g,923
100
- notionary/page/content/markdown/nodes/space.py,sha256=eG-AlYkeC19QjG5uuYACdYBbaKYPqICodnUZTQR0kRw,503
101
- notionary/page/content/markdown/nodes/table.py,sha256=F-GZWQie8LsJAYsgyFrg5wfSt5ZRY7A9PPh3NfWhn2M,1780
102
- notionary/page/content/markdown/nodes/table_of_contents.py,sha256=THXvxPtFLM69GqJHhGsFhFcnC0eB_gz4Oat7G4ZzJ9Q,521
103
- notionary/page/content/markdown/nodes/todo.py,sha256=7DJ1kHM-vpAD_HwMLOeyCxD5sns2G4ILZ98jG4SYFW0,1349
104
- notionary/page/content/markdown/nodes/toggle.py,sha256=9fVsDPFHqrrpj2vYzbDklVitxtWGx5Oxji1ojFLpyRs,926
105
- notionary/page/content/markdown/nodes/video.py,sha256=COmRavqXIoD7_Y8k1ha6b36gbBtYfyTH-c52mol-h8Q,888
106
- notionary/page/content/markdown/nodes/mixins/__init__.py,sha256=KVWvxbgwrbfXt495N4xkIu4s8tD-miwVTcXa2fc9Kvc,98
107
- notionary/page/content/markdown/nodes/mixins/caption.py,sha256=05tHz2RzNzyN6ggKk5gCR4iWWmM9ILwSCgfAxhgo9Bk,436
108
- notionary/page/content/parser/context.py,sha256=oboLkBQCeUehYtgooycOJ0Vs830Jhx0HIPXBKPWdaaM,4750
109
- notionary/page/content/parser/factory.py,sha256=ic2g9F9RIl_b4LCw-jKqyY5Q7ViSRgoyRLV1OzkRAaA,8142
110
- notionary/page/content/parser/service.py,sha256=gHonMPByZhNjUwMNJGPsNTZyfxIZp0Yaza6Z-huO6A8,2891
111
- notionary/page/content/parser/parsers/__init__.py,sha256=cHGTAs7XZEHPmFHhlnno5J7nmLlfYwuTXtOtWvjWAD4,1637
112
- notionary/page/content/parser/parsers/audio.py,sha256=HZFPg3Gaw61Upccehx59N-6WpnsRsNVloIZcSH4yBzg,637
113
- notionary/page/content/parser/parsers/base.py,sha256=do1z_YLjQg1qdExtPaH1negInx3HLXz6kDBaGoCxGcM,988
114
- notionary/page/content/parser/parsers/bookmark.py,sha256=OPHcQo4XVBNuV--IRarxgnnjDiStgxtUJvJ2WP_EQoA,1233
115
- notionary/page/content/parser/parsers/breadcrumb.py,sha256=xkPj0dzQrpk349ruB0ysZ2g-7ezWAyrdEhQD3uC5A2s,1190
116
- notionary/page/content/parser/parsers/bulleted_list.py,sha256=hmBW3CcZMbgKqq46mjm9THMqk7N1le3y2gN6f5Yjspg,3564
117
- notionary/page/content/parser/parsers/callout.py,sha256=5291TO-6bKllZBP3i_yIrO9bcaPjeZFm4_JvLqOgjII,4022
118
- notionary/page/content/parser/parsers/caption.py,sha256=nsS2_AENiGx-ojet8Esc0XjLOnIXmv10sjSJ6TrVzLA,2071
119
- notionary/page/content/parser/parsers/code.py,sha256=A--JUlsjiudnULzKpAU_PkXusP4eP2oZk-r5O57I20k,3529
120
- notionary/page/content/parser/parsers/column.py,sha256=8Y4pyg4rfk8lAR4AAstzXzD-UQayF3KC4JB7fokQUUM,2914
121
- notionary/page/content/parser/parsers/column_list.py,sha256=utyOZLO6jEVNUFxDG_yMRKlvewVWCTsfa02w_pWz87g,3474
122
- notionary/page/content/parser/parsers/divider.py,sha256=j9nuuViHAeXddWg-qt-IYLqnbpRu0tB--ll2nYPnUak,1148
123
- notionary/page/content/parser/parsers/embed.py,sha256=sNxydRUCeRpN4M0c6CA_2agpyl4bQwaAjeWPXc4BwUw,1169
124
- notionary/page/content/parser/parsers/equation.py,sha256=hJL4PbJkiBrfphgBCV_a9LRvVHMcUU1_O1lAHDELs5o,2333
125
- notionary/page/content/parser/parsers/file.py,sha256=JU20LN03LrKaqlsmBO14ztCLzMV1MTGlsqigCsSJdFo,630
126
- notionary/page/content/parser/parsers/file_like_block.py,sha256=0BwAnlih5Qy9zpBu2Vqcd8qsd6jJyFx49jEsebvNeSk,3829
127
- notionary/page/content/parser/parsers/heading.py,sha256=MO3XpTlhO18F36rI-u5XQ7TXx739FmntCpvwcoi02N4,4524
128
- notionary/page/content/parser/parsers/image.py,sha256=WNuv0Cbx4IvZPT0gqdZY1bbC2gWRBeEvmFPf37jAbu0,637
129
- notionary/page/content/parser/parsers/numbered_list.py,sha256=ouebkdw3dhbsERdqQLJlbvBP9cw9yJHoUg1r0wrGBrg,3623
130
- notionary/page/content/parser/parsers/paragraph.py,sha256=GDzGxAQOBFgZPSdzZiK-OruSE3yVIZwyVMPn064NHmU,1359
131
- notionary/page/content/parser/parsers/pdf.py,sha256=MPosXCpfSJxJpVdq7K4pjHURYVr0b5Cd4SYfzuY80K8,623
132
- notionary/page/content/parser/parsers/quote.py,sha256=--zTyGPfg_V42yfShWQjYgD5x6pHIRqoMCqGl1QnVC0,5078
133
- notionary/page/content/parser/parsers/space.py,sha256=BJ7IOXrpKO_Xjsb2GWzESW97Tju89VnddB5pkmq7pD4,1569
134
- notionary/page/content/parser/parsers/table.py,sha256=eyrCdEEGyxmro4mHxKx6APnBHZAfLtWiD6Hlv_MwZvU,5479
135
- notionary/page/content/parser/parsers/table_of_contents.py,sha256=f8JVQmBvV2ptrUYw5LPY5j844nbFlhU8K-3mfT7GMjk,1205
136
- notionary/page/content/parser/parsers/todo.py,sha256=iv0WD8T2Y8DxJ3k0khLiyDHPhDJIe2veExu1Aco_a3E,3838
137
- notionary/page/content/parser/parsers/toggle.py,sha256=x42I5ABN6SyoFxmeliZsToUwiZAtg1JEWTRuWZ6jIe8,2883
138
- notionary/page/content/parser/parsers/video.py,sha256=p_SgliZbHJfRABQY_CLjyoYSPUTow9fgzxg7CJM92vc,637
139
- notionary/page/content/parser/post_processing/port.py,sha256=ZjTz9pIrk3R8Hy_NdRWmYTYrGScNyWyqgzcSUk_1BkI,248
140
- notionary/page/content/parser/post_processing/service.py,sha256=Wp_30iCcqtB7qZdO__E6f_WjNKhkaOQML6q4dW33bJM,608
141
- notionary/page/content/parser/post_processing/handlers/__init__.py,sha256=Io7Qw_bR6lDXCCuFWUZqR5QmmZwqKG-icE1hRoRivIk,144
142
- notionary/page/content/parser/post_processing/handlers/rich_text_length.py,sha256=mFiKqq-dPHzUnjXHrWmHRXeU5WUCdGk7HplDxvCCbaE,3571
143
- notionary/page/content/parser/post_processing/handlers/rich_text_length_truncation.py,sha256=UZhH3ifJtiJrV22jBAQqnTAWWJCAhmp0F4n0gY1RAE0,4143
144
- notionary/page/content/parser/pre_processsing/service.py,sha256=moa5sHuNvzUQCVGe-4IvqrCEWtIaEMD6M7FMjLXENcM,507
145
- notionary/page/content/parser/pre_processsing/handlers/__init__.py,sha256=RX6VC1Q9tJAAjtt92hjOy20fcT7yFZP6PvNBjsp79sE,397
146
- notionary/page/content/parser/pre_processsing/handlers/column_syntax.py,sha256=pd4uFYCriDZWZmM8Ma7nUZMcPh0DExQO0J37Gfpn1Jo,5456
147
- notionary/page/content/parser/pre_processsing/handlers/indentation.py,sha256=RconFOfl0VR4_RHa4Kqcv9vmbK5xiXSUEXjoMPf1RJU,3324
148
- notionary/page/content/parser/pre_processsing/handlers/port.py,sha256=Gm_GRGl1eGo1C8AM5CUfFdYAofe4Y0gAPScU2O1EcJo,153
149
- notionary/page/content/parser/pre_processsing/handlers/video_syntax.py,sha256=O4AA8Gea81NBJklGD-JE4IAeb-IEeWTE2wLTm8BXP1E,2731
150
- notionary/page/content/parser/pre_processsing/handlers/whitespace.py,sha256=GknAlc4bm2T13MwPz3F-ZP_T_En6-KCQXneqToc2l5I,2685
151
- notionary/page/content/renderer/context.py,sha256=yiEl0zHWrvfdqXm3tV7IQkuYhoIKaWv3s_PKCNyhRZ8,2015
152
- notionary/page/content/renderer/factory.py,sha256=YUV0FQ55sPYwTpvDg1n-WoBio4UNUTj3cFg7IGzauzk,8901
153
- notionary/page/content/renderer/service.py,sha256=llgxgijk6_rYGMLvYW9OdgcpLSk8xxg2mEELRK54CY0,1916
154
- notionary/page/content/renderer/post_processing/port.py,sha256=VcfLsEyXd8EXMjYEf_uTX0-iq5RThwGvE7mgUsL6b8s,154
155
- notionary/page/content/renderer/post_processing/service.py,sha256=dCc6GRRDkT3NmVHBerBf_TZfNjCIRbS8NdLJhaDQQsA,511
156
- notionary/page/content/renderer/post_processing/handlers/__init__.py,sha256=LurntAvtz38tBpm3KAfd_Z-EyaxfG6WS_JPrytfc32M,144
157
- notionary/page/content/renderer/post_processing/handlers/numbered_list.py,sha256=Ry7RpKa-VSp9VWShvu9KzoWgvyVGeJ3iy5z05o47mdk,5825
158
- notionary/page/content/renderer/renderers/__init__.py,sha256=YinHG6qfAPRTLD2-fts0gnuDuxQW9ZMBXflxoEfQ16o,1636
159
- notionary/page/content/renderer/renderers/audio.py,sha256=pUvs8FxgnjzggR3LQx33AwaJwH0EvAMNq-Lkp2p_HIY,729
160
- notionary/page/content/renderer/renderers/base.py,sha256=2y8pnPmk-Kf2eA_MKVsGsnt9oKuefaRx5C_ZWsrRa7c,1071
161
- notionary/page/content/renderer/renderers/bookmark.py,sha256=rpd1SBDNO2uoCCRynGGHeqgudMzDXXNra-hTt3vxJdY,815
162
- notionary/page/content/renderer/renderers/breadcrumb.py,sha256=M_Qlu73LmSwcCzsF1IJywZIekzOVBP1rd8md51dvfq8,782
163
- notionary/page/content/renderer/renderers/bulleted_list.py,sha256=FYEmLHxxhG8HrhEnfBzSqoMLpavSphfpw3EbxghcMRE,2015
164
- notionary/page/content/renderer/renderers/callout.py,sha256=R-wkczhIfaHto3aflh7LMv72vF3Za18MIu5z55nLah4,2017
165
- notionary/page/content/renderer/renderers/captioned_block.py,sha256=74dx0IiGs1yCq2pXDJgivPsLoBWWr0JV7vDisintSuI,2227
166
- notionary/page/content/renderer/renderers/code.py,sha256=0ZJpzr-1noVxGQLUyqHfhqv2cWPVAeLmOn-cKwSv-PA,1269
167
- notionary/page/content/renderer/renderers/column.py,sha256=W9UwDaZPy1QtIfozNespwWvr2-8LWHB9MTtq8bTCUIc,1854
168
- notionary/page/content/renderer/renderers/column_list.py,sha256=5XChh0doxfoKzYe9_lUdVg0DjKeuV2o83XIvlVqJnsQ,1615
169
- notionary/page/content/renderer/renderers/divider.py,sha256=S6XvueUgihBC5I5y7_WHWeULfUq3ydvGNC8Mz72nNwQ,796
170
- notionary/page/content/renderer/renderers/embed.py,sha256=v5Ycztt4koB-uboAn0b9hrvkM0SohBSQMFw_z75_cGw,794
171
- notionary/page/content/renderer/renderers/equation.py,sha256=lLZ82s2y_K_0avrp6eX8LLvWXTnPX_9kI6bwhGFKe-g,1363
172
- notionary/page/content/renderer/renderers/fallback.py,sha256=R-w6k5N3EmTQ5ytSzPNykpNwm9tq3dW71Xffchj4qXA,918
173
- notionary/page/content/renderer/renderers/file.py,sha256=3TUc_UFfyjIwSsqiaKKYrXawGxZsdJXBTE2Yh_AeiVY,928
174
- notionary/page/content/renderer/renderers/file_like_block.py,sha256=FqmhxO9SgzZrzVK0YIgS83hnB0FBOtUOaQ_0VYmc8zQ,1295
175
- notionary/page/content/renderer/renderers/heading.py,sha256=6F1imJeTsn8b7YNtySv-YWbl7XgGxn7SauXaM15tbWo,3770
176
- notionary/page/content/renderer/renderers/image.py,sha256=xMgrnTteISZPRA31juo3BDt4hcZdtL4ddE4OA8KgfpE,729
177
- notionary/page/content/renderer/renderers/numbered_list.py,sha256=QVzpozfROnuutjbjV-U1qB_VpwpX7m8viSfqE-J_J8s,1818
178
- notionary/page/content/renderer/renderers/paragraph.py,sha256=srwCP13H9V22wM1Ned0UODWmYrSYlcn4FJgoPb1B4fM,1620
179
- notionary/page/content/renderer/renderers/pdf.py,sha256=ZSbMT0yno0sEDWxIa3Kfeow4SL2Gpjy6eR2oUx3l5N8,721
180
- notionary/page/content/renderer/renderers/quote.py,sha256=oBYP3kPzzxIRcqj-F1FAqOemG70V95nHm3NBxOOX4os,1987
181
- notionary/page/content/renderer/renderers/table.py,sha256=CqmV9ii6MVbd8YJvJ18HXBPWXEaSM0i2ufgKJIbJlCo,4619
182
- notionary/page/content/renderer/renderers/table_of_contents.py,sha256=pWlkz-jQ2jviI-it0XxJQsZ0G5I2ZtxZkC7pBSWnRBg,988
183
- notionary/page/content/renderer/renderers/table_row.py,sha256=Zs1yFsU4hKIZizg4rGo8THGZ0VKrb3KNUQOT9ehmzFk,623
184
- notionary/page/content/renderer/renderers/todo.py,sha256=J0hwarEEBhwlDvgSR5jwlJ_cvMw3dpi_UYaWZHCCYEc,2137
185
- notionary/page/content/renderer/renderers/toggle.py,sha256=BGGvDlQMCaZxUQw-kmv5M5RZq86UZAWvBLLPkagKVtc,2045
186
- notionary/page/content/renderer/renderers/video.py,sha256=h6YK0xjuOhkOs75C7sQtEAPlW554N83hgL9QcuBVEuo,729
187
- notionary/page/content/syntax/__init__.py,sha256=jnZ5N8xwnJaPED326yf0meyejd7_XQqc-w4Uh7SpDM0,185
188
- notionary/page/content/syntax/grammar.py,sha256=vWJ1rgtekcRH4uIb94q83kYaBxmDD0E5YS7oGQR_1Aw,252
189
- notionary/page/content/syntax/models.py,sha256=pkFoQVMu4eg6xIyi9JYkeRgegrB-QUAw7wlRrIKGIXE,1830
190
- notionary/page/content/syntax/registry.py,sha256=6aAejkA1Snyr5z3hRdO_M1eLZLaSCGd1uixsmMycBRE,15208
191
- notionary/page/properties/client.py,sha256=Dr2EpVWUFpdnA1bsKC7P-Mozyo2YurufJ5xOumcTjVc,6750
192
- notionary/page/properties/factory.py,sha256=YnVWZ98RGYpV9iEY4Ufk7InIoeP9vWwMn5sSvcbSQ2k,1248
193
- notionary/page/properties/schemas.py,sha256=0QOgbtJYsAI8oVnp6ZNgHhiJqRHWRRDpD8B8oYPCUKo,8548
194
- notionary/page/properties/service.py,sha256=l9Yk8VTSQoGIFZIf3Zgein5cqWsuPFebRpEtmjcMZo8,13179
195
- notionary/shared/typings.py,sha256=LKg_NJvqi0ZuyB6I995zg4XCyijGKY0T_bW90YiI5_g,58
196
- notionary/shared/entity/client.py,sha256=knblCIKwUHgoxJ_z7QtrRES9E8P9keHQTvr6CMc69gA,1181
197
- notionary/shared/entity/dto_parsers.py,sha256=XR0I0YiQ5bPASM8_QG09WAyEIYwEV6TmAOkiAlbq79c,601
198
- notionary/shared/entity/entity_metadata_update_client.py,sha256=t1shao5GEtHb1E-dixgZcQ1Ap-q0ntytQaQwEUaAJxY,2408
199
- notionary/shared/entity/schemas.py,sha256=SpcpWnNYmhjsVhR66bRCst68YU7IJk52f9x66L_V0Ic,1072
200
- notionary/shared/entity/service.py,sha256=T5TGMYpQYaTapugtK8-AqtoYpHAoGdtRRkCVCkhy3TM,9793
201
- notionary/shared/models/file.py,sha256=P0BDebYAr7iyU_th2HLLcmze8RWpd5cULqdIrhG6x4o,1146
202
- notionary/shared/models/icon.py,sha256=XGkNmMA13iDkLeMo0cpz2t7JwxEnXfxEeSvJs3OisJo,402
203
- notionary/shared/models/parent.py,sha256=fptJhWHot35jN9IH9BhsXNMZfNClc8av1G2TR6SqRmY,888
204
- notionary/shared/properties/type.py,sha256=04KNeWGzphJ2hN6AbVhfDfF89XxtSGzcmnatcPHkEQI,780
205
- notionary/user/__init__.py,sha256=O1sa9EPnJKZgpEAARJhzgh0ULqmwB-JNIgoPUCwDGMo,111
206
- notionary/user/base.py,sha256=M2psGOJt6YLKFMw_iWEYave67sfoBa2_0Sij00Zen5M,4362
207
- notionary/user/bot.py,sha256=fibcqxOL2Mfq6YXwzplqr1ZLTrpwDsHC6B6Xwmd_sYg,2585
208
- notionary/user/client.py,sha256=CDevJlHfNnrfPE2OaaLWXeNro72J4ezCfwgdM_SJeAg,1410
209
- notionary/user/factory.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
210
- notionary/user/person.py,sha256=8w0xMNVLen8xx2DSff-3Y9H7x9A0B3FLZUZJQZ_qe4g,1144
211
- notionary/user/schemas.py,sha256=ZPKopqd6OepGFPnbK3B13PgNH6l4hLCGMxpk0eWe41s,1432
212
- notionary/user/service.py,sha256=20DaDC4Eozfzr2sf0VP3z6sORRKmfb5PdtGG02rJews,2565
213
- notionary/utils/date.py,sha256=HPwqmZoylTFKkyI8q4BJXT3q9B39nE55uVZAyG4JnDw,1729
214
- notionary/utils/decorators.py,sha256=QGn3k26dOASlb8uADyMflhHEZwfwaAQsRh-vAqu0Xos,3736
215
- notionary/utils/fuzzy.py,sha256=k_D48yHbSd_ecFo3QlrxF5-5c3Bd8gR3bq-_W2J2ZyE,1783
216
- notionary/utils/pagination.py,sha256=6h1ZZpgn5YFBBUCGAVntZ45wCeFiQRJhW0JqPPtN9Ws,3343
217
- notionary/utils/uuid_utils.py,sha256=ygTQdiKmdtyb2iY7d9kuYbo8uGSeuhiHH2PhUza6ZUw,579
218
- notionary/utils/mixins/logging.py,sha256=fCkHFYhNYeVfppCjD5WLKxY7Sr3FHlJ5UhNd7KzrvsM,1662
219
- notionary/workspace/__init__.py,sha256=UBnuTDa4QO1Ne3OksVXVw-r7Eorv2tm66AfRGGALRrA,208
220
- notionary/workspace/client.py,sha256=yChqszwc1FZeuWboqDSEMSkBPNhDO5buOGpdWqJDxLM,2447
221
- notionary/workspace/schemas.py,sha256=uITRJpqHZD7LF7wOqZ6Cdx51a4Uk9rWZ110ib9EbIrA,562
222
- notionary/workspace/service.py,sha256=NDoUe-uSUDiv7FJFanWxDnFcjTVVtVWXStbQYnptoIQ,5412
223
- notionary/workspace/query/__init__.py,sha256=qK-D7DVUpAeil6hQBJ0Cyi2m-nCcz5TA5qso70eyDw4,173
224
- notionary/workspace/query/builder.py,sha256=0QV0OHAWIU0O5tXOeTQFKKNNmwaC81nLk_ecHrxdokE,2887
225
- notionary/workspace/query/models.py,sha256=isebZ9wyvj75C65nhw3VsuJygyZmgZBNX8D5VOf3TAM,1851
226
- notionary/workspace/query/service.py,sha256=I3ZlKoeOKeRfHuvtozzWSDOxETZAlsGpaNcvu2kZjto,4781
227
- notionary-0.4.0.dist-info/METADATA,sha256=f-PuuABbfGoF4YGOl5Lni7OZCmEU3FrheIjb3irFNjk,6493
228
- notionary-0.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
229
- notionary-0.4.0.dist-info/licenses/LICENSE,sha256=FLNy3l12swSnCggq3zOW_3gh4uaZ12DGZL1tR6Bc5Sk,1102
230
- notionary-0.4.0.dist-info/RECORD,,