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


Metadata

Release files for matimo-notion 0.4.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 matimo-notion 0.4.0
File Size Uploaded Provenance Actions
matimo_notion-0.4.0.tar.gz 11.1 kB Without provenance Details for matimo_notion-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 27.7 kB

Release files / matimo_notion-0.4.0.tar.gz

Download URL matimo_notion-0.4.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
342a6037c565e386c1ecb3e2b8c95401cc62f77cb40652b1e08db6f19f094bbf
BLAKE2b-256 checksum
How to use checksums
cae297ce77bc325fcc2c7489f0bb2f37c3ab55d02761dab67d0dff40ecb718ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL matimo_notion-0.4.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afaf04f9bc874b6330bac746ca0b775853228be15d631878f7ac04f064bdd78d
BLAKE2b-256 checksum
How to use checksums
96fca66544ccec838490a034ac1138498bf02bf2c3738c1d5fd0eb879c93b35a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for matimo-notion 0.4.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