runez
Friendly misc/utils/convenience library
Decision gist · record as of 2026-08-14
Yes. runez is a low-risk, actively maintained utility with zero dependencies, permissive licensing, and a clear design philosophy. Install it if you write scripts or tools that repeatedly wrap subprocess calls, file operations, or logging setup—it will reduce boilerplate and standardize error handling. Not necessary for projects that already use a heavier framework or that have minimal I/O needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python, no runtime dependencies, distributed as a wheel.
- Actively maintained with recent commits; last release 101 days ago.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in proprietary and open-source projects alike.
last release 2026-05-05 (101 days) · last repo commit 2026-05-07 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,556,370 downloads/mo, #3,768 on PyPI
Alternatives
Verify before relying
pip install runez
import runez
output = runez.run("ls", "foo")
runez.copy("foo", "bar")
runez.write("foo", "content\n")- Whether the library's error messages and logging output meet your project's standards for verbosity and format.
- Performance characteristics when handling very large files or many concurrent operations.
What it is and what it does
runez is a lightweight utility library that wraps common system operations—running subprocesses, reading and writing files, managing directories—with a consistent interface for error handling and logging. It eliminates boilerplate by providing sensible defaults: operations abort on failure by default with clear error messages, but can be set to return False instead via fatal=False. The library includes a dryrun mode to preview operations without executing them, and a CaptureOutput context manager to intercept output from any code section.
The package is pure Python with no external dependencies, making it trivial to add to any project. It supports current Python versions (3.10 through 3.14) and has been actively maintained since 2018. Most operations follow a consistent signature pattern, so once you learn the conventions for fatal, logger, and dryrun parameters, you can predict how any function will behave.
Use it for
- Build scripts and CLI tools that need to run external commands and fail fast with readable errors.
- Test suites that need to capture and verify logging output or subprocess output from tested code.
- Automation scripts that benefit from dryrun mode to preview file operations before committing them.
- Utilities that perform file I/O (read, write, copy, delete) with consistent error handling across operations.
- Logging setup in small projects where a full logging framework feels like overkill.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
runez is a low-risk, actively maintained utility with zero dependencies, permissive licensing, and a clear design philosophy. Install it if you write scripts or tools that repeatedly wrap subprocess calls, file operations, or logging setup—it will reduce boilerplate and standardize error handling. Not necessary for projects that already use a heavier framework or that have minimal I/O needs.
Install
runez on PyPI
Before you install
Low friction: pure Python, no runtime dependencies, distributed as a wheel. Actively maintained with recent commits; last release 101 days ago.
Requires Python 3.10 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution in proprietary and open-source projects alike.
Quickstart
pip install runez
import runez
output = runez.run("ls", "foo")
runez.copy("foo", "bar")
runez.write("foo", "content\n")
Verify before relying
- Whether the library's error messages and logging output meet your project's standards for verbosity and format.
- Performance characteristics when handling very large files or many concurrent operations.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 101 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,556,370 / month, #3,768 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: MacOSOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: LibrariesTopic :: Utilities |
Evidence: runez-5.9.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dryrun mode for scripts”
- runezA zero-dependency utility library providing common file operations,…
- pytest-console-scriptsA pytest plugin that runs Python console scripts within tests,…
- oschmodSets file permissions consistently across Windows, Linux, and macOS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also subprocrunner · EasyProcess · scripttest · cw-rpa · bash · subprocess-tee · logfury · subprocess.run · logzio-python-handler · logistro