Skip to main content

xyberos-notion

Notion API plugin — RFC-0019, M7 (community wave). Search and create pages from Xyberos agents via the Notion API v1. Stdlib-only with an injectable transport for tests.

Install

pip install -e ./notion

Usage

from xyberos import create_app
from xyberos_notion import NotionPlugin

app = create_app()
app.load_plugin(NotionPlugin())            # token from NOTION_TOKEN

app.tools.execute("notion_search", None, query="roadmap")
app.tools.execute("notion_create_page", None, database_id="DB_ID", title="New page")

Tools

Tool Notes
notion_search(query="") search pages + databases
notion_create_page(database_id, title, title_property="Name") create a page in a database

Requires NOTION_TOKEN (an internal integration token).

Tests

pip install pytest
pytest tests/

Canned responses via an injectable transport — no network.

Ship location

Plugin (xyberos.plugins entry point) — community wave (M7).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xyberos_notion-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

xyberos_notion-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xyberos_notion-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_notion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0619196545876096f8dd2a4dd9ba4de8ac66c0c3ddcccfbe38d441318099cbc1
MD5 5ae76697bf7601234010201dd9071899
BLAKE2b-256 817aa28828bc86ca88a2136b857d371a4db8f9f106398b63d5f9921ac5c022d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_notion-0.1.0.tar.gz:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

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

File details

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

File metadata

  • Download URL: xyberos_notion-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_notion-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 411465bd74138db0b4e76bfb626c422c760e78709aaf4d4634693e81b841f172
MD5 0f8bd5cfe4d31503c48440ea25fc4be9
BLAKE2b-256 9d855d4f29bc429649cca4dc6e8db07b57b8d0e9cd5394a81c295998abe49a0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_notion-0.1.0-py3-none-any.whl:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page