notionary 0.2.5__tar.gz → 0.2.6__tar.gz
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.
- {notionary-0.2.5 → notionary-0.2.6}/PKG-INFO +1 -1
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/content/page_content_retriever.py +0 -2
- {notionary-0.2.5 → notionary-0.2.6}/notionary.egg-info/PKG-INFO +1 -1
- {notionary-0.2.5 → notionary-0.2.6}/setup.py +1 -1
- {notionary-0.2.5 → notionary-0.2.6}/LICENSE +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/README.md +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/__init__.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/database/database_discovery.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/database/models/page_result.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/database/notion_database.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/database/notion_database_factory.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/audio_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/bookmark_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/bulleted_list_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/callout_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/code_block_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/divider_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/embed_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/heading_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/image_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/mention_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/notion_block_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/numbered_list_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/paragraph_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/qoute_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/registry/block_registry.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/registry/block_registry_builder.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/table_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/text_inline_formatter.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/todo_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/toggle_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/toggleable_heading_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/elements/video_element.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/exceptions/database_exceptions.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/exceptions/page_creation_exception.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/models/notion_block_response.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/models/notion_database_response.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/models/notion_page_response.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/notion_client.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/content/notion_page_content_chunker.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/content/page_content_writer.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/markdown_to_notion_converter.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/metadata/metadata_editor.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/metadata/notion_icon_manager.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/metadata/notion_page_cover_manager.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/notion_page.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/notion_page_factory.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/notion_to_markdown_converter.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/properites/database_property_service.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/properites/page_property_manager.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/properites/property_formatter.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/properites/property_value_extractor.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/relations/notion_page_relation_manager.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/relations/notion_page_title_resolver.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/page/relations/page_database_relation.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/prompting/element_prompt_content.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/prompting/markdown_syntax_prompt_generator.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/util/logging_mixin.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/util/page_id_utils.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary/util/warn_direct_constructor_usage.py +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary.egg-info/SOURCES.txt +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary.egg-info/dependency_links.txt +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary.egg-info/requires.txt +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/notionary.egg-info/top_level.txt +0 -0
- {notionary-0.2.5 → notionary-0.2.6}/setup.cfg +0 -0
@@ -1,4 +1,3 @@
|
|
1
|
-
import json
|
2
1
|
from typing import Any, Dict, List, Optional
|
3
2
|
|
4
3
|
from notionary.elements.registry.block_registry import BlockRegistry
|
@@ -25,7 +24,6 @@ class PageContentRetriever(LoggingMixin):
|
|
25
24
|
|
26
25
|
async def get_page_content(self) -> str:
|
27
26
|
blocks = await self._get_page_blocks_with_children()
|
28
|
-
print("blocks", json.dumps(blocks, indent=2))
|
29
27
|
return self._notion_to_markdown_converter.convert(blocks)
|
30
28
|
|
31
29
|
async def _get_page_blocks_with_children(
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="notionary",
|
5
|
-
version="0.2.
|
5
|
+
version="0.2.6",
|
6
6
|
packages=find_namespace_packages(include=["notionary*"]),
|
7
7
|
install_requires=["httpx>=0.28.0", "python-dotenv>=1.1.0", "pydantic>=2.11.4"],
|
8
8
|
author="Mathis Arends",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{notionary-0.2.5 → notionary-0.2.6}/notionary/page/relations/notion_page_relation_manager.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|