14 个仓库
Executing wrapped operations asynchronously by returning a future to the caller.
Distinct from Runtime Command Execution: Distinct from database or remote shell execution as it refers to a general fault-tolerant command pattern.
Explore 14 awesome GitHub repositories matching software engineering & architecture · Asynchronous Command Execution. Refine with filters or upvote what's useful.
Hystrix is a latency and fault tolerance library designed to prevent cascading failures in distributed systems. It functions as a circuit breaker implementation that monitors failure thresholds and opens circuits to isolate remote calls when downstream services degrade. The project distinguishes itself by providing multiple isolation mechanisms, utilizing dedicated thread pools and semaphores to ensure that latency in one dependency does not saturate the entire system. It also features a request collapsing and batching engine that groups concurrent calls into single executions to reduce the t
Queues dependency calls for asynchronous execution, returning a future to retrieve results without blocking the calling thread.
pysheeet 是一个技术参考库,提供了一系列精选的代码片段和实现模式,用于高级 Python 开发、系统集成和高性能计算。它充当实现底层网络编程、原生 C 扩展以及异步和并发编程的综合指南。 该项目为大语言模型的开发和部署提供了专门的框架,包括用于分布式 GPU 推理和高性能服务的工具。它还包括用于高性能计算集群编排的详细模式,涵盖 GPU 资源分配和多节点工作负载管理。 该库涵盖了广泛的功能,包括安全网络通信和加密、对象关系映射和数据库管理,以及复杂数据结构和算法的实现。它还提供用于内存管理、通过外部函数接口(FFI)进行原生互操作以及系统级 OS 集成的实用程序。
Provides patterns for the asynchronous execution of system-level binaries and shell commands.
pydoll is a Chrome DevTools Protocol automation library and headless browser controller used for web data extraction and parallel browser automation. It controls Chromium-based browsers via direct WebSocket connections, allowing it to manage isolated browser contexts and tabs while bypassing the overhead and detection associated with WebDriver. The project features an anti-bot evasion framework that mimics natural human behavior, including mouse movements generated via Bezier curves and variable typing patterns. It provides specialized stealth capabilities to bypass behavioral analysis and au
Groups multiple protocol instructions into single messages to minimize network round trips and increase speed.
Gevent is a Python coroutine concurrency library and asynchronous task manager designed for high-concurrency I/O tasks. It provides a cooperative networking framework for building asynchronous TCP, UDP, and HTTP servers, as well as a WSGI web server implementation for hosting web applications. The project is distinguished by its standard library monkey-patching tool, which replaces blocking synchronous functions with cooperative versions to enable asynchronous behavior in third-party code. This allows for a cooperative multitasking workflow where the system yields execution during I/O waits t
Runs system commands asynchronously and manages their output to keep the main event loop responsive.
This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query Responsibility Segregation (CQRS) patterns using the Go programming language. It serves as a sample application to demonstrate how to decouple core domain rules from infrastructure and delivery mechanisms. The system is built as a gRPC microservices architecture, utilizing type-safe communication and service contracts. It implements an event-driven architecture to manage eventual consistency and asynchronous processing, specifically employing the Outbox pattern to ensure reliable messagin
Processes heavy computations asynchronously using a message queue to prevent blocking the user interface.
Vorpal 是一个 Node.js 交互式 CLI 框架和终端用户界面库,用于构建可扩展的命令行 Shell。它作为一个交互式命令行解析器,将字符串输入转换为可执行函数,管理终端会话的生命周期和命令路由。 该框架的特点是基于插件的扩展架构,允许外部模块将新命令、共享行为和完整的命令套件注册到核心环境中。它支持创建具有专门命名空间的自定义 Shell 环境,以及用于持久化用户历史记录和本地键值存储的系统。 该项目提供了全面的命令管理实用工具,包括自动补全、别名支持和可编程帮助系统。它还包括用于动态提示修改、标准输出拦截和交互式用户提示的终端 I/O 控件。错误管理通过全局异常监听器和针对不匹配用户输入的特定触发器来处理。
Implements a promise-based queue for non-blocking execution of commands within the terminal interface.
GitPython is a Python library that provides a programmatic interface for interacting with Git repositories. It functions as a version control API and a wrapper that allows for the execution of Git commands and the manipulation of repository commits, branches, and working trees. The project acts as a Git object manipulator, allowing users to inspect and modify internal data structures and blobs. It provides a structured layer for executing command line instructions with integrated error handling and data retrieval. The library covers a wide range of capabilities including repository initializ
Manages the lifecycle of external system processes to run git commands with custom paths.
forgit 是一个基于 shell 的交互式 CLI 包装器,使用模糊查找器将 Git 输出转换为选择菜单。它充当工作流加速器和历史记录浏览器,用可搜索的界面替换版本控制操作的手动命令输入。 该工具为 Git 工作树提供了专门的管理程序,并为可视化提交日志、引用日志和 blame 数据提供了交互式历史记录浏览器。它通过将原生 Git 子命令封装在选择逻辑中来区分自己,允许用户在执行最终操作之前选择目标。 其功能涵盖交互式文件暂存、分支管理和引导式变基操作(如 cherry-pick 和提交修复)。它还包括用于交互式更改恢复、暂存管理以及生成忽略和属性文件的工具。 该项目通过别名支持原生 Git 子命令集成,并提供 shell 自动补全脚本。命令行为、键盘快捷键和输出分页器的配置通过系统环境变量处理。
Launches native git binaries as subprocesses and captures their output to drive the interactive selection logic.
RxFFmpeg 是一个基于 FFmpeg 的 Android 多媒体框架和媒体转码器。它为 Android 设备提供了一套视频和音频编辑、转码及处理工具。 该框架集成了视频播放器组件,支持本地文件和网络流的渲染,并具备缩放和旋转功能。它还包含用于 Android 视频编辑(如裁剪和拼接)以及 Android 音频处理(如混音和变调)的专用库。 该项目涵盖了广泛的媒体操作能力,包括图像转视频、媒体元数据提取,以及添加字幕和滤镜等视觉效果。它支持音视频分离,以及多媒体文件在不同格式和编解码器之间的转换。
Implements a system to execute FFmpeg native binaries as asynchronous subprocesses with progress tracking.
Phoenix 是一个 macOS 工作区自动化工具和窗口管理器,使用 JavaScript 脚本引擎来控制系统级行为。它作为一个 AppleScript 自动化桥梁,允许用户以编程方式操作应用程序状态、窗口几何形状和桌面交互。 该项目支持通过将键盘快捷键绑定到 JavaScript 函数来创建自定义工作流。这允许自动化复杂的系统操作,例如跨多个屏幕组织应用程序布局和管理虚拟空间。 其功能范围涵盖窗口和应用程序管理、异步 Shell 命令执行和系统级自动化。它还包括用于管理 2D 屏幕坐标、调度循环任务以及通过系统通知和模态窗口与用户交互的实用程序。 该应用支持后台运行的守护进程模式,并监控文件系统以在无需重启的情况下重新加载配置文件。
Runs shell commands and external scripts in background threads to prevent the main execution loop from freezing.
TermKit 是一个用于构建桌面终端环境的框架,采用解耦架构,将 Node.js 后端与基于 WebKit 的前端配对。它作为一个终端模拟器,用能够渲染复杂组件、表格和媒体的富文本用户界面取代了传统的等宽文本缓冲区。 该项目通过基于 MIME 的数据流系统脱颖而出,该系统通过管道路由二进制数据,并使用头部信息自动选择合适的视觉格式化程序进行渲染。它利用基于令牌的命令接口,将输入处理为离散令牌而非原始字符串,从而消除了转义错误并实现了内联自动补全。 该框架提供了异步命令执行和视图管理功能,将前端渲染与后端进程解耦,以防止按键延迟。它还涵盖了自定义 shell 命令开发和基于流的数据交换,以将原生逻辑直接集成到终端环境中。
Runs backend processes independently from the frontend to prevent keystroke lag and maintain UI responsiveness.
本项目是一个全面的 Neovim 配置框架和集成开发环境,采用模块化的 Lua 设置构建。它提供了一个协调编辑器美学、快捷键和插件生命周期的统一工作空间,将编辑器转变为功能齐全的开发环境。 该配置被设计为一个多语言开发环境,专门支持 Python、C++、Lua、Markdown 和 LaTeX。它具有用于多语言代码智能的专用 LSP 客户端配置,以及用于管理版本控制工作流和直接在界面内暂存更改的 Git 集成套件。 该环境涵盖了广泛的能力,包括用于文件和缓冲区发现的模糊搜索、结构化代码导航以及自动化代码片段管理。它还包括用于技术文档编写的布局预览、可视化项目探索以及用于数据结构格式化和文本操作的实用工具。
Implements non-blocking execution of external commands and scripts to maintain a responsive user interface.
earlyoom 是一个 Linux OOM (内存溢出) 杀手守护进程,用于监控系统内存并在必要时终止进程,以防止系统死机。它充当内存资源监控器和进程终止管理器,通过跟踪可用 RAM 和交换空间来确保操作系统的响应能力。 该项目的独特之处在于,它根据进程的驻留集大小 (RSS) 来选择终止目标,而不是仅仅依赖内核的 OOM 分数。它通过基于正则表达式的进程过滤功能提供精细的控制,以保护特定应用程序,并能终止整个进程组,从而确保应用程序被彻底清理。 该系统包含一个通知框架,可在内存达到临界阈值时发送 D-Bus 警报,并支持自定义终止钩子。这些钩子允许在进程被杀死前后执行外部脚本和二进制文件。它还与原生 Linux 内核 OOM 杀手集成,可在需要时将受害者选择权交给操作系统。 该守护进程通过解析内核伪文件系统来提取进程统计信息和内存数据,并通过系统事件日志记录操作事件。
Executes external binaries or scripts as child processes to perform custom cleanup or notifications.
bqplot is an interactive data visualization library for Jupyter notebooks. It implements a grammar of graphics model, allowing users to build complex 2D charts by combining marks, scales, and axes. The library distinguishes itself with specialized toolkits for financial charting, such as OHLC candlesticks and time-series analysis, and geographic data visualization, including choropleths and custom map projections for TopoJSON and GeoJSON data. It enables deep interaction through tools like lasso selection, rectangular brushing, and the ability to manually manipulate plot points or line data.
Groups multiple attribute changes into single network requests to reduce communication overhead between backend and frontend.