notionary 0.1.0__tar.gz → 0.1.1__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.
@@ -0,0 +1,214 @@
1
+ Metadata-Version: 2.4
2
+ Name: notionary
3
+ Version: 0.1.1
4
+ Summary: A toolkit to convert between Markdown and Notion blocks
5
+ Home-page: https://github.com/mathisarends/notionary
6
+ Author: Mathis Arends
7
+ Author-email: mathisarends27@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Requires-Python: >=3.7
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: notion-client>=2.0.0
14
+ Requires-Dist: markdown-it-py>=3.0.0
15
+ Requires-Dist: beautifulsoup4>=4.13.0
16
+ Requires-Dist: httpx>=0.28.0
17
+ Requires-Dist: python-dotenv>=1.1.0
18
+ Requires-Dist: lxml>=5.3.0
19
+ Requires-Dist: attrs>=25.3.0
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: description-content-type
25
+ Dynamic: home-page
26
+ Dynamic: license-file
27
+ Dynamic: requires-dist
28
+ Dynamic: requires-python
29
+ Dynamic: summary
30
+
31
+ # Notionary 📝
32
+
33
+ [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
34
+ [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
35
+
36
+ **Notionary** is a powerful Python library for interacting with the Notion API, making it easy to create, update, and manage Notion pages and databases programmatically with a clean, intuitive interface.
37
+
38
+ ## Features
39
+
40
+ - **Rich Markdown Support**: Write Notion pages using intuitive Markdown syntax with custom extensions
41
+ - **Dynamic Database Operations**: Create, update, and query database entries with schema auto-detection
42
+ - **Async-First Design**: Built for modern Python with full async/await support
43
+ - **Schema-Based Validation**: Automatic property validation based on database schemas
44
+ - **Intelligent Content Conversion**: Bidirectional conversion between Markdown and Notion blocks
45
+
46
+ ## Installation
47
+
48
+ ```bash
49
+ pip install notionary
50
+ ```
51
+
52
+ ## Custom Markdown Syntax
53
+
54
+ Notionary extends standard Markdown with special syntax to support Notion-specific features:
55
+
56
+ ### Text Formatting
57
+
58
+ - Standard Markdown: `**bold**`, `*italic*`, `~~strikethrough~~`, `` `code` ``
59
+ - Highlights: `==highlighted text==`, `==red warning==`, `==blue==`
60
+
61
+ ### Block Elements
62
+
63
+ #### Callouts
64
+
65
+ ```markdown
66
+ !> [💡] This is a default callout with the light bulb emoji
67
+ !> [🔔] This is a callout with a bell emoji
68
+ !> {blue_background} [💧] This is a blue callout with a water drop emoji
69
+ !> {yellow_background} [⚠️] Warning: This is an important note
70
+ ```
71
+
72
+ #### Toggles
73
+
74
+ ```markdown
75
+ +++ How to use NotionPageManager
76
+
77
+ 1. Initialize with NotionPageManager
78
+ 2. Update metadata with set_title(), set_page_icon(), etc.
79
+ 3. Add content with replace_content() or append_markdown()
80
+ ```
81
+
82
+ #### Bookmarks
83
+
84
+ ```markdown
85
+ [bookmark](https://notion.so "Notion Homepage" "Your connected workspace")
86
+ ```
87
+
88
+ #### Multi-Column Layouts
89
+
90
+ ```markdown
91
+ ::: columns
92
+ ::: column
93
+ Content for first column
94
+ :::
95
+ ::: column
96
+ Content for second column
97
+ :::
98
+ :::
99
+ ```
100
+
101
+ And more:
102
+
103
+ - Tables with standard Markdown syntax
104
+ - Code blocks with syntax highlighting
105
+ - To-do lists with `- [ ]` and `- [x]`
106
+ - Block quotes with `>`
107
+
108
+ ## Database Management
109
+
110
+ Notionary makes it easy to work with Notion databases, automatically handling schema detection and property conversion:
111
+
112
+ ```python
113
+ import asyncio
114
+ from notionary.core.database.notion_database_manager import NotionDatabaseManager
115
+
116
+ async def main():
117
+ database_id = "1a6389d5-7bd3-8097-aa38-e93cb052615a"
118
+ db = NotionDatabaseManager(database_id)
119
+ await db.initialize()
120
+
121
+ properties = {
122
+ "Title": "Created via Notionary",
123
+ "Description": "This entry was created using Notionary.",
124
+ "Status": "In Progress",
125
+ "Priority": "High"
126
+ }
127
+
128
+ result = await db.create_page(properties)
129
+
130
+ if result["success"]:
131
+ page_id = result["page_id"]
132
+ await db.update_page(page_id, {"Status": "Completed"})
133
+
134
+ filter_conditions = {
135
+ "property": "Status",
136
+ "status": {"equals": "Completed"}
137
+ }
138
+
139
+ pages = await db.get_pages(limit=10, filter_conditions=filter_conditions)
140
+
141
+ await db.close()
142
+
143
+ if __name__ == "__main__":
144
+ asyncio.run(main())
145
+ ```
146
+
147
+ ## Finding Databases by Name
148
+
149
+ Use fuzzy matching to find databases:
150
+
151
+ ```python
152
+ from notionary.core.database.notion_database_manager_factory import NotionDatabaseFactory
153
+
154
+ async def main():
155
+ db_manager = await NotionDatabaseFactory.from_database_name("Projects")
156
+ print(f"Found database: {db_manager.title}")
157
+ await db_manager.close()
158
+ ```
159
+
160
+ ## Page Content Management
161
+
162
+ Create rich Notion pages using enhanced Markdown:
163
+
164
+ ```python
165
+ from notionary.core.page.notion_page_manager import NotionPageManager
166
+
167
+ async def create_rich_page():
168
+ url = "https://www.notion.so/Your-Page-1cd389d57bd381e58be9d35ce24adf3d"
169
+ page_manager = NotionPageManager(url=url)
170
+
171
+ await page_manager.set_title("Notionary Demo")
172
+ await page_manager.set_page_icon(emoji="✨")
173
+ await page_manager.set_page_cover("https://images.unsplash.com/photo-1555066931-4365d14bab8c")
174
+
175
+ markdown = '''
176
+ # Notionary Rich Content Demo
177
+
178
+ !> [💡] This page was created with Notionary's custom Markdown syntax.
179
+
180
+ ## Features
181
+ - Easy-to-use Python API
182
+ - **Rich** Markdown support
183
+ - Async functionality
184
+
185
+ +++ Implementation Details
186
+ Notionary uses a custom converter to transform Markdown into Notion blocks.
187
+ This makes it easy to create rich content programmatically.
188
+ '''
189
+
190
+ await page_manager.replace_content(markdown)
191
+ ```
192
+
193
+ ## Perfect for AI Agents and Automation
194
+
195
+ - **Dynamic Content Generation**: AI agents can generate content in Markdown and render it as Notion pages
196
+ - **Schema-Aware Operations**: Automatically validate and format properties
197
+ - **Simplified API**: Easier integration with AI workflows
198
+
199
+ ## Examples
200
+
201
+ See the `examples` folder for:
202
+
203
+ - Database discovery and querying
204
+ - Rich page creation with Markdown
205
+ - Entry management
206
+ - Metadata manipulation
207
+
208
+ ## License
209
+
210
+ MIT
211
+
212
+ ## Contributing
213
+
214
+ Contributions welcome — feel free to submit a pull request!
@@ -0,0 +1,184 @@
1
+ # Notionary 📝
2
+
3
+ [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
4
+ [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
5
+
6
+ **Notionary** is a powerful Python library for interacting with the Notion API, making it easy to create, update, and manage Notion pages and databases programmatically with a clean, intuitive interface.
7
+
8
+ ## Features
9
+
10
+ - **Rich Markdown Support**: Write Notion pages using intuitive Markdown syntax with custom extensions
11
+ - **Dynamic Database Operations**: Create, update, and query database entries with schema auto-detection
12
+ - **Async-First Design**: Built for modern Python with full async/await support
13
+ - **Schema-Based Validation**: Automatic property validation based on database schemas
14
+ - **Intelligent Content Conversion**: Bidirectional conversion between Markdown and Notion blocks
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ pip install notionary
20
+ ```
21
+
22
+ ## Custom Markdown Syntax
23
+
24
+ Notionary extends standard Markdown with special syntax to support Notion-specific features:
25
+
26
+ ### Text Formatting
27
+
28
+ - Standard Markdown: `**bold**`, `*italic*`, `~~strikethrough~~`, `` `code` ``
29
+ - Highlights: `==highlighted text==`, `==red warning==`, `==blue==`
30
+
31
+ ### Block Elements
32
+
33
+ #### Callouts
34
+
35
+ ```markdown
36
+ !> [💡] This is a default callout with the light bulb emoji
37
+ !> [🔔] This is a callout with a bell emoji
38
+ !> {blue_background} [💧] This is a blue callout with a water drop emoji
39
+ !> {yellow_background} [⚠️] Warning: This is an important note
40
+ ```
41
+
42
+ #### Toggles
43
+
44
+ ```markdown
45
+ +++ How to use NotionPageManager
46
+
47
+ 1. Initialize with NotionPageManager
48
+ 2. Update metadata with set_title(), set_page_icon(), etc.
49
+ 3. Add content with replace_content() or append_markdown()
50
+ ```
51
+
52
+ #### Bookmarks
53
+
54
+ ```markdown
55
+ [bookmark](https://notion.so "Notion Homepage" "Your connected workspace")
56
+ ```
57
+
58
+ #### Multi-Column Layouts
59
+
60
+ ```markdown
61
+ ::: columns
62
+ ::: column
63
+ Content for first column
64
+ :::
65
+ ::: column
66
+ Content for second column
67
+ :::
68
+ :::
69
+ ```
70
+
71
+ And more:
72
+
73
+ - Tables with standard Markdown syntax
74
+ - Code blocks with syntax highlighting
75
+ - To-do lists with `- [ ]` and `- [x]`
76
+ - Block quotes with `>`
77
+
78
+ ## Database Management
79
+
80
+ Notionary makes it easy to work with Notion databases, automatically handling schema detection and property conversion:
81
+
82
+ ```python
83
+ import asyncio
84
+ from notionary.core.database.notion_database_manager import NotionDatabaseManager
85
+
86
+ async def main():
87
+ database_id = "1a6389d5-7bd3-8097-aa38-e93cb052615a"
88
+ db = NotionDatabaseManager(database_id)
89
+ await db.initialize()
90
+
91
+ properties = {
92
+ "Title": "Created via Notionary",
93
+ "Description": "This entry was created using Notionary.",
94
+ "Status": "In Progress",
95
+ "Priority": "High"
96
+ }
97
+
98
+ result = await db.create_page(properties)
99
+
100
+ if result["success"]:
101
+ page_id = result["page_id"]
102
+ await db.update_page(page_id, {"Status": "Completed"})
103
+
104
+ filter_conditions = {
105
+ "property": "Status",
106
+ "status": {"equals": "Completed"}
107
+ }
108
+
109
+ pages = await db.get_pages(limit=10, filter_conditions=filter_conditions)
110
+
111
+ await db.close()
112
+
113
+ if __name__ == "__main__":
114
+ asyncio.run(main())
115
+ ```
116
+
117
+ ## Finding Databases by Name
118
+
119
+ Use fuzzy matching to find databases:
120
+
121
+ ```python
122
+ from notionary.core.database.notion_database_manager_factory import NotionDatabaseFactory
123
+
124
+ async def main():
125
+ db_manager = await NotionDatabaseFactory.from_database_name("Projects")
126
+ print(f"Found database: {db_manager.title}")
127
+ await db_manager.close()
128
+ ```
129
+
130
+ ## Page Content Management
131
+
132
+ Create rich Notion pages using enhanced Markdown:
133
+
134
+ ```python
135
+ from notionary.core.page.notion_page_manager import NotionPageManager
136
+
137
+ async def create_rich_page():
138
+ url = "https://www.notion.so/Your-Page-1cd389d57bd381e58be9d35ce24adf3d"
139
+ page_manager = NotionPageManager(url=url)
140
+
141
+ await page_manager.set_title("Notionary Demo")
142
+ await page_manager.set_page_icon(emoji="✨")
143
+ await page_manager.set_page_cover("https://images.unsplash.com/photo-1555066931-4365d14bab8c")
144
+
145
+ markdown = '''
146
+ # Notionary Rich Content Demo
147
+
148
+ !> [💡] This page was created with Notionary's custom Markdown syntax.
149
+
150
+ ## Features
151
+ - Easy-to-use Python API
152
+ - **Rich** Markdown support
153
+ - Async functionality
154
+
155
+ +++ Implementation Details
156
+ Notionary uses a custom converter to transform Markdown into Notion blocks.
157
+ This makes it easy to create rich content programmatically.
158
+ '''
159
+
160
+ await page_manager.replace_content(markdown)
161
+ ```
162
+
163
+ ## Perfect for AI Agents and Automation
164
+
165
+ - **Dynamic Content Generation**: AI agents can generate content in Markdown and render it as Notion pages
166
+ - **Schema-Aware Operations**: Automatically validate and format properties
167
+ - **Simplified API**: Easier integration with AI workflows
168
+
169
+ ## Examples
170
+
171
+ See the `examples` folder for:
172
+
173
+ - Database discovery and querying
174
+ - Rich page creation with Markdown
175
+ - Entry management
176
+ - Metadata manipulation
177
+
178
+ ## License
179
+
180
+ MIT
181
+
182
+ ## Contributing
183
+
184
+ Contributions welcome — feel free to submit a pull request!
@@ -0,0 +1,214 @@
1
+ Metadata-Version: 2.4
2
+ Name: notionary
3
+ Version: 0.1.1
4
+ Summary: A toolkit to convert between Markdown and Notion blocks
5
+ Home-page: https://github.com/mathisarends/notionary
6
+ Author: Mathis Arends
7
+ Author-email: mathisarends27@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Requires-Python: >=3.7
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: notion-client>=2.0.0
14
+ Requires-Dist: markdown-it-py>=3.0.0
15
+ Requires-Dist: beautifulsoup4>=4.13.0
16
+ Requires-Dist: httpx>=0.28.0
17
+ Requires-Dist: python-dotenv>=1.1.0
18
+ Requires-Dist: lxml>=5.3.0
19
+ Requires-Dist: attrs>=25.3.0
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: description-content-type
25
+ Dynamic: home-page
26
+ Dynamic: license-file
27
+ Dynamic: requires-dist
28
+ Dynamic: requires-python
29
+ Dynamic: summary
30
+
31
+ # Notionary 📝
32
+
33
+ [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
34
+ [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
35
+
36
+ **Notionary** is a powerful Python library for interacting with the Notion API, making it easy to create, update, and manage Notion pages and databases programmatically with a clean, intuitive interface.
37
+
38
+ ## Features
39
+
40
+ - **Rich Markdown Support**: Write Notion pages using intuitive Markdown syntax with custom extensions
41
+ - **Dynamic Database Operations**: Create, update, and query database entries with schema auto-detection
42
+ - **Async-First Design**: Built for modern Python with full async/await support
43
+ - **Schema-Based Validation**: Automatic property validation based on database schemas
44
+ - **Intelligent Content Conversion**: Bidirectional conversion between Markdown and Notion blocks
45
+
46
+ ## Installation
47
+
48
+ ```bash
49
+ pip install notionary
50
+ ```
51
+
52
+ ## Custom Markdown Syntax
53
+
54
+ Notionary extends standard Markdown with special syntax to support Notion-specific features:
55
+
56
+ ### Text Formatting
57
+
58
+ - Standard Markdown: `**bold**`, `*italic*`, `~~strikethrough~~`, `` `code` ``
59
+ - Highlights: `==highlighted text==`, `==red warning==`, `==blue==`
60
+
61
+ ### Block Elements
62
+
63
+ #### Callouts
64
+
65
+ ```markdown
66
+ !> [💡] This is a default callout with the light bulb emoji
67
+ !> [🔔] This is a callout with a bell emoji
68
+ !> {blue_background} [💧] This is a blue callout with a water drop emoji
69
+ !> {yellow_background} [⚠️] Warning: This is an important note
70
+ ```
71
+
72
+ #### Toggles
73
+
74
+ ```markdown
75
+ +++ How to use NotionPageManager
76
+
77
+ 1. Initialize with NotionPageManager
78
+ 2. Update metadata with set_title(), set_page_icon(), etc.
79
+ 3. Add content with replace_content() or append_markdown()
80
+ ```
81
+
82
+ #### Bookmarks
83
+
84
+ ```markdown
85
+ [bookmark](https://notion.so "Notion Homepage" "Your connected workspace")
86
+ ```
87
+
88
+ #### Multi-Column Layouts
89
+
90
+ ```markdown
91
+ ::: columns
92
+ ::: column
93
+ Content for first column
94
+ :::
95
+ ::: column
96
+ Content for second column
97
+ :::
98
+ :::
99
+ ```
100
+
101
+ And more:
102
+
103
+ - Tables with standard Markdown syntax
104
+ - Code blocks with syntax highlighting
105
+ - To-do lists with `- [ ]` and `- [x]`
106
+ - Block quotes with `>`
107
+
108
+ ## Database Management
109
+
110
+ Notionary makes it easy to work with Notion databases, automatically handling schema detection and property conversion:
111
+
112
+ ```python
113
+ import asyncio
114
+ from notionary.core.database.notion_database_manager import NotionDatabaseManager
115
+
116
+ async def main():
117
+ database_id = "1a6389d5-7bd3-8097-aa38-e93cb052615a"
118
+ db = NotionDatabaseManager(database_id)
119
+ await db.initialize()
120
+
121
+ properties = {
122
+ "Title": "Created via Notionary",
123
+ "Description": "This entry was created using Notionary.",
124
+ "Status": "In Progress",
125
+ "Priority": "High"
126
+ }
127
+
128
+ result = await db.create_page(properties)
129
+
130
+ if result["success"]:
131
+ page_id = result["page_id"]
132
+ await db.update_page(page_id, {"Status": "Completed"})
133
+
134
+ filter_conditions = {
135
+ "property": "Status",
136
+ "status": {"equals": "Completed"}
137
+ }
138
+
139
+ pages = await db.get_pages(limit=10, filter_conditions=filter_conditions)
140
+
141
+ await db.close()
142
+
143
+ if __name__ == "__main__":
144
+ asyncio.run(main())
145
+ ```
146
+
147
+ ## Finding Databases by Name
148
+
149
+ Use fuzzy matching to find databases:
150
+
151
+ ```python
152
+ from notionary.core.database.notion_database_manager_factory import NotionDatabaseFactory
153
+
154
+ async def main():
155
+ db_manager = await NotionDatabaseFactory.from_database_name("Projects")
156
+ print(f"Found database: {db_manager.title}")
157
+ await db_manager.close()
158
+ ```
159
+
160
+ ## Page Content Management
161
+
162
+ Create rich Notion pages using enhanced Markdown:
163
+
164
+ ```python
165
+ from notionary.core.page.notion_page_manager import NotionPageManager
166
+
167
+ async def create_rich_page():
168
+ url = "https://www.notion.so/Your-Page-1cd389d57bd381e58be9d35ce24adf3d"
169
+ page_manager = NotionPageManager(url=url)
170
+
171
+ await page_manager.set_title("Notionary Demo")
172
+ await page_manager.set_page_icon(emoji="✨")
173
+ await page_manager.set_page_cover("https://images.unsplash.com/photo-1555066931-4365d14bab8c")
174
+
175
+ markdown = '''
176
+ # Notionary Rich Content Demo
177
+
178
+ !> [💡] This page was created with Notionary's custom Markdown syntax.
179
+
180
+ ## Features
181
+ - Easy-to-use Python API
182
+ - **Rich** Markdown support
183
+ - Async functionality
184
+
185
+ +++ Implementation Details
186
+ Notionary uses a custom converter to transform Markdown into Notion blocks.
187
+ This makes it easy to create rich content programmatically.
188
+ '''
189
+
190
+ await page_manager.replace_content(markdown)
191
+ ```
192
+
193
+ ## Perfect for AI Agents and Automation
194
+
195
+ - **Dynamic Content Generation**: AI agents can generate content in Markdown and render it as Notion pages
196
+ - **Schema-Aware Operations**: Automatically validate and format properties
197
+ - **Simplified API**: Easier integration with AI workflows
198
+
199
+ ## Examples
200
+
201
+ See the `examples` folder for:
202
+
203
+ - Database discovery and querying
204
+ - Rich page creation with Markdown
205
+ - Entry management
206
+ - Metadata manipulation
207
+
208
+ ## License
209
+
210
+ MIT
211
+
212
+ ## Contributing
213
+
214
+ Contributions welcome — feel free to submit a pull request!
@@ -0,0 +1,27 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="notionary",
5
+ version="0.1.1",
6
+ packages=find_packages(),
7
+ install_requires=[
8
+ "notion-client>=2.0.0",
9
+ "markdown-it-py>=3.0.0",
10
+ "beautifulsoup4>=4.13.0",
11
+ "httpx>=0.28.0",
12
+ "python-dotenv>=1.1.0",
13
+ "lxml>=5.3.0",
14
+ "attrs>=25.3.0",
15
+ ],
16
+ author="Mathis Arends",
17
+ author_email="mathisarends27@gmail.com",
18
+ description="A toolkit to convert between Markdown and Notion blocks",
19
+ long_description=open("README.md", encoding="utf-8").read(),
20
+ long_description_content_type="text/markdown",
21
+ url="https://github.com/mathisarends/notionary",
22
+ classifiers=[
23
+ "Programming Language :: Python :: 3",
24
+ "License :: OSI Approved :: MIT License",
25
+ ],
26
+ python_requires=">=3.7",
27
+ )
notionary-0.1.0/PKG-INFO DELETED
@@ -1,43 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: notionary
3
- Version: 0.1.0
4
- Summary: A toolkit to convert between Markdown and Notion blocks
5
- Home-page: https://github.com/mathisarends/notionary
6
- Author: Mathis Arends
7
- Author-email: mathisarends27@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: MIT License
10
- Requires-Python: >=3.7
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE
13
- Requires-Dist: notion-client>=2.0.0
14
- Requires-Dist: markdown-it-py>=3.0.0
15
- Requires-Dist: beautifulsoup4>=4.13.0
16
- Requires-Dist: httpx>=0.28.0
17
- Requires-Dist: python-dotenv>=1.1.0
18
- Requires-Dist: lxml>=5.3.0
19
- Requires-Dist: attrs>=25.3.0
20
- Dynamic: author
21
- Dynamic: author-email
22
- Dynamic: classifier
23
- Dynamic: description
24
- Dynamic: description-content-type
25
- Dynamic: home-page
26
- Dynamic: license-file
27
- Dynamic: requires-dist
28
- Dynamic: requires-python
29
- Dynamic: summary
30
-
31
- # 🧠 Notionary
32
-
33
- **Notionary** is a Python toolkit that enables seamless conversion between **Markdown** and **Notion blocks**, making it easier to build, edit, and format Notion pages programmatically.
34
-
35
- ---
36
-
37
- ## ✨ Features
38
-
39
- - Convert Markdown strings into Notion block structures
40
- - Convert Notion blocks back into Markdown
41
- - Register and manage custom Notion block elements
42
- - Generate LLM-ready prompts to explain your Markdown extensions
43
- - Support for rich text formatting, inline styles, and block-level elements
notionary-0.1.0/README.md DELETED
@@ -1,13 +0,0 @@
1
- # 🧠 Notionary
2
-
3
- **Notionary** is a Python toolkit that enables seamless conversion between **Markdown** and **Notion blocks**, making it easier to build, edit, and format Notion pages programmatically.
4
-
5
- ---
6
-
7
- ## ✨ Features
8
-
9
- - Convert Markdown strings into Notion block structures
10
- - Convert Notion blocks back into Markdown
11
- - Register and manage custom Notion block elements
12
- - Generate LLM-ready prompts to explain your Markdown extensions
13
- - Support for rich text formatting, inline styles, and block-level elements
@@ -1,43 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: notionary
3
- Version: 0.1.0
4
- Summary: A toolkit to convert between Markdown and Notion blocks
5
- Home-page: https://github.com/mathisarends/notionary
6
- Author: Mathis Arends
7
- Author-email: mathisarends27@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: MIT License
10
- Requires-Python: >=3.7
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE
13
- Requires-Dist: notion-client>=2.0.0
14
- Requires-Dist: markdown-it-py>=3.0.0
15
- Requires-Dist: beautifulsoup4>=4.13.0
16
- Requires-Dist: httpx>=0.28.0
17
- Requires-Dist: python-dotenv>=1.1.0
18
- Requires-Dist: lxml>=5.3.0
19
- Requires-Dist: attrs>=25.3.0
20
- Dynamic: author
21
- Dynamic: author-email
22
- Dynamic: classifier
23
- Dynamic: description
24
- Dynamic: description-content-type
25
- Dynamic: home-page
26
- Dynamic: license-file
27
- Dynamic: requires-dist
28
- Dynamic: requires-python
29
- Dynamic: summary
30
-
31
- # 🧠 Notionary
32
-
33
- **Notionary** is a Python toolkit that enables seamless conversion between **Markdown** and **Notion blocks**, making it easier to build, edit, and format Notion pages programmatically.
34
-
35
- ---
36
-
37
- ## ✨ Features
38
-
39
- - Convert Markdown strings into Notion block structures
40
- - Convert Notion blocks back into Markdown
41
- - Register and manage custom Notion block elements
42
- - Generate LLM-ready prompts to explain your Markdown extensions
43
- - Support for rich text formatting, inline styles, and block-level elements
notionary-0.1.0/setup.py DELETED
@@ -1,27 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- setup(
4
- name='notionary',
5
- version='0.1.0',
6
- packages=find_packages(),
7
- install_requires=[
8
- 'notion-client>=2.0.0',
9
- 'markdown-it-py>=3.0.0',
10
- 'beautifulsoup4>=4.13.0',
11
- 'httpx>=0.28.0',
12
- 'python-dotenv>=1.1.0',
13
- 'lxml>=5.3.0',
14
- 'attrs>=25.3.0',
15
- ],
16
- author='Mathis Arends',
17
- author_email='mathisarends27@gmail.com',
18
- description='A toolkit to convert between Markdown and Notion blocks',
19
- long_description=open('README.md').read(),
20
- long_description_content_type='text/markdown',
21
- url='https://github.com/mathisarends/notionary',
22
- classifiers=[
23
- 'Programming Language :: Python :: 3',
24
- 'License :: OSI Approved :: MIT License',
25
- ],
26
- python_requires='>=3.7',
27
- )
File without changes
File without changes