{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"Provides the `monty` command-line binary, a sandboxed Python interpreter that runs Python code with resource limits and crash isolation, typically spawned as worker subprocesses by pydantic-monty.","skillfed_tags":["sandbox","resource-limits","crash-isolation"],"use_cases":["Run untrusted Python code in a controlled sandbox with enforced memory and time limits","Execute Python scripts as isolated worker subprocesses with crash recovery","Type-check Python code before execution using the -t flag","Mount host directories into the sandbox for controlled file access with ro/rw/overlay modes","Integrate sandboxed Python execution into larger systems via pydantic-monty or monty-pool"],"what_it_does":"pydantic-monty-runtime is a compiled binary package that installs the `monty` command-line tool\u2014a sandboxed Python interpreter written in Rust. It can run Python code in three modes: interactive REPL, file execution, or as a subprocess worker driven by a parent process. The sandbox enforces resource limits (memory, execution duration, recursion depth, garbage collection intervals) and provides crash isolation via the monty-alloc allocator, which raises MemoryError on soft-limit crossing and exits with a dedicated status on hard-limit crossing.\n\nThe package is primarily designed as a runtime dependency for pydantic-monty and pydantic-monty-client, which use it to execute untrusted or resource-constrained Python code safely. It supports optional type checking via ty, filesystem mounts with configurable access modes, and optional telemetry via Logfire (behind a feature flag). The binary is packaged for PyPI using the same model as uv and ruff, placing the compiled executable in the environment's scripts directory.","worth_installing":"Yes, if you need sandboxed Python execution with resource limits and crash isolation. Install directly only if you are building on top of pydantic-monty or monty-pool; otherwise, install pydantic-monty (which pulls it in automatically). No known vulnerabilities, active maintenance, and permissive MIT license. Medium install friction is offset by precompiled wheels across platforms."},"id":"pydantic-monty-runtime","links":{"html":"https://skillfed.io/packages/pydantic-monty-runtime","md":"https://skillfed.io/packages/pydantic-monty-runtime.md","pypi":"https://pypi.org/project/pydantic-monty-runtime/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-09","license_spdx":null,"license_treatment":"permissive","name":"pydantic-monty-runtime","python_support":"supports_current","summary":"The monty CLI binary \u2014 spawned as worker subprocesses by pydantic-monty"},"popularity":{"monthly_downloads":328029,"position":7560,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.21"}
