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.2.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.2.0
File Size Uploaded Provenance Actions
matimo_notion-0.2.0.tar.gz 11.1 kB Without provenance Details for matimo_notion-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 27.7 kB

Release files / matimo_notion-0.2.0.tar.gz

Download URL matimo_notion-0.2.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
710a5d8b00630031ccb928581218e6d6af224517012dda970f544ff92475c657
BLAKE2b-256 checksum
How to use checksums
4753f6b99d1e0a02b99f5734eeb224fc376d82f47d22d5000a0838d112bd8410
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.2.0-py3-none-any.whl

Download URL matimo_notion-0.2.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a4c21badfc828172af78760e817752e1c7e1b9d51612f33a71ede6ac16211af
BLAKE2b-256 checksum
How to use checksums
0d35532d86f622c15d9dfa479fd87f71ab6e2a2ea35e67b0449604cd9fad18af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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