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': {'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
- 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/
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)
| File | Size | Uploaded | |
|---|---|---|---|
| matimo_notion-0.1.3.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|