MCPcopy Create free account

hub / github.com/1minds3t/omnipkg / functions

Functions1,775 in github.com/1minds3t/omnipkg

Method_start_worker
Start worker process with proper error handling.
src/omnipkg/isolation/worker_daemon.py:3058
Method_stream_logs
Streams stderr from worker to console in real-time.
src/omnipkg/isolation/workers.py:215
Function_tensor_to_numpy_stabilized
Stabilized tensor to numpy conversion (with graceful fallback).
src/omnipkg/isolation/patchers.py:627
Method_tp
(label, t)
src/omnipkg/core.py:3884
Method_tp
(label, t)
src/omnipkg/installation/smart_install.py:665
Function_tprint
(label: str, t0: float)
src/omnipkg/installation/smart_install.py:60
Method_trigger_process_reexec
NUCLEAR OPTION: The current process is corrupted (likely C++ extension state). We restart the entire script from scratch to clear the
src/omnipkg/loader.py:5421
Method_update_hash_index_for_delta
Surgically updates the cached hash index in Redis after an install.
src/omnipkg/core.py:9947
Method_validate_instance_integrity
Simplified validation, as path context is handled by the main sync logic.
src/omnipkg/core.py:8755
Method_warmup_workers
Pre-warm popular packages to reduce latency.
src/omnipkg/isolation/worker_daemon.py:3932
Function_xla_computation_stub
(*args, **kwargs)
src/omnipkg/isolation/patchers.py:782
Methodacquired
(self)
src/omnipkg/isolation/fs_lock_queue.py:156
Functionactivate
Activate omnipkg environment for transparent conflict resolution Once activated, ALL CLI commands automatically resolve conflicts. You n
src/omnipkg/integration/ci_integration.py:50
Functionadd_custom_nuke_pattern
Add a custom pattern to the nuke list. Args: pattern: Regex pattern (case-insensitive) to filter from stderr
src/omnipkg/utils/warning_silencer.py:150
Methodadd_directory
(self, sp_dir: str)
src/omnipkg/isolation/fs_watcher.py:1079
Methodallocate
(i)
tests/test_flask_port_finder.py:180
Methodallocate_port
(thread_id)
src/omnipkg/utils/flask_port_finder.py:436
Methodallocate_port
()
src/omnipkg/tests/test_flask_port_finder.py:170
Functionapply_dependency_constraints
Apply known dependency constraints to a dependency list. Args: package_name: Name of the package being installed version: Ver
src/omnipkg/installation/dependency_constraints.py:109
Methodasync_shutdown
()
src/omnipkg/isolation/worker_daemon.py:5358
Functionatomic_cas64
src/omnipkg/isolation/atomic_ops.c:10
Functionatomic_load64
src/omnipkg/isolation/atomic_ops.c:26
Functionatomic_store64
src/omnipkg/isolation/atomic_ops.c:18
Methodattach
Attach to an existing block. Returns None if the watcher isn't running. Workers call this at startup. If it returns None, the watcher
src/omnipkg/isolation/fs_watcher.py:168
Methodbackground_refresh
()
src/omnipkg/core.py:16143
Functionbenchmark_execution
(config: tuple, thread_id: int, warmup_data: dict)
src/omnipkg/tests/test_concurrent_install.py:312
Methodbruteforce_compatibility_matrix
Brute force test all combinations of packages vs system library versions. This builds the authoritative compatibility database.
src/omnipkg/libresolver.py:558
Functionbubble_dir
Provides a fresh tmp dir standing in for a bubble target.
tests/test_uv_ffi_contracts.py:145
Methodbubble_manager
(self)
src/omnipkg/installation/smart_install.py:211
Functionbuild_editable
(wheel_directory, config_settings=None, metadata_directory=None)
build_hooks.py:317
Methodbuild_extension
(self, ext)
setup.py:669
Functionbuild_wheel
(wheel_directory, config_settings=None, metadata_directory=None)
build_hooks.py:344
Methodcall
(self, arr)
src/omnipkg/tests/benchmark_transport.py:263
Methodcall
(self, arr)
src/omnipkg/tests/benchmark_transport.py:284
Methodcall
(self, arr)
src/omnipkg/tests/benchmark_transport.py:312
Methodcall
(self, arr)
src/omnipkg/tests/benchmark_transport.py:335
Methodcall
(self, arr)
src/omnipkg/tests/benchmark_transport.py:361
Methodcall
(self, arr)
src/omnipkg/tests/benchmark_transport.py:411
Methodcall
(self, arr)
src/omnipkg/tests/benchmark_transport.py:483
Methodcapture_plan
(entries)
tests/test_uv_ffi_contracts.py:625
Functioncas64
(addr, expected, desired)
src/omnipkg/isolation/__init__.py:20
Functioncb
(entries)
tests/diag_uv_ffi.py:115
Functioncb2
(entries)
tests/diag_uv_ffi.py:168
Functionchaos_test_10_grand_finale
🎆 TEST 10: GRAND FINALE - Everything at once
src/omnipkg/tests/test_loader_stress_test.py:1287
Functionchaos_test_11_tensorflow_resurrection
⚰️ TEST 11: TENSORFLOW RESURRECTION ULTIMATE
src/omnipkg/tests/test_loader_stress_test.py:1339
Functionchaos_test_12_jax_vs_torch_mortal_kombat
🥊 TEST 12: TRUE TORCH VERSION SWITCHING - Daemon Edition
src/omnipkg/tests/test_loader_stress_test.py:1599
Functionchaos_test_13_pytorch_lightning_storm
⚡ TEST 13: PyTorch Lightning Storm - Using Daemon Workers
src/omnipkg/tests/test_loader_stress_test.py:1694
Functionchaos_test_14_circular_dependency_hell
⭕ TEST 14: Create actual circular imports between bubbles
src/omnipkg/tests/test_loader_stress_test.py:1967
Functionchaos_test_15_isolation_strategy_benchmark
⚡ TEST 15: COMPREHENSIVE ISOLATION STRATEGY BENCHMARK
src/omnipkg/tests/test_loader_stress_test.py:2125
Functionchaos_test_16_nested_reality_hell
🧬 TEST 16: NESTED REALITY HELL
src/omnipkg/tests/test_loader_stress_test.py:2436
Functionchaos_test_17_triple_python_multiverse
🌌 TEST 17: TRIPLE PYTHON MULTIVERSE - THE ULTIMATE DEMO This test does something LITERALLY IMPOSSIBLE anywhere else: - 3 different Python int
src/omnipkg/tests/test_loader_stress_test.py:2619
Functionchaos_test_18_worker_pool_drag_race
🏎️ TEST 18: HFT SIMULATION - High Frequency Worker Swapping
src/omnipkg/tests/test_loader_stress_test.py:3269
Functionchaos_test_19_zero_copy_hft
🚀 TEST 19: ZERO-COPY vs JSON (10MB BENCHMARK)
src/omnipkg/tests/test_loader_stress_test.py:3388
Functionchaos_test_1_version_tornado
🌪️ TEST 1: VERSION TORNADO - Compare Legacy vs Daemon WITH WARMUP
src/omnipkg/tests/test_loader_stress_test.py:143
Functionchaos_test_20_gpu_resident_pipeline
🔥 GPU-RESIDENT ZERO-COPY: Data never leaves VRAM!
src/omnipkg/tests/test_loader_stress_test.py:3465
Functionchaos_test_21_gpu_resident_pipeline
TEST 21: 🔥 GPU-RESIDENT MULTI-VERSION PIPELINE 📍 PHASE 4: Zero-Copy Data Pipeline NOW ACTUALLY USES PyTorch 1.13's native CUDA IPC!
src/omnipkg/tests/test_loader_stress_test.py:3651
Functionchaos_test_22_complete_ipc_benchmark
TEST 22: 🔥 COMPLETE IPC MODE BENCHMARK Compares ALL 4 execution modes: 1. Universal CUDA IPC - Pure GPU, zero-copy (ctypes) 2. PyTor
src/omnipkg/tests/test_loader_stress_test.py:3874
Functionchaos_test_23_grand_unified_benchmark
TEST 23: 🏆 THE GRAND UNIFIED BENCHMARK The Final Showdown: 1. 🐢 The "Lame" Way: Traditional Subprocess + Pickle (The standard industry a
src/omnipkg/tests/test_loader_stress_test.py:4248
Functionchaos_test_2_dependency_inception
🎭 TEST 2: DEPENDENCY INCEPTION - BENCHMARK EDITION
src/omnipkg/tests/test_loader_stress_test.py:397
Functionchaos_test_3_framework_battle_royale
⚔️ TEST 3: FRAMEWORK BATTLE ROYALE (DAEMON EDITION)
src/omnipkg/tests/test_loader_stress_test.py:591
Functionchaos_test_4_memory_madness
🧠 TEST 4: MEMORY MADNESS - Allocate everywhere
src/omnipkg/tests/test_loader_stress_test.py:915
Functionchaos_test_5_race_condition_roulette
🎰 TEST 5: RACE CONDITION ROULETTE - ZERO-COPY SHM EDITION (WARMED + HEAVIER LOAD)
src/omnipkg/tests/test_loader_stress_test.py:942
Functionchaos_test_6_version_time_machine
⏰ TEST 6: VERSION TIME MACHINE - Past, present, future
src/omnipkg/tests/test_loader_stress_test.py:1091
Functionchaos_test_7_dependency_jenga
🎲 TEST 7: DEPENDENCY JENGA - Remove pieces carefully
src/omnipkg/tests/test_loader_stress_test.py:1123
Functionchaos_test_8_quantum_superposition
⚛️ TEST 8: QUANTUM SUPERPOSITION - Multiple states at once
src/omnipkg/tests/test_loader_stress_test.py:1158
Functionchaos_test_9_import_hell
🔥 TEST 9: IMPORT HELL - Conflicting imports everywhere
src/omnipkg/tests/test_loader_stress_test.py:1196
Functionchaotic_worker
(thread_id)
src/omnipkg/tests/test_loader_stress_test.py:995
Methodcheck_daemon_running
Check if daemon is running by attempting connection Returns True if daemon responds, False otherwise
src/omnipkg/isolation/worker_daemon.py:4089
Functioncheck_disk_space
Ensure we have enough disk space before verification.
src/omnipkg/installation/verification_hooks.py:111
Methodcheck_package_installed_fast
Ultra-fast package check with nanosecond precision timing. - Uses time.perf_counter_ns() for the highest resolution clock. -
src/omnipkg/core.py:11640
Methodcleanup_abandoned_cloaks
Utility method to clean up any abandoned cloak files. Can be called manually if you suspect there are leftover cloaks.
src/omnipkg/loader.py:4653
Methodcleanup_old_bubbles
Cleanup old bubbles based on size and age, keeping most recent ones.
src/omnipkg/core.py:5979
Functionclear_hooks
Clear registered hooks. Args: hook_type: Specific type to clear, or None to clear all
src/omnipkg/installation/verification_hooks.py:234
Methodcollect
(self)
conftest.py:13
Methodcreate_bubble_from_main_env
Creates a bubble by copying the package and its co-located dependencies from the current main environment. Used after Time Machine in
src/omnipkg/core.py:3795
Methodcreate_default_config
Create a default package_index_registry.json file for user customization. Returns: True if created successfully, False o
src/omnipkg/installation/package_index_registry.py:122
Methodcurrent_python_context
(self)
src/omnipkg/core.py:7425
Functiondaemon_client
Return a live DaemonClient for the whole test session. Start the daemon if it is not already running. The fixture does NOT stop the daem
tests/test_omnipkg_contracts.py:109
Functiondeactivate
Deactivate and clean up omnipkg environment
src/omnipkg/integration/ci_integration.py:69
Methoddebug_omnipkg_dependencies
Debug helper to show detected omnipkg dependencies.
src/omnipkg/loader.py:5069
Functiondebug_python_context
Print comprehensive Python context information for debugging.
src/omnipkg/cli.py:108
Functiondebug_python_context
Print comprehensive Python context information for debugging.
src/omnipkg/common_utils.py:416
Methoddebug_sys_path
Debug helper to print current sys.path state.
src/omnipkg/loader.py:5060
Methoddebug_version_compatibility
Debug helper to check version compatibility of current paths.
src/omnipkg/loader.py:4509
Functiondecorator
(func: Callable)
src/omnipkg/installation/verification_hooks.py:72
Methoddelete
(self, *keys)
src/omnipkg/cache.py:400
Functiondiagnose_worker_issue
Run this to diagnose why a worker might return the wrong version.
src/omnipkg/isolation/worker_daemon.py:2522
Methoddisable_profiling
Disable profiling
src/omnipkg/loader.py:474
Methoddiscover_all_packages
Authoritatively discovers all active and bubbled packages from the file system, and cleans up any "ghost" entries from the Redis inde
src/omnipkg/package_meta_builder.py:1123
Functiondispatcher
()
tests/test_dispatcher_contracts.py:61
Functionemit_utf8
Encode a Unicode codepoint as UTF-8 and write to out. */
src/omnipkg/dispatcher.c:717
Methodenable_profiling
Enable profiling for all loaders
src/omnipkg/loader.py:468
Methodend_omnipkg_op
Validates any queued FS events against the official changelog. Only processes events that happened in this handler's directory.
src/omnipkg/isolation/fs_watcher.py:320
Methodend_omnipkg_op
Called with the FFI's official changelog once the op completes. We diff _pre_op_snapshot against the freshly-read post-op state.
src/omnipkg/isolation/fs_watcher.py:797
Methodend_omnipkg_op
Broadcasts the end of an op and the official changelog for validation.
src/omnipkg/isolation/fs_watcher.py:1102
Methodend_omnipkg_op
Signals the FS watcher that a long Omnipkg install has ENDED, providing the official changelog from the FFI for validation.
src/omnipkg/isolation/worker_daemon.py:6491
Functionenforce_origin
()
src/omnipkg/apis/local_bridge.py:434
Functionensure_script_is_running_on_version
A declarative guard placed at the start of a script. It ensures the script is running on a specific Python version. If not, it uses the omnip
src/omnipkg/common_utils.py:499
FunctionescapeHtml
(text)
docs/assets/js/interact.js:24
Methodexecute
Execute code either in worker or in-process depending on mode. This provides a unified interface regardless of activation strategy.
src/omnipkg/loader.py:6030
← previousnext →1,301–1,400 of 1,775, ranked by callers