Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1minds3t/omnipkg
/ functions
Functions
1,775 in github.com/1minds3t/omnipkg
⨍
Functions
1,775
◇
Types & classes
163
↳
Endpoints
4
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
Method
acquired
(self)
src/omnipkg/isolation/fs_lock_queue.py:156
Function
activate
Activate omnipkg environment for transparent conflict resolution Once activated, ALL CLI commands automatically resolve conflicts. You n
src/omnipkg/integration/ci_integration.py:50
Function
add_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
Method
add_directory
(self, sp_dir: str)
src/omnipkg/isolation/fs_watcher.py:1079
Method
allocate
(i)
tests/test_flask_port_finder.py:180
Method
allocate_port
(thread_id)
src/omnipkg/utils/flask_port_finder.py:436
Method
allocate_port
()
src/omnipkg/tests/test_flask_port_finder.py:170
Function
apply_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
Method
async_shutdown
()
src/omnipkg/isolation/worker_daemon.py:5358
Function
atomic_cas64
src/omnipkg/isolation/atomic_ops.c:10
Function
atomic_load64
src/omnipkg/isolation/atomic_ops.c:26
Function
atomic_store64
src/omnipkg/isolation/atomic_ops.c:18
Method
attach
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
Method
background_refresh
()
src/omnipkg/core.py:16143
Function
benchmark_execution
(config: tuple, thread_id: int, warmup_data: dict)
src/omnipkg/tests/test_concurrent_install.py:312
Method
bruteforce_compatibility_matrix
Brute force test all combinations of packages vs system library versions. This builds the authoritative compatibility database.
src/omnipkg/libresolver.py:558
Function
bubble_dir
Provides a fresh tmp dir standing in for a bubble target.
tests/test_uv_ffi_contracts.py:145
Method
bubble_manager
(self)
src/omnipkg/installation/smart_install.py:211
Function
build_editable
(wheel_directory, config_settings=None, metadata_directory=None)
build_hooks.py:317
Method
build_extension
(self, ext)
setup.py:669
Function
build_wheel
(wheel_directory, config_settings=None, metadata_directory=None)
build_hooks.py:344
Method
call
(self, arr)
src/omnipkg/tests/benchmark_transport.py:263
Method
call
(self, arr)
src/omnipkg/tests/benchmark_transport.py:284
Method
call
(self, arr)
src/omnipkg/tests/benchmark_transport.py:312
Method
call
(self, arr)
src/omnipkg/tests/benchmark_transport.py:335
Method
call
(self, arr)
src/omnipkg/tests/benchmark_transport.py:361
Method
call
(self, arr)
src/omnipkg/tests/benchmark_transport.py:411
Method
call
(self, arr)
src/omnipkg/tests/benchmark_transport.py:483
Method
capture_plan
(entries)
tests/test_uv_ffi_contracts.py:625
Function
cas64
(addr, expected, desired)
src/omnipkg/isolation/__init__.py:20
Function
cb
(entries)
tests/diag_uv_ffi.py:115
Function
cb2
(entries)
tests/diag_uv_ffi.py:168
Function
chaos_test_10_grand_finale
🎆 TEST 10: GRAND FINALE - Everything at once
src/omnipkg/tests/test_loader_stress_test.py:1287
Function
chaos_test_11_tensorflow_resurrection
⚰️ TEST 11: TENSORFLOW RESURRECTION ULTIMATE
src/omnipkg/tests/test_loader_stress_test.py:1339
Function
chaos_test_12_jax_vs_torch_mortal_kombat
🥊 TEST 12: TRUE TORCH VERSION SWITCHING - Daemon Edition
src/omnipkg/tests/test_loader_stress_test.py:1599
Function
chaos_test_13_pytorch_lightning_storm
⚡ TEST 13: PyTorch Lightning Storm - Using Daemon Workers
src/omnipkg/tests/test_loader_stress_test.py:1694
Function
chaos_test_14_circular_dependency_hell
⭕ TEST 14: Create actual circular imports between bubbles
src/omnipkg/tests/test_loader_stress_test.py:1967
Function
chaos_test_15_isolation_strategy_benchmark
⚡ TEST 15: COMPREHENSIVE ISOLATION STRATEGY BENCHMARK
src/omnipkg/tests/test_loader_stress_test.py:2125
Function
chaos_test_16_nested_reality_hell
🧬 TEST 16: NESTED REALITY HELL
src/omnipkg/tests/test_loader_stress_test.py:2436
Function
chaos_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
Function
chaos_test_18_worker_pool_drag_race
🏎️ TEST 18: HFT SIMULATION - High Frequency Worker Swapping
src/omnipkg/tests/test_loader_stress_test.py:3269
Function
chaos_test_19_zero_copy_hft
🚀 TEST 19: ZERO-COPY vs JSON (10MB BENCHMARK)
src/omnipkg/tests/test_loader_stress_test.py:3388
Function
chaos_test_1_version_tornado
🌪️ TEST 1: VERSION TORNADO - Compare Legacy vs Daemon WITH WARMUP
src/omnipkg/tests/test_loader_stress_test.py:143
Function
chaos_test_20_gpu_resident_pipeline
🔥 GPU-RESIDENT ZERO-COPY: Data never leaves VRAM!
src/omnipkg/tests/test_loader_stress_test.py:3465
Function
chaos_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
Function
chaos_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
Function
chaos_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
Function
chaos_test_2_dependency_inception
🎭 TEST 2: DEPENDENCY INCEPTION - BENCHMARK EDITION
src/omnipkg/tests/test_loader_stress_test.py:397
Function
chaos_test_3_framework_battle_royale
⚔️ TEST 3: FRAMEWORK BATTLE ROYALE (DAEMON EDITION)
src/omnipkg/tests/test_loader_stress_test.py:591
Function
chaos_test_4_memory_madness
🧠 TEST 4: MEMORY MADNESS - Allocate everywhere
src/omnipkg/tests/test_loader_stress_test.py:915
Function
chaos_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
Function
chaos_test_6_version_time_machine
⏰ TEST 6: VERSION TIME MACHINE - Past, present, future
src/omnipkg/tests/test_loader_stress_test.py:1091
Function
chaos_test_7_dependency_jenga
🎲 TEST 7: DEPENDENCY JENGA - Remove pieces carefully
src/omnipkg/tests/test_loader_stress_test.py:1123
Function
chaos_test_8_quantum_superposition
⚛️ TEST 8: QUANTUM SUPERPOSITION - Multiple states at once
src/omnipkg/tests/test_loader_stress_test.py:1158
Function
chaos_test_9_import_hell
🔥 TEST 9: IMPORT HELL - Conflicting imports everywhere
src/omnipkg/tests/test_loader_stress_test.py:1196
Function
chaotic_worker
(thread_id)
src/omnipkg/tests/test_loader_stress_test.py:995
Method
check_daemon_running
Check if daemon is running by attempting connection Returns True if daemon responds, False otherwise
src/omnipkg/isolation/worker_daemon.py:4089
Function
check_disk_space
Ensure we have enough disk space before verification.
src/omnipkg/installation/verification_hooks.py:111
Method
check_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
Method
cleanup_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
Method
cleanup_old_bubbles
Cleanup old bubbles based on size and age, keeping most recent ones.
src/omnipkg/core.py:5979
Function
clear_hooks
Clear registered hooks. Args: hook_type: Specific type to clear, or None to clear all
src/omnipkg/installation/verification_hooks.py:234
Method
collect
(self)
conftest.py:13
Method
create_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
Method
create_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
Method
current_python_context
(self)
src/omnipkg/core.py:7425
Function
daemon_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
Function
deactivate
Deactivate and clean up omnipkg environment
src/omnipkg/integration/ci_integration.py:69
Method
debug_omnipkg_dependencies
Debug helper to show detected omnipkg dependencies.
src/omnipkg/loader.py:5069
Function
debug_python_context
Print comprehensive Python context information for debugging.
src/omnipkg/cli.py:108
Function
debug_python_context
Print comprehensive Python context information for debugging.
src/omnipkg/common_utils.py:416
Method
debug_sys_path
Debug helper to print current sys.path state.
src/omnipkg/loader.py:5060
Method
debug_version_compatibility
Debug helper to check version compatibility of current paths.
src/omnipkg/loader.py:4509
Function
decorator
(func: Callable)
src/omnipkg/installation/verification_hooks.py:72
Method
delete
(self, *keys)
src/omnipkg/cache.py:400
Function
diagnose_worker_issue
Run this to diagnose why a worker might return the wrong version.
src/omnipkg/isolation/worker_daemon.py:2522
Method
disable_profiling
Disable profiling
src/omnipkg/loader.py:474
Method
discover_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
Function
dispatcher
()
tests/test_dispatcher_contracts.py:61
Function
emit_utf8
Encode a Unicode codepoint as UTF-8 and write to out. */
src/omnipkg/dispatcher.c:717
Method
enable_profiling
Enable profiling for all loaders
src/omnipkg/loader.py:468
Method
end_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
Method
end_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
Method
end_omnipkg_op
Broadcasts the end of an op and the official changelog for validation.
src/omnipkg/isolation/fs_watcher.py:1102
Method
end_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
Function
enforce_origin
()
src/omnipkg/apis/local_bridge.py:434
Function
ensure_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
Function
escapeHtml
(text)
docs/assets/js/interact.js:24
Method
execute
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
← previous
next →
1,301–1,400 of 1,775, ranked by callers