Skip to main content

CortexFlow plugin — search Notion pages and databases.

Project description

cortexflow-notion

Example CortexFlow plugin: a notion_search tool that searches Notion pages and databases shared with your Notion integration.

Install

pip install -e ./cortexflow-sdk        # not yet on PyPI
pip install -e examples/plugins/cortexflow-notion

Setup

  1. Create a Notion integration at https://www.notion.so/my-integrations
  2. Share the pages/databases you want searchable with that integration
  3. Set NOTION_TOKEN in your environment to the integration's secret

Usage

from cortexflow_notion import NotionSearchTool

tool = NotionSearchTool(token="secret_...")
result = await tool.execute(query="Q3 roadmap", limit=5)
print(result.output)

Once installed alongside the CortexFlow gateway, PluginRegistry.discover() finds it via the cortexflow.plugins entry point declared in pyproject.toml.

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

cortexflow_notion-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cortexflow_notion-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file cortexflow_notion-0.1.0.tar.gz.

File metadata

  • Download URL: cortexflow_notion-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cortexflow_notion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c5fd498081e591489ae8afe8f88cc3918911297717546b3e2443ba0d8608cad7
MD5 01a4506e8ef035f2b15b565943a62816
BLAKE2b-256 e063b89a032880e9335cb5b2f0c310458e93f168a5d7992968731553223a7d5d

See more details on using hashes here.

File details

Details for the file cortexflow_notion-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cortexflow_notion-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c13ec16ea28896a0c5a1f178fe974162ba8ba947663879ec126ab25319b2794
MD5 1007a99d6f86069a7aafb854740ea439
BLAKE2b-256 dd4b199238583bac04398e3de9c72ce26da1eeb0495256b1034152cdac94febd

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