Skip to main content

swarmauri_toolkit_jupytertoolkit

Swarmauri SDK

swarmauri_toolkit_jupytertoolkit

A unified toolkit for aggregating standalone jupyter notebook tools.

pypi: swarmauri_toolkit_jupytertoolkit Source version: 0.11.0 Python: >=3.10,<3.15 Layer: community Lifecycle: active License: Apache-2.0 Notice: attribution

Monthly PyPI downloads: swarmauri_toolkit_jupytertoolkit README hits: swarmauri_toolkit_jupytertoolkit

README standards: CI gate Tests: example source Certification: not certified Governance: repository policy Evidence: source and CI

Overview · Installation · Quick Start · Usage · API · Contributing · Governance · License


Overview

Summary

A one-stop Swarmauri toolkit that bundles the Jupyter kernel, execution, export, and validation tools under a single interface. Instantiate JupyterToolkit and you instantly gain access to twenty standalone tools covering notebook lifecycle tasks: launching kernels, running cells, converting notebooks, exporting formats, and more.

  • Pre-registers commonly used Jupyter utilities such as JupyterStartKernelTool, JupyterExecuteNotebookTool, JupyterExportHtmlTool, and JupyterShutdownKernelTool.
  • Ensures each tool shares the same Swarmauri component metadata so agents can discover capabilities automatically.
  • Useful for agents, pipelines, or CLI scripts that need rich notebook automation without manually wiring every tool.

Why This Package

swarmauri_toolkit_jupytertoolkit isolates this responsibility: A unified toolkit for aggregating standalone jupyter notebook tools. Its package source exposes JupyterToolkit, allowing consumers to select this package without treating adjacent packages as part of its public contract.

When to Use

Choose swarmauri_toolkit_jupytertoolkit when your integration needs a unified toolkit for aggregating standalone jupyter notebook tools. Match the imports below to your application boundary and install its declared dependencies before using the example.

Features

  • JupyterToolkit: declared in swarmauri_toolkit_jupytertoolkit/JupyterToolkit.py

Non-Goals

swarmauri_toolkit_jupytertoolkit owns a unified toolkit for aggregating standalone jupyter notebook tools. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.


Getting Started

Prerequisites

  • Python 3.10 ? 3.13.
  • The underlying Jupyter tool packages (installed automatically as dependencies).
  • Access to a local or remote Jupyter runtime for kernel operations.

Installation

Pick the package manager that fits your project; each command installs the toolkit plus all underlying Jupyter tools.

pip

pip install swarmauri_toolkit_jupytertoolkit

Poetry

poetry add swarmauri_toolkit_jupytertoolkit

uv

# Add to the current project and update uv.lock
uv add swarmauri_toolkit_jupytertoolkit

# or install into the active environment without modifying pyproject.toml
uv pip install swarmauri_toolkit_jupytertoolkit

Tip: Some tools depend on Jupyter client libraries (jupyter_client, nbformat, nbconvert). Make sure your environment includes any system packages required by those libraries (for example LaTeX when exporting to PDF/LaTeX).

uv

uv add swarmauri_toolkit_jupytertoolkit

pip

python -m pip install swarmauri_toolkit_jupytertoolkit

Poetry

poetry add swarmauri_toolkit_jupytertoolkit

Quick Start

JupyterToolkit.tools is a dictionary keyed by tool name. Each entry is the ready-to-call Swarmauri tool instance.

Example

Source: docs/readme/quick_start.py.

from swarmauri_toolkit_jupytertoolkit import JupyterToolkit

toolkit = JupyterToolkit()

# Start a kernel and execute a notebook
start = toolkit.tools["JupyterStartKernelTool"]()
print(start)

run = toolkit.tools["JupyterExecuteNotebookTool"](
    notebook_path="reports/daily.ipynb", timeout=120
)
print(run)

# Export the executed notebook to HTML
export = toolkit.tools["JupyterExportHtmlTool"](
    notebook_path="reports/daily.ipynb", output_path="reports/daily.html"
)
print(export)

# Gracefully shut down the kernel
shutdown = toolkit.tools["JupyterShutdownKernelTool"](
    kernel_id=start["kernel_id"], shutdown_timeout=10
)
print(shutdown)

Expected Result

The example demonstrates the documented swarmauri_toolkit_jupytertoolkit source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.


Usage

Common Workflows

Source: docs/readme/usage.py.

from fastapi import FastAPI, BackgroundTasks
from swarmauri_toolkit_jupytertoolkit import JupyterToolkit

app = FastAPI()
toolkit = JupyterToolkit()


