Skip to main content

Matimo provider — Notion tools (pages, databases, comments)

Project description

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

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

matimo_notion-0.1.0a14.post1.tar.gz (8.4 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.0a14.post1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file matimo_notion-0.1.0a14.post1.tar.gz.

File metadata

  • Download URL: matimo_notion-0.1.0a14.post1.tar.gz
  • Upload date:
  • Size: 8.4 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.0a14.post1.tar.gz
Algorithm Hash digest
SHA256 e69c05e53edc2cb18aa8f2afae27d452b6ec044731189d9714b85877a23a2bbb
MD5 9033d11e9671681781c0af50acf670d3
BLAKE2b-256 6aa5b653ff336d68aff209e9a24c50ebd1bb563930152140774214aefb460bd6

See more details on using hashes here.

File details

Details for the file matimo_notion-0.1.0a14.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for matimo_notion-0.1.0a14.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 bca70086bb38bade9c1bbf5d413aa10328dcbe149f54aca8dc84bff7821864a4
MD5 dcf40a75c0869ffcd2eb20b20765da61
BLAKE2b-256 dbc356ba08849bc7213af564b77200302059eaf70610d4cee1c561fb063f7b25

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 Pingdom Monitoring Sentry Error logging StatusPage Status page