Skip to main content

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_page
    • update_page
    • append_markdown
    • table_df, table_df_rows
    • create_database, create_database_row
    • find_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_database to 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

Release files for notion-params 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for notion-params 0.0.6
File Size Uploaded
notion-params-0.0.6.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for notion-params 0.0.6
File Interpreter ABI Platform
notion_params-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 24.0 kB

Release files / notion-params-0.0.6.tar.gz

Download URL notion-params-0.0.6.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4600feb95347c9f0e1ac3908aaa47382e6ae1106e0e6dfa5de352cfb5838f869
BLAKE2b-256 checksum
How to use checksums
0bb14c6a4206e82f0d7a92190464eb4cc250f7aa78d8bfab619d87f2a5ce7fa0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / notion_params-0.0.6-py3-none-any.whl

Download URL notion_params-0.0.6-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e2a82736c584119b9c47592785fe2a6487770517df93e751e50878b548bd818
BLAKE2b-256 checksum
How to use checksums
bc5e9f76e310d21258275c6631ff3d6ad6031d0f405caf0ba285f281c4fe322b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page