Skip to main content

matimo-notion

Notion tools for Matimo — create pages, query databases, search, and manage content.

PyPI Docs


Installation

pip install matimo matimo-notion

Available Tools (7 Total)

Tool Description
notion_search Search pages and databases across a workspace
notion_list_databases List databases the integration has access to
notion_query_database Query a database with optional filters and sorts
notion_create_page Create a new page (in a database or as a child page)
notion_update_page Update page properties or archive/restore a page
notion_create_comment Add a comment to a page or discussion thread
notion_get_user Get user profile by ID or get the bot user

Quick Start

import asyncio
from matimo import Matimo
from matimo_notion import get_tools_path

async def main():
    matimo = await Matimo.init(get_tools_path())

    # Search for pages/databases
    results = await matimo.execute('notion_search', {
        'query': 'Product Roadmap',
    })

    # Query a database
    rows = await matimo.execute('notion_query_database', {
        'database_id': 'your-database-id',
        'filter': {'property': 'Status', 'select': {'equals': 'In Progress'}},
    })

    # Create a page in a database
    await matimo.execute('notion_create_page', {
        'parent_id': 'your-database-id',
        'title': 'New Task',
        'properties': {'Status': {'select': {'name': 'Todo'}}},
    })

asyncio.run(main())

Authentication

export NOTION_API_KEY="secret_your-integration-token"

Setting Up a Notion Integration

  1. Go to notion.so/my-integrationsNew integration
  2. Set capabilities: Read content, Update content, Insert content
  3. Copy the Internal Integration Secret
  4. Share the pages/databases you want to access with your integration

Documentation


Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matimo_notion-0.1.2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matimo_notion-0.1.2-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file matimo_notion-0.1.2.tar.gz.

File metadata

  • Download URL: matimo_notion-0.1.2.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for matimo_notion-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0bdc45393dafab45ee1aa578d5a1c83e9a69b5b9f364b41e2474cda35c57534e
MD5 4c10ce7caf2fb6ccf7f240b8b9e547ec
BLAKE2b-256 9cbda56d236f667f0ae57b38a8172a90ea242cb1f8f6bdb137d7ecb5011aff52

See more details on using hashes here.

File details

Details for the file matimo_notion-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: matimo_notion-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for matimo_notion-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dfd5bca620bb69f5f3ae82ffb450419a5fb95a3ffef03cabe9b8ba844e189868
MD5 68778bf8907274b58ed52848872cc0e0
BLAKE2b-256 5dfa54e24134c924a596f3cc78b728ba41c291db64abfbe9812eddeb9edbc99f

See more details on using hashes here.

Supported by

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