Skip to main content

Notion Markdown Exporter with Python Cli

Project description

Notion2Md logo - an arrow pointing from "N" to "MD"


About Notion2Md

PyPI version

  • Notion Markdown Exporter using official notion api by notion-sdk-py

API Key(Token)

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

Install

$ pip install notion2md

Useage: Shell Command

Terminal output of the notion2md -h command

notion2md -n post -p ~/MyBlog/content/posts -u https://notion.so/...
  • This command will generate "post.md" in your '~/MyBlog/content/posts' directory

To-do

  • Page Exporter
  • Database Exporter
  • export file object(image and files)
  • export child page

Contribution

Pull requests are welcome.

  1. folk this repo into yours
  2. make changes and push to your repo
  3. send pull request from your develop branch to this develop branch

This is only way to give pull request to this repo. Thank you

License

MIT

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

notion2md-2.3.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

notion2md-2.3.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file notion2md-2.3.1.tar.gz.

File metadata

  • Download URL: notion2md-2.3.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/1.7.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9

File hashes

Hashes for notion2md-2.3.1.tar.gz
Algorithm Hash digest
SHA256 0e55e16319f529e295b4a1e482834d5b40e77e30d477f7638dbf9bb49b18fc5e
MD5 c95b3a64444702fb6e5e10063751531d
BLAKE2b-256 68fd329e0bc91168926444a28411416d911f4687abb4f3b920344b5c303a7777

See more details on using hashes here.

File details

Details for the file notion2md-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: notion2md-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/1.7.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9

File hashes

Hashes for notion2md-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24468a5babdea65b9f6b2b6252502eb3609bef00237cd7fe52d8d608a257bbb9
MD5 d2137f9be2eb7ef99342f850f127b77e
BLAKE2b-256 befb7177ef0180b133b41be1ed86831018b3b78dc1d55be564b6cef63a135d49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page