@app.post("/execute")
def execute(data: dict, background: BackgroundTasks):
    nb_path = data["notebook_path"]
    background.add_task(
        toolkit.tools["JupyterExecuteNotebookWithParametersTool"],
        notebook_path=nb_path,
        parameters=data.get("parameters", {}),
    )
    return {"status": "queued", "notebook": nb_path}

Build a Notebook Orchestration Service

Trigger parameterized notebook runs via HTTP and reuse the toolkit?s pre-wired execution tool.

Enhance a Swarmauri Agent With Notebook Skills

from swarmauri_core.agent.Agent import Agent
from swarmauri_core.messages.HumanMessage import HumanMessage
from swarmauri_standard.tools.registry import ToolRegistry
from swarmauri_toolkit_jupytertoolkit import JupyterToolkit

jupyter_toolkit = JupyterToolkit()
registry = ToolRegistry()
registry.register(jupyter_toolkit.tools["JupyterExecuteCellTool"])
registry.register(jupyter_toolkit.tools["JupyterReadNotebookTool"])
registry.register(jupyter_toolkit.tools["JupyterWriteNotebookTool"])

agent = Agent(tool_registry=registry)
response = agent.run(HumanMessage(content="Execute cell 3 from analytics.ipynb"))
print(response)

Combine multiple notebook operations so the agent can read, modify, and execute notebooks within a single conversation.

Convert Notebooks in Bulk

from pathlib import Path
from swarmauri_toolkit_jupytertoolkit import JupyterToolkit

toolkit = JupyterToolkit()
export_html = toolkit.tools["JupyterExportHtmlTool"]
export_md = toolkit.tools["JupyterExportMarkdownTool"]

for notebook in Path("notebooks").glob("*.ipynb"):
    export_html(notebook_path=str(notebook), output_path=str(notebook.with_suffix(".html")))
    export_md(notebook_path=str(notebook), output_path=str(notebook.with_suffix(".md")))

Run multiple exporters without manually instantiating each tool.

Configuration

Configure swarmauri_toolkit_jupytertoolkit through the APIs in package source; its manifest describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.

Error Handling

The inspected swarmauri_toolkit_jupytertoolkit source does not establish a package-wide exception hierarchy. Preserve errors from its declared dependencies and validate inputs using the specific public contract in package source.

Best Practices

Use the explicit swarmauri_toolkit_jupytertoolkit imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing JupyterToolkit; an import or successful installation alone does not establish its runtime guarantees.


Package Boundary

What It Owns

swarmauri_toolkit_jupytertoolkit is located in community and owns a unified toolkit for aggregating standalone jupyter notebook tools. Source-declared APIs include JupyterToolkit. The manifest records its direct dependency boundary.

Public API and Import Surfaces

Import namespace: swarmauri_toolkit_jupytertoolkit.

Source-declared exports or types: JupyterToolkit.

Inspect package source for exact signatures; this inventory does not designate every internal module as stable.

Entry Points

  • swarmauri.toolkits → JupyterToolkit → swarmauri_toolkit_jupytertoolkit:JupyterToolkit

Injected Dependencies

The direct installation dependencies of swarmauri_toolkit_jupytertoolkit are pydantic, swarmauri-core, swarmauri-base, swarmauri-standard, swarmauri-tool-jupyterclearoutput, swarmauri-tool-jupyterdisplay, swarmauri-tool-jupyterdisplayhtml, swarmauri-tool-jupyterexecuteandconvert, swarmauri-tool-jupyterexecutecell, swarmauri-tool-jupyterexecutenotebook, swarmauri-tool-jupyterexecutenotebookwithparameters, swarmauri-tool-jupyterexporthtml, swarmauri-tool-jupyterexportlatex, swarmauri-tool-jupyterexportmarkdown, swarmauri-tool-jupyterexportpython. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in package source.

Protocol Consumers

No direct package-manifest dependency on swarmauri_toolkit_jupytertoolkit was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.

Extensions

For swarmauri_toolkit_jupytertoolkit, use the source-declared public interfaces (JupyterToolkit) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.


Operations and Readiness

Operational Requirements

Operate swarmauri_toolkit_jupytertoolkit according to its actual entry points and collaborators. The dependency and Python requirements in the manifest are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.

Health and Observability

This README does not establish a standalone health endpoint for swarmauri_toolkit_jupytertoolkit. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.

Security and Resource Limits

Apply the input, credential, and resource constraints implemented in package source. The swarmauri_toolkit_jupytertoolkit README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.

Compatibility

This source version of swarmauri_toolkit_jupytertoolkit declares Python >=3.10,<3.15. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.


