5 مستودعات
Mechanisms for controlling the execution of main application functions based on subcommand presence.
Distinct from Subcommand Registration: Distinct from Subcommand Registration: focuses on the execution flow control of callbacks.
Explore 5 awesome GitHub repositories matching development tools & productivity · Callback Execution Controllers. Refine with filters or upvote what's useful.
This project is a Python framework for building command-line interfaces by converting standard functions into executable programs. It uses type hints to automatically infer and generate argument parsers, validation logic, and help documentation, allowing developers to define complex terminal applications through simple function signatures. The framework distinguishes itself through a decorator-driven registration system that enables the construction of hierarchical command trees. It supports dependency injection to manage shared state and runtime configuration across subcommands, and it utili
Controls whether main application functions run based on the presence of subcommands.
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
Caps the execution time of callbacks to prevent a single task from monopolizing the CPU.
Tape is a TAP-producing test framework for Node.js that provides assertions, spies, subtests, and isolated test harnesses. It functions as both a test runner and an assertion library, outputting results in the Test Anything Protocol format for machine or human consumption. The framework manages test execution through callback-based async control, plan-based auto termination, and subtest stack isolation. It includes a spy wrapper system that replaces object methods with call-recording wrappers that restore originals during teardown, along with a teardown callback registry that collects and exe
Provides callback-based async control for managing test lifecycle and completion signals.
CLI11 هي مكتبة C++ تعتمد على ملفات الرأس فقط (header-only) لتحليل وسائط سطر الأوامر وإدارة ملفات التكوين. تقوم بربط مدخلات الصدفة (shell) بمتغيرات ذات أنواع محددة وتدعم إنشاء تسلسلات هرمية معقدة للأوامر. تتميز المكتبة بدعمها للأوامر الفرعية المتداخلة بعمق غير محدود ومطابقة البادئات. تدمج إدارة التكوين من خلال السماح بتحميل إعدادات التطبيق من ملفات TOML أو INI، مع القدرة على الرجوع إلى متغيرات البيئة. يوفر المشروع مجموعة شاملة من الأدوات لتحليل الوسائط، بما في ذلك الأعلام (flags) والوسائط الموضعية، إلى جانب إطار عمل للتحقق لفرض الخيارات الإلزامية والاعتمادات المتبادلة. كما يتضمن توليداً تلقائياً لوثائق المساعدة مع تنسيق قابل للتخصيص ونظام رد نداء (callback) لتشغيل منطق مخصص خلال مراحل تحليل معينة. هذه المكتبة خالية من الاعتمادات ومصممة لـ C++11 والإصدارات الأحدث.
Triggers specific callback functions immediately after a subcommand and its associated options are parsed.
QUnit هو إطار عمل لاختبار الوحدات (unit testing) في JavaScript مصمم للتحقق من سلوك الكود باستخدام التأكيدات وخطافات دورة الحياة عبر المتصفحات وبيئات تشغيل الخادم. يعمل كعداء اختبار قائم على المتصفح مع واجهة HTML لإعداد التقارير، ومنسق اختبار غير متزامن لتنسيق ردود الاتصال، وأداة لعزل والتحقق من تغييرات نموذج كائن المستند (DOM). يتميز إطار العمل بقدرات اختبار DOM متخصصة، مما يسمح بعزل وإعادة تعيين نموذج كائن المستند بين الاختبارات لضمان الذرية (atomicity). كما يتميز بنظام لاكتشاف تسريبات الحالة العامة من خلال مراقبة كائن window ويوفر القدرة على تنفيذ مجموعات الاختبار في بيئات بدون واجهة (headless) للأتمتة في الخلفية. يغطي المشروع مجموعة واسعة من قدرات الاختبار، بما في ذلك التحقق من سير العمل غير المتزامن، واختبار التوافق عبر بيئات التشغيل، وإنشاء تأكيدات مخصصة. ويدعم تنظيم الاختبار من خلال الوحدات، وتنفيذ خطافات دورة حياة الإعداد والإزالة، وإنشاء تغطية الكود وتقارير الاختبار القياسية. يمكن للمستخدمين تنفيذ الاختبارات عبر واجهة المتصفح أو محطة سطر الأوامر مع دعم لمراقبة الملفات وتصفية الاختبار البرمجية.
Provides mechanisms to control the execution of asynchronous tests using completion callbacks.