Skip to main content

About Notion2Medium

PyPI version Code Quality

  • Publish a post to Medium just from your Notion Page by Console Cli

API Keys(Token)

$ export NOTION_TOKEN="{your integration token key}"

$ export MEDIUM_TOKEN="{your integration token key}"
  • Or add these commands to your shell config files(.bashrc or .zshrc)

Install

$ pip install notion2medium

Select Command

  • Retrieves Notion Page list from Notion Database.

  • Ask user titles of Notion pages and will call publish command to publish the selected page.

  • select commands require either id or url of the Notion Database or Page.

$ notion2medium select -i <Notion Database id>

Publish Command

  • Publishes a Medium Post from Notion Page.

  • Retrieves Notion Page's content(children blocks) as markdown and Page's tags.

  • publish commands require either id or url of the Notion Database or Page.

$ notion2medium publish -i <Notion Page id>

Donation

If you think Notion2Medium is helpful to you, you can support me here:

Buy Me A Coffee

License

Apache License 2.0

Metadata

Release files for notion2medium 1.0.1

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

Source distribution (sdist)

Source distribution for notion2medium 1.0.1
File Size Uploaded
notion2medium-1.0.1.tar.gz 23.2 kB Details

Built distribution (wheel)

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

Total release size: 50.9 kB

Release files / notion2medium-1.0.1.tar.gz

Download URL notion2medium-1.0.1.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8f09cc5577e56791fd37ef33ff0636cfd5c780480399d3faa0c26cd612e9eb46
BLAKE2b-256 checksum
How to use checksums
6310cb6458e7f7dfda35717fcfd4a60f6b82426a0e80c8651c45c9f904efe950
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Darwin/22.3.0

Release files / notion2medium-1.0.1-py3-none-any.whl

Download URL notion2medium-1.0.1-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbe84f10cd07be761a8a9ff24bf99d359d1c4beeb7cc8413995050173bdf626d
BLAKE2b-256 checksum
How to use checksums
3f5db4499d6db20928ac30b137afa8416e170ad5f449cd327a64d7a08843ca05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Darwin/22.3.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

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