repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/test_examples.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:45.578849 | '''Run examples.'''
from contextlib import redirect_stdout
import glob
import io
import os
from grafanalib import _gen
def test_examples():
'''Run examples in ./examples directory.'''
# Run dashboard examples
examples_dir = os.path.join(os.path.dirname(__file__), 'examples')
dashboards = glob.glob(... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/test_grafanalib.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:46.368203 | """Tests for Grafanalib."""
import grafanalib.core as G
from grafanalib import _gen
import sys
if sys.version_info[0] < 3:
from io import BytesIO as StringIO
else:
from io import StringIO
# TODO: Use Hypothesis to generate a more thorough battery of smoke tests.
def test_serialization():
"""Serializing... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/test_humio.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:46.507591 | """Tests for Humio Datasource"""
import grafanalib.core as G
import grafanalib.humio as H
from grafanalib import _gen
from io import StringIO
def test_serialization_humio_metrics_target():
"""Serializing a graph doesn't explode."""
graph = G.Graph(
title="Humio Logs",
dataSource="Humio data s... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/test_validators.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.278006 | import attr
import pytest
import grafanalib.validators as validators
def create_attribute():
return attr.Attribute(
name='x',
default=None,
validator=None,
repr=True,
cmp=None,
eq=True,
order=False,
hash=True,
init=True,
inherited=Fa... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/examples/example-elasticsearch.dashboard.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.409707 | """
This is an exemplary Grafana board that uses an elasticsearch datasource.
The graph shows the following metrics for HTTP requests to the URL path "/login":
- number of successful requests resulted in a HTTP response code between 200-300
- number of failed requests resulted in a HTTP response code between 400-500,
... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/examples/example.alertsv9.alertfilebasedprovisioning.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.411298 | """Example grafana 9.x+ Alert"""
from grafanalib.core import (
AlertGroup,
AlertRulev9,
Target,
AlertCondition,
AlertExpression,
AlertFileBasedProvisioning,
GreaterThan,
OP_AND,
RTYPE_LAST,
EXP_TYPE_CLASSIC,
EXP_TYPE_REDUCE,
EXP_TYPE_MATH
)
# An AlertGroup is one group... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/test_opentsdb.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.413891 | """Tests for OpenTSDB datasource"""
import grafanalib.core as G
from grafanalib.opentsdb import (
OpenTSDBFilter,
OpenTSDBTarget,
)
from grafanalib import _gen
import sys
if sys.version_info[0] < 3:
from io import BytesIO as StringIO
else:
from io import StringIO
def test_serialization_opentsdb_targ... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/examples/example.alertsv9.alertgroup.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.414538 | """Example grafana 9.x+ Alert"""
from grafanalib.core import (
AlertGroup,
AlertRulev9,
Target,
AlertCondition,
AlertExpression,
GreaterThan,
OP_AND,
RTYPE_LAST,
EXP_TYPE_CLASSIC,
EXP_TYPE_REDUCE,
EXP_TYPE_MATH
)
# An AlertGroup is one group contained in an alert folder.
a... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/examples/example.dashboard-with-sql.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.416087 | from grafanalib.core import (
Dashboard,
Graph,
GridPos,
OPS_FORMAT,
RowPanel,
SHORT_FORMAT,
SqlTarget,
YAxes,
YAxis,
)
dashboard = Dashboard(
title="Random stats from SQL DB",
panels=[
RowPanel(title="New row", gridPos=GridPos(h=1, w=24, x=0, y=8)),
Graph(
... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/examples/example.dashboard.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.416759 |
from grafanalib.core import (
Dashboard, TimeSeries, GaugePanel,
Target, GridPos,
OPS_FORMAT
)
dashboard = Dashboard(
title="Python generated example dashboard",
description="Example dashboard using the Random Walk and default Prometheus datasource",
tags=[
'example'
],
timezon... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/opentsdb.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.417325 | """Support for OpenTSDB."""
import attr
from attr.validators import instance_of
from grafanalib.validators import is_in
# OpenTSDB aggregators
OTSDB_AGG_AVG = 'avg'
OTSDB_AGG_COUNT = 'count'
OTSDB_AGG_DEV = 'dev'
OTSDB_AGG_EP50R3 = 'ep50r3'
OTSDB_AGG_EP50R7 = 'ep50r7'
OTSDB_AGG_EP75R3 = 'ep75r3'
OTSDB_AGG_EP75R7 = 'e... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/examples/example.alertsv8.alertgroup.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.417806 | """Example grafana 8.x+ Alert"""
from grafanalib.core import (
AlertGroup,
AlertRulev8,
Target,
AlertCondition,
LowerThan,
OP_OR,
OP_AND,
RTYPE_LAST
)
# An AlertGroup is one group contained in an alert folder.
alertgroup = AlertGroup(
name="Production Alerts",
# Each AlertRule... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/prometheus.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.418429 | """Helpers for Prometheus-driven graphs."""
import string
import grafanalib.core as G
def PromGraph(data_source, title, expressions, **kwargs):
"""Create a graph that renders Prometheus data.
:param str data_source: The name of the data source that provides
Prometheus data.
:param title: The ti... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/weave.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.961292 | """Weave-specific dashboard configuration.
Unlike 'core', which has logic for building generic Grafana dashboards, this
has our Weave-specific preferences.
"""
import attr
import grafanalib.core as G
from grafanalib import prometheus
YELLOW = '#EAB839'
GREEN = '#7EB26D'
BLUE = '#6ED0E0'
ORANGE = '#EF843C'
RED = '#... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/tests/test_zabbix.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:47.965535 | """Tests for Zabbix Datasource"""
import grafanalib.core as G
import grafanalib.zabbix as Z
from grafanalib import _gen
import sys
if sys.version_info[0] < 3:
from io import BytesIO as StringIO
else:
from io import StringIO
def test_serialization_zabbix_target():
"""Serializing a graph doesn't explode."... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/validators.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:48.002173 | import re
import attr
@attr.attributes(repr=False, slots=True)
class _IsInValidator(object):
choices = attr.attr()
def __call__(self, inst, attr, value):
if value not in self.choices:
raise ValueError("{attr} should be one of {choice}".format(
attr=attr.name, choice=self.c... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | grafanalib/zabbix.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:48.055393 | import attr
import itertools
from attr.validators import instance_of
from numbers import Number
from grafanalib.validators import is_interval, is_in, is_color_code, is_list_of
from grafanalib.core import (
RGBA, Percent, Pixels, DashboardLink,
DEFAULT_ROW_HEIGHT, BLANK, GREEN)
ZABBIX_TRIGGERS_TYPE = 'alexander... |
weaveworks/grafanalib | https://github.com/weaveworks/grafanalib | null | null | null | null | 1,961 | null | null | apache-2.0 | null | null | null | null | null | null | null | setup.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:48.063559 | import os
from setuptools import setup, find_packages
def local_file(name):
return os.path.relpath(os.path.join(os.path.dirname(__file__), name))
README = local_file('README.rst')
setup(
name='grafanalib',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version ac... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/chained_tools_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.637860 | #!/usr/bin/env python3
"""
Chained Tool Call Diagnostic - Reproduces the exact CLI scenario
This script simulates the exact tool call chain that happens when a user asks:
"select top 10 products from the database"
The LLM typically makes these chained calls:
1. list_tables (to discover table structure)
2. read_query ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/debug_models.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.648192 | # Debug script to diagnose model discovery issues
# diagnostics/debug_models.py
import os
from pathlib import Path
def check_chuk_llm_version():
"""Check which version of chuk-llm is installed."""
try:
import chuk_llm
print(f"✅ chuk-llm version: {getattr(chuk_llm, '__version__', 'unknown')}"... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/model_manager_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.655796 | #!/usr/bin/env python3
"""
ModelManager Diagnostic Script
This script performs comprehensive diagnostics on the ModelManager,
testing all major functionality including:
- Provider discovery and listing
- Model discovery (local and API-based)
- Runtime provider management
- Pydantic model validation
- API client creati... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/conversation_tools_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.665992 | #!/usr/bin/env python3
"""
CLI Conversation Flow Diagnostic (Simplified)
Tests the conversation flow that happens when using the CLI with tool calls.
"""
import asyncio
import logging
import sys
from typing import List
# Configure logging with reduced verbosity
logging.basicConfig(
level=logging.INFO,
format... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/provider_list_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.667655 | #!/usr/bin/env python3
# test_fixes.py - Test the provider command fixes
import sys
from pathlib import Path
# Add src to path
src_path = Path(__file__).parent / "src"
if src_path.exists():
sys.path.insert(0, str(src_path))
def test_ollama_detection():
"""Test the Ollama detection fix."""
print("🦙 Test... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/mcp_cli_diagnostics.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.674794 | #!/usr/bin/env python3
"""
Complete MCP CLI system diagnostics
"""
import os
import sys
import json
import subprocess
import importlib
from pathlib import Path
def check_python_packages():
"""Check required Python packages."""
print("1. Python Package Dependencies")
print("-" * 32)
required_packages... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/deep_timeout_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.679371 | #!/usr/bin/env python3
"""
Deep diagnostic script to trace timeout and retry configuration through all layers.
This script will test actual tool execution and trace through:
1. CLI configuration (server_config.json)
2. ToolManager initialization
3. HTTP transport setup
4. chuk-tool-processor ToolProcessor
5. chuk-mcp ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/cli_tools_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.680856 | #!/usr/bin/env python3
"""
MCP CLI Tool Parameter Diagnosis Script
This script helps diagnose the "Missing required parameter 'query'" error
that occurs in MCP CLI tool execution. It traces the complete flow from
LLM tool calls through parameter validation to actual execution.
Usage:
python diagnose_mcp_tools.py ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/cli_command_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.683818 | #!/usr/bin/env python3
"""
Simple, robust test script for MCP servers that avoids asyncio complications
"""
import json
import subprocess
import sys
import os
def test_mcp_cli_command(command_args, timeout=30):
"""Test an mcp-cli command and return success status and output."""
try:
# Set up environm... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/mcp_server_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:50.723760 | #!/usr/bin/env python3
# mcp_server_diagnostic.py - Comprehensive MCP server diagnostic and analysis tool
import sys
import os
import json
import asyncio
import time
from pathlib import Path
from typing import Dict, Any, List
# Add src to path
src_path = Path(__file__).parent / "src"
if src_path.exists():
sys.pat... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/server_integration_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.226343 | #!/usr/bin/env python3
"""
MCP Server Integration Diagnostic
Tests MCP server integration with the tool system.
Can be used with any MCP server configured in server_config.json.
"""
import asyncio
import json
import logging
import sys
from typing import Optional
# Configure logging
logging.basicConfig(level=logging.... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/timeout_investigation.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.228049 | #!/usr/bin/env python3
"""
Debug script to find the actual source of the 10-second timeout
in MCP CLI by examining the runtime environment.
"""
import os
import inspect
import importlib
def trace_mcp_cli_imports():
"""Trace where MCP CLI components are loaded from."""
print("🔍 Tracing MCP CLI imports and ti... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/simple_exec_timeout_diagnostic.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.263312 | #!/usr/bin/env python3
"""
Simple test to capture the actual timeout and retry behavior during tool execution.
Focus only on Monday.com server execution.
"""
import asyncio
import logging
import sys
import time
# Configure minimal logging
logging.basicConfig(
level=logging.INFO,
format="%(levelname)s - %(name... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/trace_monday_simple.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.265428 | #!/usr/bin/env python3
"""
Simple test to measure actual Monday.com response time.
"""
import asyncio
import time
from mcp_cli.tools.manager import ToolManager
async def test():
print("Initializing ToolManager...")
tm = ToolManager(
config_file="server_config.json",
servers=["monday"],
)
... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/apps/apps_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.267023 | #!/usr/bin/env python
"""
MCP Apps demo — launches a self-contained MCP App in the browser.
This example demonstrates:
1. How _meta.ui is preserved on tool definitions
2. How the AppHostServer serves an MCP App
3. How the WebSocket bridge connects browser to backend
4. The full JSON-RPC handshake (ui/initialize, tools... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/apps/bridge_protocol_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.272257 | #!/usr/bin/env python
"""
Demonstrates the AppBridge JSON-RPC protocol handler.
Shows how messages from the browser are routed to MCP server
tool calls, and how results flow back. No aiohttp or browser needed.
Usage:
uv run python examples/apps/bridge_protocol_demo.py
"""
from __future__ import annotations
impo... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/commands/command_system_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.273726 | #!/usr/bin/env python3
"""
Demonstration of the MCP-CLI command system working independently.
This script shows how all chat commands work with the global context manager,
without needing the full MCP-CLI application running.
"""
import asyncio
from unittest.mock import MagicMock
from typing import List, Dict, Any
#... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/apps/meta_pipeline_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.277076 | #!/usr/bin/env python
"""
Demonstrates how _meta.ui survives through the tool pipeline.
Shows the data flow:
raw tool dict (from MCP server) → ToolDefinitionInput → ToolInfo
No servers or API keys needed.
Usage:
uv run python examples/apps/meta_pipeline_demo.py
"""
from __future__ import annotations
import s... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | diagnostics/trace_timeout_flow.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.310751 | #!/usr/bin/env python3
"""
Monkey-patch chuk_mcp to trace timeout values through all layers.
"""
import asyncio
import time
import chuk_mcp.protocol.messages.send_message
import chuk_mcp.protocol.messages.tools.send_messages
from mcp_cli.tools.manager import ToolManager
# Monkey-patch send_message to log timeout
or... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/commands/command_system_e2e_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:51.325862 | #!/usr/bin/env python3
"""
End-to-End Demo of MCP-CLI Command System
This script demonstrates all commands and subcommands working together,
including state changes, switching between providers/models, and showing
the improved help system with subcommand indicators.
Run with: uv run python examples/command_system_e2e... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/getting_started/clear_with_banner_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.188870 | #!/usr/bin/env python
"""
Demo: Clear command with welcome banner
This example demonstrates the enhanced clear command that displays
the welcome banner after clearing the screen, showing the current
provider, model, and tool count.
"""
import asyncio
from chuk_term.ui import output, display_chat_banner
from mcp_cli.c... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/planning/plan_execution_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.272692 | #!/usr/bin/env python
"""
Plan execution demo — run plans with parallel batches, checkpoints, and dry-run.
Demonstrates:
1. Dry-run mode: trace execution without side effects
2. Live execution with mock tools and progress callbacks
3. Parallel batch execution: independent steps run concurrently
4. Variable resolution:... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/getting_started/basic_llm_call.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.277574 | # examples/basic_llm_call.py
"""Minimal diagnostic: send one prompt through the MCP-CLI LLM layer.
Run from the repo root, e.g.
uv run examples/basic_llm_call.py \
--provider openai \
--model gpt-4o-mini \
--prompt "Hello from the diagnostic script!"
Requires `OPENAI_API_KEY` for OpenAI; ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/commands/demo_interactive_mode.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.282085 | #!/usr/bin/env python
"""
Demo script for MCP-CLI Interactive Mode.
This script demonstrates the capabilities of the unified command system
in interactive mode by simulating various command interactions.
"""
import asyncio
import sys
from pathlib import Path
# Add parent directory to path for imports
sys.path.insert... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/planning/plan_basics_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.289337 | #!/usr/bin/env python
"""
Plan basics demo — create, inspect, save, load, and delete plans.
Demonstrates:
1. PlanningContext initialization and plan persistence
2. Building a plan from a dict (both 'tool' and 'tool_calls' formats)
3. PlanRegistry round-trip: save to disk, load from disk, fresh context reload
4. DAG vi... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/getting_started/ollama_llm_call.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.290443 | # examples/ollama_llm_call.py
"""Minimal diagnostic: send one prompt through the MCP‑CLI client layer
using **Ollama** as the backend.
Run from repo root, e.g.
uv run examples/ollama_llm_call.py \
--model qwen2.5-coder \
--prompt "Hello from Ollama!"
No environment variables are required, but the... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/commands/slash_commands_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.601694 | #!/usr/bin/env python3
"""
Slash Commands Demo
===================
This example demonstrates:
1. The unified command system with slash commands
2. Autocomplete functionality with transparent menu
3. Command aliases and modes
4. Theme-aware styling
Run with:
uv run examples/slash_commands_demo.py
"""
import async... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/planning/plan_as_tool_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.689690 | #!/usr/bin/env python
"""
Plan-as-a-Tool demo — the LLM autonomously creates and executes plans.
Demonstrates Tier 6.8: Model-Driven Planning. Instead of the user
explicitly requesting a plan, the model itself decides when a task
requires multi-step coordination and calls plan_create_and_execute.
Flow:
1. User asks a... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/getting_started/streaming_simple.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:52.971672 | #!/usr/bin/env python3
"""
Simple Streaming Example
========================
Shows the simplest way to use MCP-CLI's streaming display.
"""
import asyncio
from rich.console import Console
# Import streaming helpers
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent.parent / "src"... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/planning/plan_guard_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:53.077657 | #!/usr/bin/env python
"""
Guard integration demo — shows how plans respect budget and per-tool limits.
Demonstrates:
1. McpToolBackend with guard checks enabled
2. Pre-execution guard blocking (budget exhausted, per-tool cap)
3. Post-execution result recording (value binding, tool count tracking)
4. Guards disabled mo... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/safety/vm_relaxed_mode_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:53.167644 | #!/usr/bin/env python3
"""AI Virtual Memory: E2E Recall Scenarios
Replicates the three recall patterns observed in live testing:
Scenario A — Simple facts: "What is my name?"
Scenario B — Creative content: "What rhymes with 'light' in the poem?"
Scenario C — Tool result data: "What was the temperature?"
... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/sample_tools/calculator_tool.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:53.270317 | # examples/sample_tools/calculator_tool.py
from typing import Dict
# imports
from chuk_tool_processor.models.validated_tool import ValidatedTool
from chuk_tool_processor.registry.decorators import register_tool
@register_tool(name="calculator")
class CalculatorTool(ValidatedTool):
"""Perform mathematical calcula... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/sample_tools/search_tool.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:53.558527 | # examples/sample_tools/search_tool.py
import time
from typing import Dict, List
# imports
from chuk_tool_processor.registry.decorators import register_tool
from chuk_tool_processor.models.validated_tool import ValidatedTool
@register_tool(name="search")
class SearchTool(ValidatedTool):
"""Search the web for inf... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/sample_tools/weather_tool.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:53.652588 | # examples/sample_tools/weather_tool.py
import time
# imports
from chuk_tool_processor.registry.decorators import register_tool
from chuk_tool_processor.models.validated_tool import ValidatedTool
@register_tool(name="weather")
class WeatherTool(ValidatedTool):
"""Get current weather information for a location.""... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/servers/custom_provider_working_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:53.758139 | #!/usr/bin/env python3
"""
Working demonstration of custom provider with actual inference.
This demo shows the complete workflow:
1. Add a custom OpenAI-compatible provider
2. Set the environment variable for API key
3. Show actual inference working
4. Clean up by removing the provider
We'll use the OpenAI API but ad... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/servers/server_management_e2e.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:53.818052 | #!/usr/bin/env python
"""
End-to-end example of MCP server runtime management.
This script demonstrates:
1. Listing current servers
2. Adding a new MCP server at runtime
3. Using the newly added server (calling its tools)
4. Disabling the server
5. Re-enabling the server
6. Removing the server
"""
import asyncio
from... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/streaming/mcp_cli_working_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:54.135001 | #!/usr/bin/env python3
"""
MCP-CLI Working Demo
====================
Shows how the streaming integration works in actual MCP-CLI usage.
"""
import asyncio
import sys
from pathlib import Path
# Add src to path
sys.path.insert(0, str(Path(__file__).parent.parent.parent / "src"))
from mcp_cli.chat.streaming_handler imp... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/streaming/mcp_streaming_showcase.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:54.214759 | #!/usr/bin/env python3
"""
MCP-CLI Streaming Showcase - The Complete Integration Demo
This demonstrates that our unified streaming + tool system is now working perfectly!
Shows the exact flow that happens in real MCP-CLI:
1. User asks question → User message panel
2. LLM streams response → Live streaming animation → ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/streaming/real_llm_streaming_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:54.320885 | #!/usr/bin/env python3
"""
Real LLM Streaming Demo with MCP-CLI Integration
This is the holy grail demo! It shows:
1. Real OpenAI GPT-4o-mini making actual decisions
2. Streaming assistant responses with live display
3. Real tool calls to MCP echo server
4. Animated tool execution with spinners and results
5. Complete... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/tools/demo_tool_execution.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:54.426029 | #!/usr/bin/env python
"""
Demo script showing tool execution in MCP-CLI Interactive Mode.
This demonstrates the new execute command that allows running MCP tools
directly with parameters in interactive mode.
"""
import asyncio
import sys
from pathlib import Path
from unittest.mock import Mock
# Add parent directory ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/tools/playwright_server_with_tool_execution.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:54.684979 | #!/usr/bin/env python
"""
Complete end-to-end example with Playwright MCP server including tool execution.
This script demonstrates:
1. Adding the Playwright MCP server
2. Restarting the tool manager to connect
3. Listing available Playwright tools
4. Executing a Playwright tool (navigate to a webpage)
5. Removing the... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/tools/server_add_and_execute_tool.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:54.757403 | #!/usr/bin/env python
"""
Complete end-to-end example: Add server, connect, and execute tools.
This demonstrates:
1. Adding a new MCP server at runtime
2. Initializing the tool manager with the new server
3. Listing available tools from the server
4. Executing a tool and displaying results
5. Cleaning up
We use the '... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/tools/tool_args_flow_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:54.916792 | #!/usr/bin/env python3
"""Demo script to trace tool argument flow.
This shows how arguments flow from model response to tool execution,
helping identify where values might get corrupted or changed.
"""
import json
import logging
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent.... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/tools/tool_round_trip.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:55.021985 | #!/usr/bin/env python
"""
Async LLM ↔ local-tool round-trip demo (OpenAI tools-v2).
• Registers three sample tools (search, weather, calculator).
• Any synchronous .run / .__call__ / .execute is wrapped so the executor can await it. ★
• Lets the assistant invoke tools and prints the final answer.
"""
from __future__ ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/planning/plan_llm_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:57.808238 | #!/usr/bin/env python
"""
LLM-integrated planning demo — generate plans from natural language.
Demonstrates the full planning pipeline:
1. PlanAgent generates a structured plan from a natural language description
2. Plan validation against available tool catalog
3. DAG visualization of the generated plan
4. Live execu... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/safety/tier1_context_safety_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:57.853959 | #!/usr/bin/env python3
"""Tier 1: Context Safety Mechanisms Demo
Demonstrates all five Tier 1 foundation features that prevent crashes
from large payloads, unbounded accumulation, and context overflow:
1.1 Tool result truncation
1.2 Reasoning content stripping
1.3 Conversation history sliding window
1.4 Infin... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/safety/health_vm_multimodal_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:57.901741 | #!/usr/bin/env python3
"""Server Health Monitoring & VM Multimodal Content Demo
Proves end-to-end that:
1. Health-check-on-failure — ToolManager._diagnose_server() detects unhealthy servers
2. Health polling lifecycle — background task starts, detects transitions, stops cleanly
3. HealthCommand — /health slash ... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/safety/tier2_efficiency_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:57.929079 | #!/usr/bin/env python3
"""Tier 2: Efficiency & Resilience Demo
Demonstrates all nine Tier 2 features that improve performance and
error handling in production workloads:
2.1 Eliminate triple tool result storage
2.2 Enforce procedural memory limits
2.3 System prompt optimization (caching + tool summary)
2.4 St... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/planning/plan_parallel_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:57.980280 | #!/usr/bin/env python
"""
Parallel execution demo — shows how independent steps run concurrently.
Demonstrates:
1. Topological batching: steps grouped by dependency structure
2. Concurrent execution within batches via asyncio
3. Diamond, fan-out, and pipeline DAG patterns
4. Timing evidence that parallel steps run con... |
IBM/mcp-cli | https://github.com/IBM/mcp-cli | null | null | null | null | 1,957 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/safety/vm_memory_management_demo.py | null | null | null | null | null | null | Python | 2026-05-04T02:44:58.006930 | #!/usr/bin/env python3
"""AI Virtual Memory: End-to-End Memory Management Demo
Proves that the VM subsystem correctly enforces token budgets, triggers
eviction under pressure, and tracks pages across tiers.
Demonstrates:
1. Budget enforcement — TokenBudget.total_limit syncs from WorkingSetConfig
2. Page creation ... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | evaluate.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.474520 | from model.data_utils import CoNLLDataset
from model.ner_model import NERModel
from model.config import Config
def align_data(data):
"""Given dict with lists, creates aligned strings
Adapted from Assignment 3 of CS224N
Args:
data: (dict) data["x"] = ["I", "love", "you"]
(dict) data... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | train.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.480453 | from model.data_utils import CoNLLDataset
from model.ner_model import NERModel
from model.config import Config
def main():
# create instance of config
config = Config()
# build model
model = NERModel(config)
model.build()
# model.restore_session("results/crf/model.weights/") # optional, resto... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/base_model.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.481374 | import os
import tensorflow as tf
class BaseModel(object):
"""Generic class for general methods that are not specific to NER"""
def __init__(self, config):
"""Defines self.config and self.logger
Args:
config: (Config instance) class with hyper parameters,
vocab an... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/data_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.482479 | import numpy as np
import os
# shared global variables to be imported from model also
UNK = "$UNK$"
NUM = "$NUM$"
NONE = "O"
# special error message
class MyIOError(Exception):
def __init__(self, filename):
# custom error message
message = """
ERROR: Unable to locate file {}.
FIX: Have you trie... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | build_data.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.484286 | from model.config import Config
from model.data_utils import CoNLLDataset, get_vocabs, UNK, NUM, \
get_glove_vocab, write_vocab, load_vocab, get_char_vocab, \
export_trimmed_glove_vectors, get_processing_word
def main():
"""Procedure to build data
You MUST RUN this procedure. It iterates over the who... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/general_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.490421 | import time
import sys
import logging
import numpy as np
def get_logger(filename):
"""Return a logger instance that writes in filename
Args:
filename: (string) path to log.txt
Returns:
logger: (instance of logger)
"""
logger = logging.getLogger('logger')
logger.setLevel(logg... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/config.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.493906 | import os
from .general_utils import get_logger
from .data_utils import get_trimmed_glove_vectors, load_vocab, \
get_processing_word
class Config():
def __init__(self, load=True):
"""Initialize hyperparameters and load vocabs
Args:
load_embeddings: (bool) if True, load embed... |
guillaumegenthial/sequence_tagging | https://github.com/guillaumegenthial/sequence_tagging | null | null | null | null | 1,954 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/ner_model.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:00.504870 | import numpy as np
import os
import tensorflow as tf
from .data_utils import minibatches, pad_sequences, get_chunks
from .general_utils import Progbar
from .base_model import BaseModel
class NERModel(BaseModel):
"""Specialized class of Model for NER"""
def __init__(self, config):
super(NERModel, se... |
hslatman/awesome-industrial-control-system-security | https://github.com/hslatman/awesome-industrial-control-system-security | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | source/s7-brute-offline.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:07.572039 | """
As posted on: http://pastebin.com/0G9Q2k6y
File: s7-brute-offline.py
Desc: offline password bruteforsing based on challenge-response data, extracted from auth traffic dump file
Alexander Timorin, Dmitry Sklyarov
http://scadastrangelove.org
Version: 0.1 (just for demo, don't kick my ass plz)
"""
import sys
impor... |
hslatman/awesome-industrial-control-system-security | https://github.com/hslatman/awesome-industrial-control-system-security | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | source/s7-cracker.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:07.572545 | """
As posted on: http://pastebin.com/0G9Q2k6y
File: s7-cracker.py
Desc: offline password bruteforsing based on challenge-response data, extracted from auth traffic dump file
Installing (scapy) pcapy on Windows for Python 2.7:
See: http://stackoverflow.com/a/23279252
Download and install http://dirk-loss.de/scapy/d... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/arithmetic.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.693490 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/example.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.702471 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/generate_to_file.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.704070 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/algebra_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.705002 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/generate.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.706724 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/algebra.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.708203 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/generate_settings.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.715408 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/generate_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.724369 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.753790 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:09.783771 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/arithmetic_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.272641 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/measurement.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.275971 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/calculus.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.276880 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/comparison.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.292233 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/modules.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.309354 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/polynomials.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.312989 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/numbers.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.314572 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/calculus_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.315975 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/probability.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.349656 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/modules/train_test_split.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.352245 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/sample/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.802484 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
google-deepmind/mathematics_dataset | https://github.com/google-deepmind/mathematics_dataset | null | null | null | null | 1,952 | null | null | apache-2.0 | null | null | null | null | null | null | null | mathematics_dataset/sample/arithmetic.py | null | null | null | null | null | null | Python | 2026-05-04T02:45:10.824530 | # Copyright 2018 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.