Verification

Tests

Run python -m pytest tests/unit/test_readme_sources.py from the swarmauri_toolkit_jupytertoolkit package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:

The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.

Certification Status

No external certification is asserted for swarmauri_toolkit_jupytertoolkit by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.

Evidence

The README standards CI records mechanical documentation results for its tested commit. The package source and example sources support the package-boundary description; external runtime behavior requires its own test evidence.


FAQ

Why

Why select this package? swarmauri_toolkit_jupytertoolkit provides a unified toolkit for aggregating standalone jupyter notebook tools; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.

How

How do I start? Install or synchronize the environment under Getting Started, follow the maintained example for swarmauri_toolkit_jupytertoolkit, and consult package source for the exact types and signatures involved.

When

When should I validate an upgrade? Recheck swarmauri_toolkit_jupytertoolkit whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.


More Documentation

The repository contribution guide, package source, and manifest provide the supporting context for swarmauri_toolkit_jupytertoolkit. The README policy defines the common document structure.


Contributing

How to Contribute

Follow the contribution guide and include a focused example or regression for changes to swarmauri_toolkit_jupytertoolkit. Keep package behavior, its documented boundary, and its tests aligned.

Development Setup

Work from the pkgs/50-community/swarmauri_toolkit_jupytertoolkit checkout. Synchronize its declared development environment with uv, then run the relevant package tests and python -m pytest tests/unit/test_readme_sources.py. The repository’s dedicated README job installs readme-standards==0.1.3 without resolving unrelated runtime packages.

Notes for Maintainers

Troubleshooting

  • Kernel start failures ? Ensure the environment has a working Jupyter kernelspec (e.g., python3). Check permissions when running inside containers or restricted hosts.
  • Export errors ? Some exporters (LaTeX/PDF) require external dependencies. Install TeX Live or pandoc as appropriate.
  • Tool lookup mistakes ? Use toolkit.tools.keys() to inspect available tool names; they map 1:1 to the underlying packages (JupyterExecuteNotebookTool, JupyterValidateNotebookTool, etc.).

Governance

Ownership and Decision Making

Changes to swarmauri_toolkit_jupytertoolkit follow the maintainer review process of swarmauri/swarmauri-sdk and its contribution guide. Author attribution remains in the manifest; this README does not assign new publishing or administrative authority.

Standards and Policies

swarmauri_toolkit_jupytertoolkit follows the versioned package-guide-v1 outline. All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.

Lifecycle and Migration

The swarmauri_toolkit_jupytertoolkit source version is 0.11.0.


License and Attribution

License

Licensed under Apache-2.0. See LICENSE.

swarmauri_toolkit_jupytertoolkit is released under the Apache 2.0 License. See LICENSE for details.

Notices

See NOTICE for attribution.

Metadata

Release files for swarmauri_toolkit_jupytertoolkit 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmauri_toolkit_jupytertoolkit 0.11.0
File Size Uploaded Provenance Actions
swarmauri_toolkit_jupytertoolkit-0.11.0.tar.gz 19.7 kB Without provenance Details for swarmauri_toolkit_jupytertoolkit-0.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_toolkit_jupytertoolkit 0.11.0
File Interpreter ABI Platform Actions
swarmauri_toolkit_jupytertoolkit-0.11.0-py3-none-any.whl Python 3 none any Details for swarmauri_toolkit_jupytertoolkit-0.11.0-py3-none-any.whl

Total release size: 34.2 kB

Release files / swarmauri_toolkit_jupytertoolkit-0.11.0.tar.gz

Download URL swarmauri_toolkit_jupytertoolkit-0.11.0.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cdf684f6e1dfa2a30302f3a1e4648949cc45365dec7982f2480b89f67a357737
BLAKE2b-256 checksum
How to use checksums
ffd8cfb64baddf650db3185fa89c2c562aae4e1a5b4c5cdce0bbda303b453f6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.11 {"installer":{"name":"uv","version":"0.13.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmauri_toolkit_jupytertoolkit-0.11.0-py3-none-any.whl

Download URL swarmauri_toolkit_jupytertoolkit-0.11.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cd5febad02b4211c1fc7b59ada4f125c7b4f378065f224fdc98b0671e9c5305
BLAKE2b-256 checksum
How to use checksums
23693d622dfbfda1915cd486d63d37afa44a4ed4508a983a9b4e90b2a01262db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.11 {"installer":{"name":"uv","version":"0.13.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmauri_toolkit_jupytertoolkit 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11.0 This release

2 release files No provenance

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