Skip to main content

notiontomd

Convert notion page content to markdown

Usage

Quickstart

pip install notiontomd

from notiontomd import NotionToMarkdown

token = os.environ['token']
page_id = os.environ['page_id']

print(NotionToMarkdown(token, page_id).parse())

Feature

Support block:

  • paragraph
  • numbered_list_item
  • bulleted_list_item
  • image
  • code
  • heading_1
  • heading_2
  • heading_3
  • bookmark
  • quote
  • to_do
  • unsupported (The current notion API does not support SimpleTable)
  • child_database
  • divider
  • callout
  • video (thanks for @phuang07)

Metadata

Release files for notiontomd 0.2.0

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

Source distribution (sdist)

Source distribution for notiontomd 0.2.0
File Size Uploaded Provenance
notiontomd-0.2.0.tar.gz 5.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for notiontomd 0.2.0
File Interpreter ABI Platform
notiontomd-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / notiontomd-0.2.0.tar.gz

Download URL notiontomd-0.2.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
957611378441367b902dcf23b74c68e9a409782a042b3795f496bd50b0dc24b0
BLAKE2b-256 checksum
How to use checksums
ab9707986a21ce868e4cd27faeddfe91037cf578eb2e2829ba9e663a6b796da9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / notiontomd-0.2.0-py3-none-any.whl

Download URL notiontomd-0.2.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf16680bdb44c9d3321b4f37e1f4b1a97aa241a11063b3437c3a82dd42388af3
BLAKE2b-256 checksum
How to use checksums
a174b82a852ea26bb25460bf252bea166c92d7a964c775190a93ebdb5d64cef9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for notiontomd 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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