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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/scripts/drive_parity_fixture.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:54.732527 | #!/usr/bin/env python3
"""
Cross-runtime parity fixture driver — Python runtime.
Usage: uv run python scripts/drive_parity_fixture.py <fixture-name>
Reads fixture inputs, runs instrument_client with a mock httpx transport,
captures the emitted trace, normalizes non-deterministic fields, and prints
canonical JSON to s... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:54.763644 | """autocontext control plane package."""
from autocontext.extensions import ExtensionAPI, HookBus, HookEvents, HookResult
from autocontext.sdk import AutoContext
__all__ = ["AutoContext", "ExtensionAPI", "HookBus", "HookEvents", "HookResult", "__version__"]
__version__ = "0.5.0"
|
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/scripts/drive_anthropic_parity_fixture.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:54.793673 | #!/usr/bin/env python3
"""Cross-runtime parity fixture driver — Anthropic Python runtime."""
from __future__ import annotations
import gc
import json
import os
import sys
import tempfile
from pathlib import Path
from typing import Any
ROOT = Path(__file__).parent.parent
FIXTURES_DIR = (
ROOT.parent / "ts" / "test... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/scripts/check_python_offline_install.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:54.814115 | #!/usr/bin/env python3
"""
check_python_offline_install.py — Enterprise discipline check.
Verifies that `autocontext` can be installed in a throwaway virtual environment
without any network access, using a pre-populated uv cache.
Procedure:
1. Pre-warm the local uv cache via a normal `uv sync`.
2. Create a tempor... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agentos/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:54.826669 | """Optional agentOS integration (AC-517)."""
from autocontext.agentos.types import AgentOsConfig, AgentOsPermissions, AgentOsRuntimePort
__all__ = ["AgentOsConfig", "AgentOsPermissions", "AgentOsRuntimePort"]
|
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agentos/types.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.242763 | """agentOS integration types (AC-517).
Port types that define the boundary between autocontext's session
domain and agentOS's VM runtime.
The runtime port is a Protocol — no direct dependency on
@rivet-dev/agent-os-core. Python side defines the contract;
TS side provides the primary implementation.
"""
from __future... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.265821 | from .curator import KnowledgeCurator
from .orchestrator import AgentOrchestrator
from .skeptic import SkepticAgent, SkepticReview, parse_skeptic_review
from .types import AgentOutputs, RoleExecution, RoleUsage
__all__ = [
"AgentOrchestrator",
"AgentOutputs",
"KnowledgeCurator",
"RoleExecution",
"R... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/agent_sdk_client.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.278117 | """LLM client using Claude Agent SDK with native tool use."""
from __future__ import annotations
import asyncio
import time
from dataclasses import dataclass
from autocontext.agents.llm_client import LanguageModelClient, ModelResponse
from autocontext.agents.types import RoleUsage
# Per-role tool permissions
ROLE_T... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/architect.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.330414 | from __future__ import annotations
import ast
import json
from collections.abc import Mapping
from typing import Any
from autocontext.agents.subagent_runtime import SubagentRuntime, SubagentTask
from autocontext.agents.types import RoleExecution
from autocontext.harness.core.output_parser import extract_delimited_sec... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/analyst.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.345874 | from __future__ import annotations
from autocontext.agents.subagent_runtime import SubagentRuntime, SubagentTask
from autocontext.agents.types import RoleExecution
class AnalystRunner:
def __init__(self, runtime: SubagentRuntime, model: str) -> None:
self.runtime = runtime
self.model = model
... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/coach.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.350450 | from __future__ import annotations
from autocontext.agents.subagent_runtime import SubagentRuntime, SubagentTask
from autocontext.agents.types import RoleExecution
from autocontext.harness.core.output_parser import extract_delimited_section
def parse_coach_sections(content: str) -> tuple[str, str, str]:
"""Extra... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/contracts.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.367185 | from __future__ import annotations
from dataclasses import dataclass, field
from typing import Any
@dataclass(slots=True)
class CompetitorOutput:
raw_text: str
strategy: dict[str, Any]
reasoning: str
is_code_strategy: bool = False
@dataclass(slots=True)
class AnalystOutput:
raw_markdown: str
... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/competitor.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.367716 | from __future__ import annotations
import logging
from autocontext.agents.subagent_runtime import SubagentRuntime, SubagentTask
from autocontext.agents.types import RoleExecution
logger = logging.getLogger(__name__)
class CompetitorRunner:
def __init__(self, runtime: SubagentRuntime, model: str) -> None:
... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/feedback_loops.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.383760 | """Feedback loops for analyst quality scoring and tool usage tracking (AC-335 + AC-336).
Closes two broken incentive loops:
- AC-336: Analyst gets rated by curator on actionability/specificity/correctness
- AC-335: Architect gets tool usage data showing which tools the competitor uses
Key types:
- AnalystRating: 1-5 ... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/curator.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.424165 | from __future__ import annotations
import json
import re
from dataclasses import dataclass
from typing import Any
from autocontext.agents.feedback_loops import AnalystRating
from autocontext.agents.subagent_runtime import SubagentRuntime, SubagentTask
from autocontext.agents.types import RoleExecution
from autocontex... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/hint_feedback.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.812467 | """Bidirectional competitor hint feedback after tournament (AC-337).
After tournament, the competitor annotates which hints were helpful,
misleading, or missing based on actual match outcomes. This signal
flows back to the coach for faster hint correction.
Key types:
- HintFeedback: structured helpful/misleading/miss... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/llm_client.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.858687 | from __future__ import annotations
import json
import logging
import os
import time
from typing import Any
import anthropic
from anthropic import Anthropic
from autocontext.config.settings import AppSettings
from autocontext.harness.core.llm_client import LanguageModelClient
from autocontext.harness.core.types impor... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/orchestrator.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.900826 | from __future__ import annotations
import json as _json
import logging
from collections.abc import Callable, Sequence
from concurrent.futures import ThreadPoolExecutor
from contextlib import contextmanager
from dataclasses import dataclass
from pathlib import Path
from typing import TYPE_CHECKING, Any
from autocontex... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/role_router.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.922464 | """Capability- and cost-aware role routing (AC-204).
Routes agent roles to executable providers based on capability requirements,
execution cost, and available local artifacts (distilled models).
Usage:
AUTOCONTEXT_ROLE_ROUTING=auto — automatic provider selection per role
AUTOCONTEXT_ROLE_ROUTING=off — use... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/model_router.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.938747 | """Tiered model routing based on complexity signals.
Inspired by Plankton's pattern-based Haiku/Sonnet/Opus routing that matches
problem complexity to appropriate reasoning capacity. Supports harness-aware
dynamic demotion (AC-164): when harness coverage is strong, the competitor
can be demoted to a cheaper tier sinc... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/role_runtime_overrides.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.950797 | from __future__ import annotations
import logging
import time
from typing import Any
from autocontext.agents.subagent_runtime import SubagentRuntime
from autocontext.config.settings import AppSettings
logger = logging.getLogger(__name__)
_ROLE_RUNTIME_TIMEOUT_FIELDS = {
"pi": "pi_timeout",
"pi-rpc": "pi_tim... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/pipeline_adapter.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.961945 | """Adapter building a harness PipelineEngine from autocontext orchestrator components."""
from __future__ import annotations
from collections.abc import Callable
from typing import TYPE_CHECKING
from autocontext.harness.core.types import RoleExecution
from autocontext.harness.orchestration.dag import RoleDAG
from aut... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/provider_bridge.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.963676 | """Bridge adapter: wrap an LLMProvider as a LanguageModelClient.
Enables per-role provider overrides (AC-184) by allowing any LLMProvider
(e.g. MLXProvider) to be used where the agent system expects a
LanguageModelClient.
"""
from __future__ import annotations
import importlib
import inspect
import json
import loggi... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/skeptic.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:55.982172 | from __future__ import annotations
import re
from dataclasses import dataclass, field
from autocontext.agents.subagent_runtime import SubagentRuntime, SubagentTask
from autocontext.agents.types import RoleExecution
_RISK_RE = re.compile(r"<!--\s*SKEPTIC_RISK:\s*(high|medium|low)\s*-->", re.IGNORECASE)
_CONCERNS_RE =... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/parsers.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.006325 | from __future__ import annotations
import logging
import re
from typing import Any
from autocontext.agents.architect import parse_architect_tool_specs
from autocontext.agents.coach import parse_coach_sections
from autocontext.agents.contracts import AnalystOutput, ArchitectOutput, CoachOutput, CompetitorOutput
logge... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/subagent_runtime.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.426895 | from __future__ import annotations
from autocontext.harness.core.subagent import SubagentRuntime, SubagentTask
__all__ = ["SubagentRuntime", "SubagentTask"]
|
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/translator.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.429065 | """StrategyTranslator — extracts structured JSON strategy from free-form competitor output."""
from __future__ import annotations
import json
import re
from collections.abc import Mapping
from typing import Any
from autocontext.agents.subagent_runtime import SubagentRuntime, SubagentTask
from autocontext.agents.tran... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/trial_summary.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.522403 | from __future__ import annotations
from typing import Any
from autocontext.agents.types import RoleExecution
def build_trial_summary(
generation: int,
history: list[Any],
role_exec: RoleExecution,
) -> str:
"""Build a concise markdown summary of an RLM competitor session."""
total_turns = len(hi... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/translator_simplification.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.523258 | """Translator simplification and analyst+coach consolidation spike (AC-188).
Track 1: Deterministic strategy extraction that can replace LLM-based
translator calls when competitor output contains parseable JSON.
Track 2: Consolidated analyst+coach output model and benchmark harness
for evaluating wh... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/agents/types.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.532084 | from __future__ import annotations
from collections.abc import Callable
from dataclasses import dataclass
from typing import TYPE_CHECKING, Any
from autocontext.harness.core.types import RoleExecution, RoleUsage
#: A simple LLM function: (system_prompt, user_prompt) -> response text.
LlmFn = Callable[[str, str], str... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/aggregate_runner.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.551387 | """Aggregate analysis pipeline runner (AC-258 + AC-257).
Orchestrates the full pipeline: load facets → cluster → correlate →
persist correlation → generate issues/probes → dedup → persist.
"""
from __future__ import annotations
from collections.abc import Sequence
from dataclasses import dataclass, field
from dateti... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/correlation.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.900501 | """Signal correlation across runs (AC-258).
Correlates aggregate friction/delight clusters with releases, runtime
environment, and scenario-family dimensions. Produces queryable
CorrelationResult artifacts that are persisted for downstream issue
and probe generation.
"""
from __future__ import annotations
import uu... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/calibration.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.901493 | """Periodic human calibration and spot-check workflow (AC-260).
Defines a lightweight sampling workflow for human review of judge rubrics
and evolving playbooks. High-risk cases (large score jumps, near-perfect
scores, contradictory rubric satisfaction) are prioritized for review.
"""
from __future__ import annotatio... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/clustering.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:56.904208 | """Pattern clustering across runs (AC-256).
Groups similar friction and delight signals across RunFacets,
supporting sequence-level pattern detection and queryable clusters.
"""
from __future__ import annotations
import uuid
from collections import defaultdict
from typing import Any
from pydantic import BaseModel, ... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/issue_store.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:57.899689 | """Persistence for issue and probe candidates (AC-257).
Stores IssueCandidate and ProbeCandidate artifacts as JSON files,
supporting dedup via has_issue_for_cluster.
"""
from __future__ import annotations
from pathlib import Path
from autocontext.analytics.issue_generator import IssueCandidate, ProbeCandidate
from ... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/facets.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:57.900274 | """Canonical aggregate facet and run-event schema for completed runs (AC-255).
Defines the structured event model for cross-run signal extraction:
- RunEvent: categorized events within a run
- FrictionSignal: detected friction patterns
- DelightSignal: detected delight/efficiency patterns
- RunFacet: aggregate structu... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/regression_fixtures.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:58.057667 | """Friction analytics → regression fixtures and prevalidation (AC-328).
Converts recurring friction clusters into reusable regression fixtures
that can participate in holdout or prevalidation evaluation.
Key types:
- RegressionFixture: a generated test fixture from friction evidence
- generate_fixtures_from_friction(... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/run_trace.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:58.124111 | """Canonical run-state event model and causal trace artifact (AC-262).
Provides a rich, versioned event schema for representing what actually happened
inside a run at the granularity needed for cross-run learning, clustering,
audit, and operator inspection.
Key types:
- ActorRef: who/what generated an event (role, to... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/credit_assignment.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:58.406767 | """Component sensitivity profiling and credit assignment (AC-199).
Tracks which components changed between generations and attributes
score improvements proportionally to change magnitudes.
Key types:
- ComponentChange: structured change for one component
- GenerationChangeVector: all changes + score delta for a gene... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/issue_generator.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:58.471215 | """Thresholded issue and probe generation from friction patterns (AC-257).
Generates auditable IssueCandidate and ProbeCandidate instances from
correlated cluster evidence, with configurable thresholds and a
require_correlation guard to prevent raw-count-driven generation.
"""
from __future__ import annotations
impo... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/extractor.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:58.471861 | """Facet extraction from completed run data (AC-255).
Processes run metadata from SQLiteStore + ArtifactStore into structured
RunFacet instances with friction/delight signal detection.
"""
from __future__ import annotations
from datetime import UTC, datetime
from typing import Any
from autocontext.analytics.facets ... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/events_to_trace.py | null | null | null | null | null | null | Python | 2026-05-04T02:38:58.629465 | """Convert raw NDJSON event streams into canonical RunTrace artifacts."""
from __future__ import annotations
import json
from pathlib import Path
from typing import Any
from autocontext.analytics.run_trace import ActorRef, CausalEdge, ResourceRef, RunTrace, TraceEvent
_CATEGORY_BY_EVENT: dict[str, str] = {
"run... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/store.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:02.715902 | """Facet persistence and querying (AC-255).
Stores RunFacet instances as JSON files in a structured directory,
supporting listing and filtering by scenario, provider, etc.
"""
from __future__ import annotations
import json
from pathlib import Path
from typing import Any
from autocontext.analytics.facets import RunF... |
greyhaven-ai/autocontext | https://github.com/greyhaven-ai/autocontext | null | null | null | null | 960 | null | null | apache-2.0 | null | null | null | null | null | null | null | autocontext/src/autocontext/analytics/rubric_drift.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:02.807091 | """Rubric-drift monitoring across runs and releases (AC-259).
Detects when judge rubric or scoring behavior is drifting toward
surface-style overfit, unstable dimensions, or unreliable scoring.
Tracks dimension stability, score inflation/compression, revision-to-perfect
jumps, and emits structured warnings when thresh... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/bottom_container/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.142118 | from __future__ import annotations
from datetime import date
from typing import TYPE_CHECKING
import streamlit as st
from .. import extra
if TYPE_CHECKING:
from streamlit.delta_generator import DeltaGenerator
@extra
def bottom() -> DeltaGenerator:
"""Insert a multi-element container that sticks to the bot... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/add_vertical_space/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.157233 | from datetime import date
import streamlit as st
from streamlit.deprecation_util import show_deprecation_warning
from .. import extra
@extra
def add_vertical_space(num_lines: int = 1) -> None:
"""Add vertical space to your Streamlit app.
Args:
num_lines (int, optional): Height of the vertical space... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/app_logo/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.159990 | import base64
from datetime import date
from pathlib import Path
import streamlit as st
from streamlit.deprecation_util import show_deprecation_warning
from .. import extra
from ..utils import is_url
@extra
def add_logo(logo_url: str, height: int = 120) -> None:
"""Add a logo (from logo_url) on the top of the n... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.167906 | import inspect
from collections.abc import Callable
from importlib import import_module
from pathlib import Path
from typing import Any, Optional, TypeVar, Union, overload
from streamlit.runtime.metrics_util import gather_metrics as _gather_metrics
from streamlit_extras.version import (
STREAMLIT_EXTRAS_VERSION_S... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/badges/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.169585 | from __future__ import annotations
import html
from datetime import date
from typing import Literal, get_args
import streamlit as st
from .. import extra
_SUPPORTED_TYPES = Literal["pypi", "streamlit", "github", "twitter", "buymeacoffee"]
@extra
def badge(type: _SUPPORTED_TYPES, name: str | None = None, url: str ... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | scripts/hatch_build.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.173329 | """Hatchling build hook for building CCv2 React component frontends.
This hook automatically builds all React-based CCv2 extras during the wheel build process,
ensuring the compiled JS bundles are included without requiring a separate build step.
Note: This file duplicates some logic from build_frontends.py because b... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/generate.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.174814 | import ast
import html
import importlib
import inspect
import pkgutil
from importlib import import_module
from pathlib import Path
from types import ModuleType
import mkdocs_gen_files
import streamlit_extras
extra_modules_names = [extra.name for extra in pkgutil.iter_modules(streamlit_extras.__path__) if extra.ispkg... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/avatar/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.175787 | """Display a circular avatar image with optional label and caption.
A Streamlit Custom Component v2 (CCv2) that renders a circular avatar image,
optionally with a label and caption displayed to the right. Supports click
interactions for profile-like UI patterns.
"""
from __future__ import annotations
from datetime i... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | gallery/streamlit_app.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.185358 | import inspect
import pkgutil
from datetime import date
from importlib import import_module
from typing import TypedDict
import streamlit as st
import streamlit_extras
class ExtraInfo(TypedDict):
icon: str
title: str
desc: str
author: str
deprecated: bool
created_at: date | None
st.set_pag... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/_component_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:05.188612 | """Shared utilities for CCv2 component registration.
This module provides helpers for Type D extras (CCv2 with dedicated files),
which store frontend assets in an `assets/` subdirectory.
"""
from pathlib import Path
from typing import Any
import streamlit as st
import streamlit.components.v2
def _load_asset(assets... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/capture/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:06.003439 | from __future__ import annotations
import logging
import sys
from contextlib import contextmanager
from datetime import date
from io import StringIO
from typing import TYPE_CHECKING, Any, TextIO
from unittest import mock
import streamlit as st
from streamlit.runtime.scriptrunner_utils.script_run_context import get_sc... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/cookie_manager/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:06.070624 | """Read and write browser cookies from Python.
A Streamlit Custom Component v2 (CCv2) that manages browser cookies,
providing a dict-like interface to read, set, and delete cookies from Python.
"""
from __future__ import annotations
import json
from collections.abc import Iterator, MutableMapping
from datetime impor... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/chart_container/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:06.071166 | from collections.abc import Callable, Generator, Sequence
from contextlib import contextmanager
from datetime import date
from typing import TypedDict
import numpy as np
import pandas as pd
import streamlit as st
from streamlit import cache_data
from .. import extra
class ExportConfig(TypedDict, total=False):
f... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/colored_header/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:06.103320 | """Add colorful headers to your Streamlit app."""
import itertools
from datetime import date
from typing import Literal
import streamlit as st
from streamlit.deprecation_util import show_deprecation_warning
from .. import extra
def color(name: str) -> str:
"""Returns a color from the streamlit color palette, e... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/buy_me_a_coffee/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:06.109508 | from datetime import date
from typing import Literal
import streamlit as st
from streamlit.components.v1 import html
from .. import extra
Font = Literal[
"Cookie",
"Lato",
"Arial",
"Comic",
"Inter",
"Bree",
"Poppins",
]
@extra
def button(
username: str,
floating: bool = True,
... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/customize_running/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:06.110866 | import time
from datetime import date
import streamlit as st
from .. import extra
center_css = """
<style>
div[class*="StatusWidget"]{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50%;
}
</style>
"""
@extra
def center_running() -> None:
"""
Have the ... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/concurrency_limiter/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:06.286091 | from __future__ import annotations
import hashlib
import inspect
import sys
import time
from collections import Counter
from collections.abc import Callable
from dataclasses import dataclass
from datetime import date
from functools import partial, wraps
from threading import Condition, Lock, Semaphore
from typing impo... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/eval_javascript/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.015662 | """Evaluate JavaScript expressions in the browser and return results to Python.
A Streamlit Custom Component v2 (CCv2) that evaluates a JavaScript expression
in the browser and returns the result to Python. The component itself is hidden.
"""
from datetime import date
from typing import Any
import streamlit as st
im... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/diagrams/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.098451 | from __future__ import annotations
import base64
import re
from datetime import date
from io import BytesIO
from pathlib import Path
from typing import TYPE_CHECKING, Any, Literal
import streamlit as st
import streamlit.components.v2
from .. import extra
if TYPE_CHECKING:
from diagrams import Diagram as Diagram... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/chart_annotations/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.189050 | from __future__ import annotations
from datetime import date
from functools import partial
from typing import TYPE_CHECKING
import altair as alt
import pandas as pd
import streamlit as st
from altair.utils.plugin_registry import NoSuchEntryPoint
from streamlit import cache_data
from .. import extra
if TYPE_CHECKING... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/floating_button/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.190252 | from collections.abc import Callable
from datetime import date
from typing import Any, Literal
import streamlit as st
from .. import extra
@extra
def floating_button(
label: str,
key: str | None = None,
help: str | None = None,
on_click: Callable[..., None] | None = None,
args: tuple[Any, ...] |... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/echo_expander/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.312429 | import contextlib
import textwrap
import traceback
from collections.abc import Generator
from datetime import date
from typing import Any
import streamlit as st
from .. import extra
###
# Extension from echo() in streamlit/echo.py
###
@extra
@contextlib.contextmanager
def echo_expander(
code_location: str = "a... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/dataframe_explorer/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.899457 | import contextlib
from datetime import date
from typing import Any
import pandas as pd
import streamlit as st
from pandas.api.types import (
is_datetime64_any_dtype,
is_numeric_dtype,
is_object_dtype,
)
from .. import extra
@extra
def dataframe_explorer(df: pd.DataFrame, case: bool = True) -> pd.DataFra... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/card_selector/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.908984 | from __future__ import annotations
from datetime import date
from typing import TYPE_CHECKING, Literal, TypedDict, overload
import streamlit as st
import streamlit.components.v2
from streamlit_extras import extra
if TYPE_CHECKING:
from collections.abc import Sequence
_CSS = """
@import url('https://fonts.googl... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/great_tables/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:07.924298 | from __future__ import annotations
from datetime import date
from typing import TYPE_CHECKING, Literal
import streamlit as st
import streamlit.components.v2
from .. import extra
if TYPE_CHECKING:
from great_tables import GT
# CSS overrides that map Great Tables' hardcoded colors to Streamlit theme variables.
#... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/exception_handler/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.023889 | """
Override Streamlit's global uncaught exception handler.
This extra exposes a single function, ``set_global_exception_handler``, that replaces
Streamlit's uncaught exception handler with a user-provided callable. It supports
Streamlit versions before and after 1.39.0, where the handler location changed.
"""
from _... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/image_compare_slider/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.087155 | """Interactive image comparison slider for Streamlit.
A slider component that allows comparing two images side-by-side with a draggable
divider. Commonly used for before/after comparisons, image quality comparisons,
and visual diffs.
"""
from __future__ import annotations
from datetime import date
from functools imp... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/image_crop/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.102462 | """Interactive image cropping component for Streamlit.
A component that allows users to select a rectangular crop region on an image,
returning the bounds as percentages. Commonly used for photo editing, avatar
selection, and annotation workflows.
"""
from __future__ import annotations
from datetime import date
from... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/image_selector/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.162037 | from __future__ import annotations
from datetime import date
from io import BytesIO
from typing import TYPE_CHECKING, Any, Literal, cast
import numpy as np
import plotly.graph_objects as go
import requests
import streamlit as st
from PIL import Image, ImageDraw
from streamlit_extras import extra
if TYPE_CHECKING:
... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/json_editor/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.419249 | """JSON Editor component for Streamlit.
An interactive JSON viewer/editor built with React and CCv2.
Uses @microlink/react-json-view for rendering and editing JSON data.
"""
from datetime import date
from functools import cache
from typing import Any, TypedDict, cast
import streamlit as st
import streamlit.component... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/chartjs_chart/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.436583 | """Chart.js chart element for Streamlit.
Display charts using the Chart.js library with Streamlit theme integration.
Chart.js is known for its simplicity, lightweight footprint (~60KB gzipped),
and beautiful out-of-the-box charts with smooth animations.
"""
from datetime import date
from functools import cache
from t... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/jupyterlite/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.485856 | from datetime import date
from streamlit.components.v1 import iframe
from .. import extra
@extra
def jupyterlite(height: int = 600, width: int = 800) -> None:
"""
Add a Jupyterlite sandbox to your Streamlit app
Args:
height (int): Height of the Jupyterlite sandbox. Default value is 600.
... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/keyboard_text/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.524303 | from datetime import date
import streamlit as st
from .. import extra
def load_key_css() -> None:
st.html(
"""<style>
.keyx {
background-color: #eee;
border-radius: 3px;
border: 1px solid #b4b4b4;
box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 2... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/keyboard_url/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.559638 | from __future__ import annotations
from datetime import date
import streamlit as st
import streamlit.components.v1 as components
from .. import extra
from ..keyboard_text import key, load_key_css
@extra
def keyboard_to_url(
key: str | None = None,
key_code: int | None = None,
url: str | None = None,
) ... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/let_it_rain/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.634958 | from datetime import date
from typing import Union
import streamlit as st
from .. import extra
@extra
def rain(
emoji: str,
font_size: int = 64,
falling_speed: int = 5,
animation_length: int | str = "infinite",
) -> None:
"""
Creates a CSS animation where input emoji falls from top to bottom... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/grid/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.675442 | from __future__ import annotations
from collections.abc import Sequence
from datetime import date
from typing import TYPE_CHECKING, Any, Literal
import numpy as np
import pandas as pd
import streamlit as st
from streamlit.errors import StreamlitAPIException
from .. import extra
if TYPE_CHECKING:
from streamlit.... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/mandatory_date_range/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.696138 | from datetime import date, timedelta
from typing import Any, cast
import streamlit as st
from streamlit_extras import extra
@extra
def date_range_picker(
title: str,
default_start: date | None = None,
default_end: date | None = None,
min_date: date | None = None,
max_date: date | None = None,
... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/local_storage_manager/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.716186 | """Read and write browser localStorage from Python.
A Streamlit Custom Component v2 (CCv2) that manages browser localStorage,
providing a dict-like interface to read, set, and delete data with automatic
JSON serialization.
"""
from __future__ import annotations
import json
import time
from collections.abc import Ite... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/mention/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.952504 | import html
from datetime import date
import streamlit as st
from .. import extra
from ..utils import is_url
GITHUB_ICON = "https://cdn-icons-png.flaticon.com/512/25/25231.png"
NOTION_ICON = "https://upload.wikimedia.org/wikipedia/commons/4/45/Notion_app_logo.png"
TWITTER_ICON = "https://seeklogo.com/images/T/twitte... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/metric_cards/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:08.998763 | from datetime import date
import streamlit as st
from streamlit_extras import extra
DEFAULT_BACKGROUND_COLOR_LIGHT = "#FFF"
DEFAULT_BORDER_COLOR_LIGHT = "#CCC"
DEFAULT_BACKGROUND_COLOR_DARK = "#1B1C24"
DEFAULT_BORDER_COLOR_DARK = "#292D34"
def _get_theme_colors() -> tuple[str, str]:
"""Get default colors base... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/pagination/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.022093 | """Pagination widget for Streamlit.
A pagination widget for navigating through pages of content with numbered page buttons,
prev/next arrows, and intelligent truncation for large page counts.
"""
from collections.abc import Callable
from datetime import date
from functools import cache
from typing import Any, Literal... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/radial_menu/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.060533 | """Radial menu component for Streamlit.
A circular menu that displays options in a ring around a central button.
This is an example of a Type D CCv2 extra (with dedicated asset files).
"""
from datetime import date
from pathlib import Path
from typing import TypedDict
from streamlit_extras import extra
from streamli... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/redirect/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.080748 | """Redirect to external URLs programmatically.
A Streamlit extra that enables programmatic redirection to external URLs,
useful for OAuth flows, conditional navigation, and user routing.
"""
from __future__ import annotations
import html
from datetime import date
from typing import Literal
import streamlit as st
im... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/resizable_columns/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.173795 | """Resizable columns for Streamlit.
A drop-in replacement for st.columns that lets users drag dividers to resize columns interactively.
Column widths persist across reruns via component state.
"""
from collections.abc import Sequence
from datetime import date
from functools import cache
from typing import Any
import... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/row/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.197374 | from __future__ import annotations
from collections.abc import Sequence
from datetime import date
from typing import TYPE_CHECKING, Literal
import numpy as np
import pandas as pd
import streamlit as st
from streamlit.deprecation_util import show_deprecation_warning
from streamlit_extras import grid
from .. import e... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/scroll_to_element/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.246027 | """Scroll to elements programmatically by their key.
A Streamlit extra that enables programmatic scrolling to any element
that has a `key` parameter set. Useful for navigation within long pages,
directing user attention, and form workflows.
"""
from __future__ import annotations
import re
from datetime import date
f... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/sandbox/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.278659 | from __future__ import annotations
import inspect
import textwrap
from datetime import date
from typing import TYPE_CHECKING
from streamlit.components.v1 import html
from .. import extra
if TYPE_CHECKING:
from collections.abc import Callable
@extra
def sandbox(
code: str | Callable[[], None],
stlite_v... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/sigma_graph/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.518605 | """Sigma Graph - Interactive network graph visualization using sigma.js.
A high-performance WebGL-based graph visualization component that accepts NetworkX
graphs or JSON-serializable node-link dictionaries.
"""
from __future__ import annotations
from datetime import date
from functools import cache
from typing impo... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/skeleton/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:09.547975 | from __future__ import annotations
from datetime import date
from typing import TYPE_CHECKING
import streamlit as st
from .. import extra
if TYPE_CHECKING:
from streamlit.delta_generator import DeltaGenerator
@extra
def skeleton(height: int | None = None) -> DeltaGenerator:
"""Insert a single-element cont... |
arnaudmiribel/streamlit-extras | https://github.com/arnaudmiribel/streamlit-extras | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/streamlit_extras/function_explorer/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:12.137150 | import inspect
from collections.abc import Callable
from datetime import date
from typing import Any, get_args
import pandas as pd
import streamlit as st
from .. import extra
def get_arg_details(func: Callable[..., Any]) -> list[dict[str, Any]]:
signature = inspect.signature(func)
return [{"argument": k, "t... |
google/hypernerf | https://github.com/google/hypernerf | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | hypernerf/camera.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:14.479963 | # Copyright 2021 Google LLC
#
# 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 agreed to in writing, ... |
google/hypernerf | https://github.com/google/hypernerf | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | hypernerf/datasets/nerfies.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:14.482867 | # Copyright 2021 Google LLC
#
# 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 agreed to in writing, ... |
google/hypernerf | https://github.com/google/hypernerf | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | hypernerf/dual_quaternion.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:14.483489 | # Copyright 2021 Google LLC
#
# 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 agreed to in writing, ... |
google/hypernerf | https://github.com/google/hypernerf | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | hypernerf/datasets/core.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:14.485489 | # Copyright 2021 Google LLC
#
# 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 agreed to in writing, ... |
google/hypernerf | https://github.com/google/hypernerf | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | hypernerf/evaluation.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:14.489145 | # Copyright 2021 Google LLC
#
# 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 agreed to in writing, ... |
google/hypernerf | https://github.com/google/hypernerf | null | null | null | null | 959 | null | null | apache-2.0 | null | null | null | null | null | null | null | eval.py | null | null | null | null | null | null | Python | 2026-05-04T02:39:14.489678 | # Copyright 2021 Google LLC
#
# 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 agreed to in writing, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.