csv2notion_neo 1.3.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.
- csv2notion_neo-1.3.6/CHANGELOG.md +241 -0
- csv2notion_neo-1.3.6/LICENSE +21 -0
- csv2notion_neo-1.3.6/PKG-INFO +736 -0
- csv2notion_neo-1.3.6/README.md +686 -0
- csv2notion_neo-1.3.6/csv2notion_neo/__init__.py +0 -0
- csv2notion_neo-1.3.6/csv2notion_neo/__main__.py +5 -0
- csv2notion_neo-1.3.6/csv2notion_neo/cli.py +105 -0
- csv2notion_neo-1.3.6/csv2notion_neo/cli_args.py +347 -0
- csv2notion_neo-1.3.6/csv2notion_neo/cli_steps.py +80 -0
- csv2notion_neo-1.3.6/csv2notion_neo/local_data.py +215 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/__init__.py +0 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/block.py +892 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/client.py +490 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/collection.py +870 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/logger.py +43 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/maps.py +110 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/markdown.py +357 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/monitor.py +245 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/operations.py +32 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/records.py +142 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/settings.py +23 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/smoke_test.py +281 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/space.py +51 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/store.py +419 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/user.py +21 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/utils.py +108 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion/utils_ssl.py +57 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_convert.py +402 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_convert_map.py +76 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_db.py +211 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_db_client.py +64 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_db_collection.py +141 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_preparator.py +258 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_row.py +302 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_row_image_block.py +142 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_row_upload_file.py +124 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_type_guess.py +72 -0
- csv2notion_neo-1.3.6/csv2notion_neo/notion_uploader.py +58 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_ai.py +72 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_db.py +47 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_exceptions.py +10 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_file.py +12 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_rand_id.py +28 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_static.py +81 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_str.py +9 -0
- csv2notion_neo-1.3.6/csv2notion_neo/utils_threading.py +39 -0
- csv2notion_neo-1.3.6/csv2notion_neo/version.py +1 -0
- csv2notion_neo-1.3.6/pyproject.toml +188 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
### 1.3.6
|
|
4
|
+
|
|
5
|
+
**🎉 Released:**
|
|
6
|
+
- 26th June 2025
|
|
7
|
+
|
|
8
|
+
**🐞 Bug Fix:**
|
|
9
|
+
- Fixed a CRDT-related issue in `submitTransaction` that was preventing payloads from being uploaded
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
### 1.3.5
|
|
14
|
+
|
|
15
|
+
**🎉 Released:**
|
|
16
|
+
- 25th April 2025
|
|
17
|
+
|
|
18
|
+
**🐞 Bug Fix:**
|
|
19
|
+
- Fixed issue where Notion API rate limits triggered `HTTPError: 500 Server Error: Internal Server` (#54)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### 1.3.4
|
|
24
|
+
|
|
25
|
+
**🎉 Released:**
|
|
26
|
+
- 17th February 2025
|
|
27
|
+
|
|
28
|
+
**🔨 Improvements:**
|
|
29
|
+
- Updated dependencies packages
|
|
30
|
+
|
|
31
|
+
**🐞 Bug Fix:**
|
|
32
|
+
- Fixed can't able to upload images due to Notion API changes (#46)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
### 1.3.3
|
|
37
|
+
|
|
38
|
+
**🎉 Released:**
|
|
39
|
+
- 11th November 2024
|
|
40
|
+
|
|
41
|
+
**🔨 Improvements:**
|
|
42
|
+
- Added `--delimiter`: Delimiter that is used to separate columns and rows in csv file if none is provided, `,` is taken as default (#43)
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### 1.3.2
|
|
47
|
+
|
|
48
|
+
**🎉 Released:**
|
|
49
|
+
- 5th November 2024
|
|
50
|
+
|
|
51
|
+
**🔨 Improvements:**
|
|
52
|
+
- Updated dependencies packages
|
|
53
|
+
- Improved logic when `-url` and `-merge` is not provided (#41)
|
|
54
|
+
|
|
55
|
+
**🐞 Bug Fix:**
|
|
56
|
+
- Fixed can't able to create new Notion Database (#39)
|
|
57
|
+
- Fixed image uploading when using `--image-column-mode cover` (#40)
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
### 1.3.1
|
|
62
|
+
|
|
63
|
+
**🎉 Released:**
|
|
64
|
+
- 21st June 2024
|
|
65
|
+
|
|
66
|
+
**🔨 Improvements:**
|
|
67
|
+
- Improved log output for `--workspace`
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
### 1.3.0
|
|
72
|
+
|
|
73
|
+
**🎉 Released:**
|
|
74
|
+
- 3rd June 2024
|
|
75
|
+
|
|
76
|
+
**🔨 Improvements:**
|
|
77
|
+
- Automatically analyse and generate captions for images using Hugging Face's open-source AI/ML models (#25)
|
|
78
|
+
- Added `--hugging-face-token`: Hugging Face token to use image captioning model online
|
|
79
|
+
- Added `--hf-model `: Provide the model used for generating caption <`vit-gpt2` | `blip-image` | `git-large`> (defaults: `vit-gpt2`)
|
|
80
|
+
- Added `--caption-column`: Provide both image column and column where caption would be written
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
### 1.2.6
|
|
85
|
+
|
|
86
|
+
**🎉 Released:**
|
|
87
|
+
- 19th May 2024
|
|
88
|
+
|
|
89
|
+
**🔨 Improvements:**
|
|
90
|
+
- Improved log output for `--rename-notion-key-column` (#35)
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
### 1.2.5
|
|
95
|
+
|
|
96
|
+
**🎉 Released:**
|
|
97
|
+
- 10th May 2024
|
|
98
|
+
|
|
99
|
+
**🔨 Improvements:**
|
|
100
|
+
- Improved image and icon upload logic (#32)
|
|
101
|
+
- Improved `--payload-key-column` logic (#33)
|
|
102
|
+
- Updated dependencies packages
|
|
103
|
+
|
|
104
|
+
**🐞 Bug Fix:**
|
|
105
|
+
- Fixed can't able to upload images due to Notion API changes (#32)
|
|
106
|
+
- Fixed can't duplicate item within Notion when using CSV2Notion Neo (#3)
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
### 1.2.4
|
|
111
|
+
|
|
112
|
+
**🎉 Released:**
|
|
113
|
+
- 12th February 2024
|
|
114
|
+
|
|
115
|
+
**🔨 Improvements:**
|
|
116
|
+
- Added logic for `--merge-only-column` for `.json` data (#27)
|
|
117
|
+
- Improved log output with `--verbose` augmentation
|
|
118
|
+
|
|
119
|
+
**🐞 Bug Fix:**
|
|
120
|
+
- Fixed image check before getting cover image (#28)
|
|
121
|
+
- Fixed `key_column` error (#29)
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
### 1.2.3
|
|
126
|
+
|
|
127
|
+
**🎉 Released:**
|
|
128
|
+
- 6th February 2024
|
|
129
|
+
|
|
130
|
+
**🔨 Improvements:**
|
|
131
|
+
- Added support for attaching multiple Notion blocks (#14)
|
|
132
|
+
- Added support for having multiple image attachment with sub-folders (#14)
|
|
133
|
+
|
|
134
|
+
**🐞 Bug Fix:**
|
|
135
|
+
- Improved logic and functions for multiple image attachment columns (#14)
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
### 1.2.2
|
|
140
|
+
|
|
141
|
+
**🎉 Released:**
|
|
142
|
+
- 27th January 2024
|
|
143
|
+
|
|
144
|
+
**🔨 Improvements:**
|
|
145
|
+
- Added new macOS pkg release with notarization ticket stapled
|
|
146
|
+
|
|
147
|
+
**🐞 Bug Fix:**
|
|
148
|
+
- Fixed multiple image upload (#23)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
### 1.2.1
|
|
153
|
+
|
|
154
|
+
**🎉 Released:**
|
|
155
|
+
- 19th January 2024
|
|
156
|
+
|
|
157
|
+
**🐞 Bug Fix:**
|
|
158
|
+
- Fixed multiple image upload (#21)
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
### 1.2.0
|
|
163
|
+
|
|
164
|
+
**🎉 Released:**
|
|
165
|
+
- 15th January 2024
|
|
166
|
+
|
|
167
|
+
**🔨 Improvements:**
|
|
168
|
+
- Added direct integration of notion-py package for increased flexibility for futures enhancements (#18)
|
|
169
|
+
- Added ability to add multiple image attachment columns (#14)
|
|
170
|
+
- Added `--workspace` : active Notion workspace name
|
|
171
|
+
- Added codesign and notarization to macOS binary
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
### 1.1.2
|
|
176
|
+
|
|
177
|
+
**🎉 Released:**
|
|
178
|
+
- 5th January 2024
|
|
179
|
+
|
|
180
|
+
**🐞 Bug Fix:**
|
|
181
|
+
- Improved error handling of property mismatch (#16)
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
### 1.1.1
|
|
186
|
+
|
|
187
|
+
**🎉 Released:**
|
|
188
|
+
- 21st December 2023
|
|
189
|
+
|
|
190
|
+
**🐞 Bug Fix:**
|
|
191
|
+
- Fixed conversion of integers into strings
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
### 1.1.0
|
|
196
|
+
|
|
197
|
+
**🎉 Released:**
|
|
198
|
+
- 20th December 2023
|
|
199
|
+
|
|
200
|
+
**🔨 Improvements:**
|
|
201
|
+
- Added `.json` support for [MarkersExtractor](https://github.com/TheAcharya/MarkersExtractor) (#9)
|
|
202
|
+
- Added `--payload-key-column` : define key column in JSON payload (#12)
|
|
203
|
+
- Added CSV2Notion Neo version number in log file (#11)
|
|
204
|
+
- Added `--rename-notion-key-column` : rename the key column in the file to a different key column in Notion (#12)
|
|
205
|
+
- Improved legibility of warning log
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
### 1.0.2
|
|
210
|
+
|
|
211
|
+
**🎉 Released:**
|
|
212
|
+
- 30th November 2023
|
|
213
|
+
|
|
214
|
+
**🐞 Bug Fix:**
|
|
215
|
+
- Add missing imports
|
|
216
|
+
- Fixed avoid sending big payload on views update (#8)
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
### 1.0.1
|
|
221
|
+
|
|
222
|
+
**🎉 Released:**
|
|
223
|
+
- 23rd October 2023
|
|
224
|
+
|
|
225
|
+
This is the first public release of **CSV2Notion Neo**!
|
|
226
|
+
|
|
227
|
+
**🔨 Improvements:**
|
|
228
|
+
- Added repository URL within `--help` (#5)
|
|
229
|
+
- Updated repository's CI test workflows
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
### 1.0.0
|
|
234
|
+
**🎉 Released:**
|
|
235
|
+
- 15th October 2023
|
|
236
|
+
|
|
237
|
+
This is the first public pre-release of **CSV2Notion Neo**!
|
|
238
|
+
|
|
239
|
+
**🐞 Bug Fix:**
|
|
240
|
+
- Fixed batch uploading Icon Image
|
|
241
|
+
- Fixed batch uploading Images from CSV
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 The Acharya
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|