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': {'database_id': 'your-database-id'},
        'properties': {
            'Name': {'title': [{'text': {'content': 'New Task'}}]},
            '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-integrations → New 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

Release files for matimo-notion 0.1.3

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

Source distribution (sdist)

Source distribution for matimo-notion 0.1.3
File Size Uploaded
matimo_notion-0.1.3.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for matimo-notion 0.1.3
File Interpreter ABI Platform
matimo_notion-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / matimo_notion-0.1.3.tar.gz

Download URL matimo_notion-0.1.3.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8ea09da65ab9fc06278156f6eb767c287c1143975e04ebd41e3d60464eab9056
BLAKE2b-256 checksum
How to use checksums
42d205d9879f1f100ef25ca0bd8ae63cc1e0a899f2e44ff787506c30feb327c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / matimo_notion-0.1.3-py3-none-any.whl

Download URL matimo_notion-0.1.3-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adc7e116eef9f64ae426bb4556b63e0dbdb4bd0c29c3e7b95192f215aafa5bdf
BLAKE2b-256 checksum
How to use checksums
37a199688fccde31e04d751090ad793834d9659fe6dbde9ce44a98e1536452ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.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