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.2.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.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cortexflow_notion-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c45ea8b3e39c6278b4fb5bffaba75b64eb5688bac205182be19c19592f0ff396
MD5 74d8896d28b2b36b51df0557fa828355
BLAKE2b-256 78331c1f10c73d51b91229b850f155e3e559f742d96361326dfb6a1ae7e9d40c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortexflow_notion-0.1.2.tar.gz:

Publisher: publish-pypi.yml on TheAmitChandra/CortexFlow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for cortexflow_notion-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fc5aff411de0aa7f35397f8df5e84fd0e64ff05d97a0d361a03779f7e777f10a
MD5 99dd68f405c6c7f8131628a5a9e6ac52
BLAKE2b-256 20b35734487264677272d1324d4f25bfa6fbf1f6116fc2056fe6dee3f645e951

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortexflow_notion-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on TheAmitChandra/CortexFlow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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