Helper to build Notion API params, parse markdown text into Notion API blocks
Project description
Introduction of notion-params
This is a helper to build Notion API params, parse markdown text into Notion API blocks, include a simple client support all APIs version '2022-02-22'.
Page can be created using markdown:
Table:
Database:
See more demos in sample.py: python sample.py {page_id} where page_id is a notion page your token has permission to write. This sample code will create a sub page to show all the demos.
Change log
- 0.0.1 NotionParams and markdown parse
create_pageupdate_pageappend_markdowntable_df,table_df_rowscreate_database,create_database_rowfind_child
- 0.0.2 add a simple client, change doc of NotionParams methods to match
- client.py support all APIs version 2022-02-22
- add sample.py show demos in a sample page
- 0.0.3 add
df_columns_add_prefix_for_databaseto enforce database columns order - 0.0.4
table_df()add options pass to notion API control row/column headers - 0.0.5 bugfix
- 0.0.6 support github style markdown table, seel sample.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file notion-params-0.0.6.tar.gz.
File metadata
- Download URL: notion-params-0.0.6.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4600feb95347c9f0e1ac3908aaa47382e6ae1106e0e6dfa5de352cfb5838f869
|
|
| MD5 |
8ce1abbe8f19e130d8ba254b51edcacb
|
|
| BLAKE2b-256 |
0bb14c6a4206e82f0d7a92190464eb4cc250f7aa78d8bfab619d87f2a5ce7fa0
|
File details
Details for the file notion_params-0.0.6-py3-none-any.whl.
File metadata
- Download URL: notion_params-0.0.6-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e2a82736c584119b9c47592785fe2a6487770517df93e751e50878b548bd818
|
|
| MD5 |
ab2acb8aa52eea43b21d8055ca17f998
|
|
| BLAKE2b-256 |
bc5e9f76e310d21258275c6631ff3d6ad6031d0f405caf0ba285f281c4fe322b
|