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
↓ 1 callers
Method
_shm_for
(self, arr)
src/omnipkg/tests/benchmark_transport.py:354
↓ 1 callers
Method
_should_auto_register_python
Determines if we should auto-register the original Python instead of downloading.
src/omnipkg/core.py:1621
↓ 1 callers
Method
_should_upgrade_safety
(self, current_version: str, latest_version: str)
src/omnipkg/package_meta_builder.py:1205
↓ 1 callers
Method
_should_use_worker_mode
(self, pkg_name: str)
src/omnipkg/loader.py:5618
↓ 1 callers
Method
_should_use_worker_proactively
Decide if we should proactively use worker mode for this package.
src/omnipkg/loader.py:1766
↓ 1 callers
Method
_signal_end
Notify daemon of completion + remove op marker. Always called from finally.
src/omnipkg/installation/installers.py:584
↓ 1 callers
Method
_signal_start
Touch op marker + notify daemon. Returns (daemon_client, op_marker).
src/omnipkg/installation/installers.py:566
↓ 1 callers
Method
_simple_restore_all_cloaks
Final-depth cleanup: restore any remaining cloaks using safe ops.
src/omnipkg/loader.py:4261
↓ 1 callers
Method
_sort_packages_for_install
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:245
↓ 1 callers
Method
_spawn_daemon
(self)
src/omnipkg/isolation/worker_daemon.py:6502
↓ 1 callers
Method
_spawn_process
Starts the raw Python process. Sits waiting for JSON spec.
src/omnipkg/isolation/worker_daemon.py:2637
↓ 1 callers
Function
_stabilize_cpp_psyche
Stabilize TensorFlow's C++ extensions (only if TF is loaded).
src/omnipkg/isolation/patchers.py:609
↓ 1 callers
Function
_stabilize_numpy_array
Ensure numpy array is in a stable state (only if numpy is available).
src/omnipkg/isolation/patchers.py:650
↓ 1 callers
Method
_start_background_cache_refresh
(FIXED) The background refresh now ALSO uses the robust `pip`-based check to prevent it from ever polluting the cache with incompatib
src/omnipkg/core.py:16137
↓ 1 callers
Method
_start_fallback
(self, invalidate_fn)
src/omnipkg/isolation/fs_watcher.py:1071
↓ 1 callers
Method
_start_reaper
(self)
src/omnipkg/isolation/worker_daemon.py:6312
↓ 1 callers
Method
_start_watchdog
(self, invalidate_fn)
src/omnipkg/isolation/fs_watcher.py:1055
↓ 1 callers
Method
_start_windows_daemon
Start daemon on Windows using subprocess.
src/omnipkg/isolation/worker_daemon.py:3764
↓ 1 callers
Method
_start_worker
(self)
src/omnipkg/isolation/workers.py:24
↓ 1 callers
Method
_stash_for_stable_main
Stable-main fast path: instead of install→create_bubble→restore, we: 1. Rename current pkg dirs to *.___stash___ so uv skips uninstal
src/omnipkg/installation/smart_install.py:261
↓ 1 callers
Method
_store_active_versions
(self, active_packages: Dict[str, str])
src/omnipkg/package_meta_builder.py:1179
↓ 1 callers
Method
_store_clean_original_state
Store original state with contamination filtering to prevent cross-version issues.
src/omnipkg/loader.py:905
↓ 1 callers
Method
_store_in_redis
Stores metadata using hash of resolved dist._path
src/omnipkg/package_meta_builder.py:2168
↓ 1 callers
Method
_try_daemon
(self, req: _Req, uv_exe: str, sp)
src/omnipkg/installation/installers.py:332
↓ 1 callers
Method
_try_ffi
Returns (outcome, result_tuple, installed, removed).
src/omnipkg/installation/installers.py:227
↓ 1 callers
Method
_try_pip
(self, req: _Req, sp, unused)
src/omnipkg/installation/installers.py:427
↓ 1 callers
Method
_try_pip_dry_run
(self, package_name: str, version: str)
src/omnipkg/core.py:4550
↓ 1 callers
Method
_try_pip_show_fallback
(self, package_name: str, version: str)
src/omnipkg/core.py:4653
↓ 1 callers
Method
_try_pypi_api
(self, package_name: str, version: str)
src/omnipkg/core.py:4603
↓ 1 callers
Method
_try_uv_subprocess
(self, req: _Req, uv_exe: str, sp)
src/omnipkg/installation/installers.py:378
↓ 1 callers
Method
_uncloak_main_package_if_needed
Restores a cloaked package in the main environment so it can be used.
src/omnipkg/loader.py:1720
↓ 1 callers
Method
_update_default_python_links
Updates the default python/python3 to point to the venv Python.
src/omnipkg/core.py:1498
↓ 1 callers
Method
_update_hash_index_for_delta
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:480
↓ 1 callers
Method
_validate_import
Validate that a package can actually be imported after activation. Special handling for PyTorch which cannot be reloaded.
src/omnipkg/loader.py:5243
↓ 1 callers
Method
_verify_basic_file_integrity
Basic file existence checks (your original logic, kept for completeness)
src/omnipkg/core.py:5168
↓ 1 callers
Method
_verify_group
Verify all packages in a group together IN A STERILE SUBPROCESS. CRITICAL FIX V2: Now includes dependency bubbles so keras can impor
src/omnipkg/installation/verification_strategy.py:268
↓ 1 callers
Method
_verify_importable_or_raise_corrupted
Off hot-path: attempt a quick import of pkg_name and detect the known .so-already-mapped / partial-init / circular-import failures.
src/omnipkg/loader.py:2009
↓ 1 callers
Method
_verify_installation
SMART VERSION: Uses the One True Verifier to check importability.
src/omnipkg/package_meta_builder.py:2382
↓ 1 callers
Method
_verify_package_integrity
ENHANCED VERSION: Now uses the same robust import verification as the main installer. This catches issues like missing flask_login.co
src/omnipkg/core.py:5112
↓ 1 callers
Function
_verify_python_version
Ask the actual Python executable what version it is...
src/omnipkg/dispatcher.py:1277
↓ 1 callers
Method
_verify_version_symlinks_lazy
Lightweight startup check: if the registry has interpreters but their versioned entry-point symlinks are missing or broken, recreate
src/omnipkg/core.py:397
↓ 1 callers
Function
_versioned_cmd
Return the versioned command name: 3.9 -> 8pkg39, 3.10 -> 8pkg310, etc.
src/omnipkg/tests/test_concurrent_install.py:470
↓ 1 callers
Method
_wait_for_socket
Fixed version that works on Windows and Unix Wait for daemon to be ready to accept connections
src/omnipkg/isolation/worker_daemon.py:6553
↓ 1 callers
Function
_wipe_dir_contents
(d: Path)
src/omnipkg/integration/reproducible.py:2416
↓ 1 callers
Function
_wipe_site_packages
(sp: Path, keep_omnipkg: bool = True)
src/omnipkg/integration/reproducible.py:2385
↓ 1 callers
Function
_worker_emit
Write one JSON line to the real stdout pipe, bypassing StreamRedirector.
src/omnipkg/common_utils.py:765
↓ 1 callers
Function
_worker_read_reply
Read one JSON line from worker stdin (the daemon reply channel). The daemon writes to worker.process.stdin (also text mode) after receiving t
src/omnipkg/common_utils.py:771
↓ 1 callers
Function
_write_build_manifest_hooks
(ver=None)
build_hooks.py:196
↓ 1 callers
Function
_write_install_stamp
(ver=None)
build_hooks.py:178
↓ 1 callers
Method
acquire_atomic_spinlock
Spinlock using LOCK CMPXCHG. Protocol: We only lock if Version is EVEN. Action: CAS(Current, Current + 1). Returns: T
src/omnipkg/isolation/worker_daemon.py:448
↓ 1 callers
Method
activate
Activate the omnipkg environment
src/omnipkg/integration/environment.py:124
↓ 1 callers
Function
adopt_if_needed
(version: str, poll_interval: float = 5.0, timeout: float = 300.0)
src/omnipkg/tests/test_concurrent_install.py:139
↓ 1 callers
Function
auto_patch_flask_port
Automatically patch Flask code to use an available port.
src/omnipkg/utils/flask_port_finder.py:403
↓ 1 callers
Function
base_of
basename without modifying input */
src/omnipkg/dispatcher.c:402
↓ 1 callers
Method
block_until_clean
Block the calling thread until the dirty flag is cleared. Called by the UV worker BEFORE invoking FFI. Returns immediately if
src/omnipkg/isolation/fs_watcher.py:206
↓ 1 callers
Function
calculate_efficiency_metrics
(workers_dict, total_ram_mb, total_gpu_mb, avg_startup_ms=None)
src/omnipkg/isolation/resource_monitor.py:305
↓ 1 callers
Method
check_compatibility
Check if package has known compatibility issues Args: package: Package name python_version: e.g. "3.11"
src/omnipkg/installation/metadata_cache.py:176
↓ 1 callers
Function
check_package_installed
Check if a specific package version is installed in the target python environment by running an isolated subprocess.
src/omnipkg/tests/test_version_combos.py:93
↓ 1 callers
Function
check_python_compatibility
Check if current Python version can run the old flask-login version.
src/omnipkg/tests/test_old_flask.py:101
↓ 1 callers
Function
check_python_version
Check if a Python version is available via ConfigManager.
src/omnipkg/tests/test_loader_stress_test.py:2722
↓ 1 callers
Function
check_site_for_rich
()
tests/diag_uv_ffi.py:45
↓ 1 callers
Function
clean_and_validate
🔒 ENHANCED VALIDATOR v4 - Non-Interactive Friendly Security features: - Whitelist-based command validation - Argument pattern matchi
src/omnipkg/apis/local_bridge.py:214
↓ 1 callers
Function
clean_site_rich
()
tests/diag_uv_ffi.py:53
↓ 1 callers
Function
cleanup
Skips cleanup to leave packages installed for faster re-testing.
src/omnipkg/tests/test_version_combos.py:371
↓ 1 callers
Method
cleanup
Removes any temporary backup files.
src/omnipkg/CondaGuard.py:108
↓ 1 callers
Method
cleanup_orphans
Remove orphaned shared memory blocks from /dev/shm/.
src/omnipkg/isolation/worker_daemon.py:860
↓ 1 callers
Method
clear_expired_cache
Remove all expired entries from cache.
src/omnipkg/core.py:16948
↓ 1 callers
Function
clear_screen
()
src/omnipkg/isolation/resource_monitor.py:298
↓ 1 callers
Function
cli_idle_config
Configure idle worker pools.
src/omnipkg/isolation/worker_daemon.py:8022
↓ 1 callers
Function
compile_bootstrap
()
src/omnipkg/windows_bootstrap/launcher.py:31
↓ 1 callers
Method
connect_to_daemon
Client function to connect to daemon (works on both platforms)
src/omnipkg/isolation/worker_daemon.py:4046
↓ 1 callers
Function
corsResponse
(body, origin, isAllowed)
cloud/worker.js:111
↓ 1 callers
Function
createRunButton
(command)
docs/assets/js/interact.js:218
↓ 1 callers
Function
createStaticButton
()
docs/assets/js/interact.js:244
↓ 1 callers
Function
createStatusBanner
()
docs/assets/js/interact.js:103
↓ 1 callers
Function
createStreamingModal
(cmd)
docs/assets/js/interact.js:439
↓ 1 callers
Function
createUpgradeNotice
()
docs/assets/js/interact.js:64
↓ 1 callers
Function
create_app
Creates the Flask application with telemetry support.
src/omnipkg/apis/local_bridge.py:399
↓ 1 callers
Method
create_bubble_for_package
Creates a complete, isolated bubble for a package, including all its dependencies. For editable/dev installs, copies directly from th
src/omnipkg/core.py:4268
↓ 1 callers
Method
create_isolated_bubble
--- [REWRITTEN] --- Creates an isolated bubble by using the new unified, safe installation workflow.
src/omnipkg/core.py:3726
↓ 1 callers
Function
create_subprocess_script_with_config
Creates a temporary Python script that loads config from a file. This is the PROPER way to pass config to subprocess scripts - no string esc
src/omnipkg/common_utils.py:223
↓ 1 callers
Function
create_test_bubbles
(omnipkg_core: OmnipkgCore)
src/omnipkg/tests/test_uv_switching.py:112
↓ 1 callers
Method
create_wrapper
Create a wrapper script for a CLI tool that auto-heals conflicts
src/omnipkg/integration/environment.py:75
↓ 1 callers
Function
daemon_profile_analysis
Run cProfile INSIDE the worker process for each transport path. All four probes use execute_shm so the result dict comes back intact. Th
src/omnipkg/tests/benchmark_transport.py:729
↓ 1 callers
Method
deactivate
Clean up the environment
src/omnipkg/integration/environment.py:219
↓ 1 callers
Method
delete
(self, *keys)
src/omnipkg/cache.py:239
↓ 1 callers
Method
detect_cli_conflicts
Detect version conflicts for a CLI tool and its dependencies
src/omnipkg/integration/cli_executor.py:69
↓ 1 callers
Method
detect_failure
Check if UV output contains dependency resolution failure
src/omnipkg/common_utils.py:392
↓ 1 callers
Method
detect_hallucinated_imports
Find all hallucinated import lines. Returns: List of (line, module_name, is_obvious) tuples
src/omnipkg/utils/ai_import_healer.py:240
↓ 1 callers
Function
detect_loader_hints
Detect and add all loader hint specs to healing plan
src/omnipkg/commands/run.py:67
↓ 1 callers
Function
detect_torch_cuda_ipc_mode
()
src/omnipkg/isolation/worker_daemon.py:5719
↓ 1 callers
Function
detect_venv_root
Detect the omnipkg venv root from env or config.
src/omnipkg/tests/test_multiverse_healing.py:25
↓ 1 callers
Method
discover_cli_tools
Find all CLI tools installed in the current environment
src/omnipkg/integration/environment.py:46
↓ 1 callers
Method
doctor
Diagnoses and repairs a corrupted environment. Phase 0: heal broken metadata (missing METADATA files in dist-info dirs) Phase
src/omnipkg/core.py:9411
↓ 1 callers
Method
doctor
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:492
↓ 1 callers
Function
emit_utf8_buf
Emit a UTF-8 codepoint into a growable buffer. */
src/omnipkg/dispatcher.c:763
↓ 1 callers
Function
ensure_bubbles
(config_manager: ConfigManager)
src/omnipkg/tests/test_tensorflow_switching.py:149
↓ 1 callers
Function
ensure_daemon_running
Ensures the worker daemon is up and running.
src/omnipkg/tests/test_rich_switching.py:31
↓ 1 callers
Function
ensure_daemon_running
Start daemon if not running, then wait until it has spawned idle workers for ALL of the given interpreter paths. Must be called AFTER all pyt
src/omnipkg/tests/test_concurrent_install.py:171
↓ 1 callers
Function
ensure_jax_jaxlib_pairing
Ensures JAX and JAXlib are always paired with matching versions. Strategy: 1. If user specified jax version -> use it as master, ensure j
src/omnipkg/commands/run.py:84
← previous
next →
801–900 of 1,775, ranked by callers