Skip to main content

openconstruct-jupyter — Jupyter Integration for OpenConstruct

Connect OpenConstruct to your Jupyter notebooks in one line. Cell magic, widgets, fleet panels, and DataFrame-to-room conversion.

Part of SuperInstance OpenConstruct.

What This Gives You

  • Cell magic — %%openconstruct --sense vision captures output as a sense shadow
  • DataFrame → Plato room — turn any pandas DataFrame into a knowledge graph
  • Python function → agent tool — oc.from_function(greet, name="my_tool")
  • Fleet panel — inline widget showing discovered fleet nodes
  • Room viewer — visualize Plato room tiles and dependencies

Quick Start

# Load the extension
%load_ext openconstruct_jupyter

# Connect
import openconstruct_jupyter as oc
oc.connect(notebook=True)

Cell Magic

%%openconstruct --sense vision
# Cell output captured as a vision shadow

%%openconstruct --tick "analysis complete"
# Post a tick to the fleet

%%openconstruct --room my-analysis
# Create or load a Plato room

Python API

import pandas as pd

# DataFrame → room
df = pd.DataFrame({"x": [1, 2, 3], "y": [4, 5, 6]})
oc.from_dataframe(df, name="my_data")

# Function → agent tool
def greet(name):
    return f"Hello, {name}!"
oc.from_function(greet, name="greet_tool")

# REST API → agent resource
oc.from_api("https://api.example.com/data", name="external_data")

Installation

pip install openconstruct-jupyter

Testing

pytest tests/ -v

License

MIT

Metadata

Release files for openconstruct-jupyter 0.1.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 openconstruct-jupyter 0.1.0
File Size Uploaded Provenance Actions
openconstruct_jupyter-0.1.0.tar.gz 10.2 kB Without provenance Details for openconstruct_jupyter-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openconstruct-jupyter 0.1.0
File Interpreter ABI Platform Actions
openconstruct_jupyter-0.1.0-py3-none-any.whl Python 3 none any Details for openconstruct_jupyter-0.1.0-py3-none-any.whl

Total release size: 21.1 kB

Release files / openconstruct_jupyter-0.1.0.tar.gz

Download URL openconstruct_jupyter-0.1.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
100cd0e113af3ce7af856a0dc3307a5ac4144c85ed29ea0124ac025830c23566
BLAKE2b-256 checksum
How to use checksums
a28466ce138b5a5067f9432abfc3593dfcf66fee88c1c32a4bd4e717c6f7a0fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / openconstruct_jupyter-0.1.0-py3-none-any.whl

Download URL openconstruct_jupyter-0.1.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e39e99cf94ed2d0eaf5678290575e674505c55ea8c160632f380c2c46993c01
BLAKE2b-256 checksum
How to use checksums
1ace08e8cdae3d8196a4ff5789458762e1141220c30c2d9a03b4cd3673c00a27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for openconstruct-jupyter 0.1.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.1.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