Matimo provider — Notion tools (pages, databases, comments)
Project description
matimo-notion
Notion tools for Matimo — create pages, query databases, search, and manage content.
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
- Go to notion.so/my-integrations → New integration
- Set capabilities: Read content, Update content, Insert content
- Copy the Internal Integration Secret
- Share the pages/databases you want to access with your integration
Documentation
Links
- PyPI: https://pypi.org/project/matimo-notion/
- GitHub: https://github.com/tallclub/matimo
- Notion API Docs: https://developers.notion.com/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e69c05e53edc2cb18aa8f2afae27d452b6ec044731189d9714b85877a23a2bbb
|
|
| MD5 |
9033d11e9671681781c0af50acf670d3
|
|
| BLAKE2b-256 |
6aa5b653ff336d68aff209e9a24c50ebd1bb563930152140774214aefb460bd6
|
File details
Details for the file matimo_notion-0.1.0a14.post1-py3-none-any.whl.
File metadata
- Download URL: matimo_notion-0.1.0a14.post1-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bca70086bb38bade9c1bbf5d413aa10328dcbe149f54aca8dc84bff7821864a4
|
|
| MD5 |
dcf40a75c0869ffcd2eb20b20765da61
|
|
| BLAKE2b-256 |
dbc356ba08849bc7213af564b77200302059eaf70610d4cee1c561fb063f7b25
|