MCPcopy Create free account

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

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

↓ 3 callersFunction_load_global_registry
()
src/omnipkg/integration/reproducible.py:1160
↓ 3 callersFunction_make_harness
(body: str, pre_setup: str = "pass")
src/omnipkg/tests/benchmark_transport.py:784
↓ 3 callersMethod_panic_restore_cloaks
Emergency cloak restoration - always cleanup since this is an error path.
src/omnipkg/loader.py:3718
↓ 3 callersFunction_patch_numpy_for_tf_recursion
Applies a patch to numpy.issubdtype to prevent infinite recursion when used with certain versions of TensorFlow.
src/omnipkg/isolation/patchers.py:201
↓ 3 callersFunction_probe_then_run
(proxy, ver, op_code, step_name)
src/omnipkg/tests/test_loader_stress_test.py:1482
↓ 3 callersFunction_prof
Lightweight timing printer; no-op unless UV_FFI_PROFILE=1.
src/omnipkg/core.py:99
↓ 3 callersMethod_quick_compatibility_check
(self, package_name: str, version_to_test: str = None)
src/omnipkg/core.py:15607
↓ 3 callersMethod_quick_test_combo
Quick test to see if a syslib combination fixes an error.
src/omnipkg/libresolver.py:644
↓ 3 callersMethod_resolve_package_versions
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:242
↓ 3 callersMethod_restore_modern_setuptools
(self)
src/omnipkg/core.py:14983
↓ 3 callersFunction_row
(label, mean, mn, p95, note="", hl=False)
src/omnipkg/tests/benchmark_transport.py:222
↓ 3 callersFunction_run_and_print
(label: str, code: str, shm_in: dict, spec: str = OMNIPKG_SPEC)
src/omnipkg/tests/benchmark_transport.py:794
↓ 3 callersMethod_run_historical_install_fallback
Orchestrator for the Dependency Time Machine logic, run as an automatic fallback. Attempts to reconstruct the exact dependency enviro
src/omnipkg/core.py:14574
↓ 3 callersMethod_run_pip_uninstall
Runs `pip uninstall` with LIVE, STREAMING output.
src/omnipkg/core.py:15263
↓ 3 callersFunction_run_script_logic
Main script execution logic with robust interactive handling.
src/omnipkg/commands/run.py:3286
↓ 3 callersFunction_run_script_with_healing
Common function to run a script and automatically heal any failures. Can inject the original script's directory into PYTHONPATH for local imp
src/omnipkg/commands/run.py:2272
↓ 3 callersMethod_save_registry
(self)
src/omnipkg/isolation/worker_daemon.py:843
↓ 3 callersMethod_scan_for_cloaked_versions
Scan for ALL cloaked versions, now recognizing loader-specific suffixes. Returns list of (cloaked_path, original_name, timestamp, loa
src/omnipkg/loader.py:1470
↓ 3 callersMethod_schedule_invalidation
Accumulate the delta and debounce rapid bursts. Two-tier debounce: • dist-info events: fire after 5ms — they carry name+ve
src/omnipkg/isolation/fs_watcher.py:461
↓ 3 callersFunction_scrub_lock
Return a minimal dict containing ONLY the fields that contribute to the content SHA. Everything else is dropped entirely — not replaced with
src/omnipkg/integration/reproducible.py:1309
↓ 3 callersFunction_set_idle_for_version
Push a single idle-count change to the daemon. Returns True on success.
src/omnipkg/isolation/resource_monitor.py:72
↓ 3 callersMethod_set_rebuild_flag_for_version
Sets a flag indicating that a new interpreter needs its knowledge base built. This is a stateful, safe way to trigger a one-time setu
src/omnipkg/core.py:465
↓ 3 callersMethod_show_version_details
(self, data: Dict, force: bool = False)
src/omnipkg/core.py:10436
↓ 3 callersMethod_signal_daemon_lock_released
Signal that filesystem mutations are complete. Daemon can now release the lock and serve other requests.
src/omnipkg/loader.py:1802
↓ 3 callersFunction_spec_is_dirty
Return True if spec contains a package that can't be version-switched.
src/omnipkg/isolation/worker_daemon.py:6163
↓ 3 callersFunction_subprocess_debug
(result: subprocess.CompletedProcess)
tests/test_flask_port_finder.py:96
↓ 3 callersMethod_synchronize_knowledge_base_with_reality
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:474
↓ 3 callersFunction_venv_python_exe
Return the venv-aware Python executable path on macOS/Linux. Problem: when the daemon is forked, macOS resolves the venv symlink at the
src/omnipkg/isolation/worker_daemon.py:61
↓ 3 callersFunction_venv_root
Resolve the venv root using the same priority chain as dispatcher.c. Raises RuntimeError if nothing can be found.
src/omnipkg/integration/reproducible.py:217
↓ 3 callersFunctioncli_status
Get daemon status.
src/omnipkg/isolation/worker_daemon.py:7903
↓ 3 callersFunctionconvert_module_to_package_name
Convert a module name to its likely PyPI package name. Handles common cases where module names differ from package names.
src/omnipkg/commands/run.py:1158
↓ 3 callersMethodcreate
Create (or recreate) the shared-memory block. Called by watcher.
src/omnipkg/isolation/fs_watcher.py:142
↓ 3 callersFunctioncreate_8pkg_parser
()
src/omnipkg/cli.py:631
↓ 3 callersMethoddetect_index_url
O(1) lookup — returns (None, None) instantly for normal packages.
src/omnipkg/installation/package_index_registry.py:95
↓ 3 callersFunctionfallback_to_python_v
src/omnipkg/dispatcher.c:1112
↓ 3 callersFunctionffi_stamp_path
src/omnipkg/dispatcher.c:1204
↓ 3 callersFunctionffi_stamp_write_so
src/omnipkg/dispatcher.c:1225
↓ 3 callersFunctionfind_venv_root
src/omnipkg/dispatcher.c:476
↓ 3 callersMethodget_active_version
Retrieves the currently installed version of a package from the Knowledge Base.
src/omnipkg/core.py:8175
↓ 3 callersMethodget_lib
(cls)
src/omnipkg/isolation/gpu_ipc.py:25
↓ 3 callersMethodget_lib
Find and load libcudart.so from various locations.
src/omnipkg/isolation/worker_daemon.py:651
↓ 3 callersFunctionget_numpy_constraint
Get the numpy version constraint for a specific package version. Args: package_name: Name of the package (e.g., 'pandas') ver
src/omnipkg/installation/dependency_constraints.py:82
↓ 3 callersMethodget_report
Get a summary report of healing operations.
src/omnipkg/utils/ai_import_healer.py:350
↓ 3 callersFunctionheal_with_missing_package
Installs/upgrades a package. Escalates to force_reinstall if needed, then aborts to prevent loops.
src/omnipkg/commands/run.py:1632
↓ 3 callersFunctionmain
Main application entry point with pre-flight version check.
src/omnipkg/cli.py:1844
↓ 3 callersMethodmark_dirty
(self)
src/omnipkg/isolation/fs_watcher.py:196
↓ 3 callersFunctionmd5_update
src/omnipkg/dispatcher.c:270
↓ 3 callersFunctionparse_uv_version
(version_output)
src/omnipkg/tests/test_uv_switching.py:46
↓ 3 callersFunctionpatch_flask_code
Patch Flask code to use an available port with optional interactive mode. Args: code: Python source code containing Flask app
src/omnipkg/utils/flask_port_finder.py:372
↓ 3 callersFunctionprint_header
(title)
src/omnipkg/tests/test_rich_switching.py:26
↓ 3 callersMethodrecord
Append one JSONL record. Thread-safe, non-blocking.
src/omnipkg/isolation/worker_daemon.py:629
↓ 3 callersMethodregister
(self, name: str)
src/omnipkg/isolation/worker_daemon.py:850
↓ 3 callersFunctionregistry_lookup
src/omnipkg/dispatcher.c:457
↓ 3 callersFunctionrun_command
Helper to run a command and capture output with Windows compatibility.
src/omnipkg/tests/test_uv_switching.py:58
↓ 3 callersFunctionsetup
Prepares the environment, skipping setup if packages already exist.
src/omnipkg/tests/test_version_combos.py:109
↓ 3 callersMethodshutdown
(self)
src/omnipkg/tests/test_flask_port_finder.py:86
↓ 3 callersMethodsmart_uninstall
( self, packages: List[str], force: bool = False, install_type: Optional[str]
src/omnipkg/core.py:13581
↓ 3 callersMethodstart
(self)
src/omnipkg/isolation/sterile.py:35
↓ 3 callersMethodstart
Start the web bridge in background.
src/omnipkg/apis/local_bridge.py:629
↓ 3 callersMethodstop
Stop the web bridge safely across platforms.
src/omnipkg/apis/local_bridge.py:689
↓ 3 callersFunctionupdateStatus
(connected, message)
docs/assets/js/interact.js:159
↓ 3 callersFunctionverify_registry_contains
(version: str)
src/omnipkg/tests/test_concurrent_install.py:103
↓ 3 callersMethodwait_for_ready
Wait for Flask app to be ready to accept connections.
src/omnipkg/utils/flask_port_finder.py:344
↓ 2 callersFunction_DEBUG_TIMING
()
src/omnipkg/installation/smart_install.py:56
↓ 2 callersMethod__exit__
(self, *unused)
src/omnipkg/installation/smart_install.py:99
↓ 2 callersMethod_activate_bubble
Activate a bubble with MANDATORY module cleanup. CRITICAL: NEVER skip module purging, even in nested contexts!
src/omnipkg/loader.py:3035
↓ 2 callersMethod_auto_detect_compatible_site_packages
Auto-detect site-packages path that's compatible with current Python version.
src/omnipkg/loader.py:861
↓ 2 callersMethod_backup_corrupted_file
Create a backup of a corrupted file before removal. Args: file_path: Path to the corrupted file backup_base_
src/omnipkg/core.py:12730
↓ 2 callersMethod_bare_name
(self, name)
src/omnipkg/installation/smart_install.py:227
↓ 2 callersMethod_batch_cloak_packages
Cloak multiple packages with PROCESS-WIDE SAFETY and global tracking.
src/omnipkg/loader.py:1282
↓ 2 callersMethod_build_package_index
Pre-build lowercase pkg->ecosystem map once. Makes detect_index_url O(1).
src/omnipkg/installation/package_index_registry.py:86
↓ 2 callersMethod_check_and_run_pending_rebuild
Checks for a flag file indicating a new interpreter needs its KB built. If the currently running Python matches a version in the flag
src/omnipkg/core.py:7955
↓ 2 callersMethod_check_version_via_importlib
importlib.metadata-based check (current slow method)
src/omnipkg/loader.py:1941
↓ 2 callersFunction_collect_all_dispatcher_bin_dirs
Return every bin/ directory that should receive the C dispatcher binary: 1. The native bin/ (next to sys.executable) — always included
src/omnipkg/dispatcher.py:377
↓ 2 callersMethod_create_shims_for_interpreter
Create versioned entry-point symlinks / shims so that commands like 8pkg39, omnipkg39, 8pkg311, omnipkg311 work immediately after ado
src/omnipkg/core.py:10699
↓ 2 callersMethod_create_symlink_for_version
Creates versioned entry points for ALL omnipkg commands: Unix → $VENV/bin/8pkgXY (symlink → 8pkg) → $VEN
src/omnipkg/core.py:3017
↓ 2 callersMethod_create_version_symlinks
(self)
src/omnipkg/core.py:3005
↓ 2 callersFunction_dbg
(msg: str)
src/omnipkg/core.py:90
↓ 2 callersMethod_detect_conflicts_legacy
Fallback: The old, slow disk-based method.
src/omnipkg/loader.py:3705
↓ 2 callersFunction_detect_host_profile
Detect host system properties for realization context. All fields are informational only — most are NOT included in content_sha. Exceptio
src/omnipkg/integration/reproducible.py:543
↓ 2 callersMethod_detect_omnipkg_dependencies
Detects critical dependency paths. 🛡️ AUTO-HEALING: If a critical dep is missing but a cloak exists, it will RESTORE (Un-Cloa
src/omnipkg/loader.py:1036
↓ 2 callersMethod_disable_redis_in_config
Updates the config file to disable Redis and record why. Does not raise exceptions - gracefully handles any failures.
src/omnipkg/core.py:7611
↓ 2 callersFunction_ensure_all_version_shims
Eagerly create versioned shims for Python 3.7–3.15 in bin_dir. On Unix: symlinks (8pkg39 -> 8pkg, omnipkg311 -> omnipkg, etc.) On Window
src/omnipkg/dispatcher.py:2141
↓ 2 callersMethod_ensure_omnipkg_access_in_bubble
Ensure omnipkg's version-compatible dependencies remain accessible when bubble is active.
src/omnipkg/loader.py:1204
↓ 2 callersMethod_ensure_omnipkg_bootstrapped
Ensures omnipkg is installed in an interpreter. Idempotent.
src/omnipkg/core.py:832
↓ 2 callersMethod_evict_oldest_worker_async
CRITICAL FIX: Evict worker without blocking on shutdown.
src/omnipkg/isolation/worker_daemon.py:5347
↓ 2 callersMethod_execute_historical_install
( self, target_pkg, target_ver, historical_versions, target_directory_
src/omnipkg/core.py:14798
↓ 2 callersMethod_execute_torch_mp_queue_ipc
Torch MP Queue IPC — fallback for Turing + CUDA 13 + driver 610 where cudaIpcOpenMemHandle (rc=1) is broken but torch.multiprocessing
src/omnipkg/isolation/worker_daemon.py:7140
↓ 2 callersMethod_find_best_version_for_spec
Resolves a complex package specifier (e.g., 'numpy>=1.20,<1.22') to the latest compliant version by querying all available versions f
src/omnipkg/core.py:14101
↓ 2 callersMethod_find_dependency_bubbles
Find already-created bubbles that are in the same verification group. This allows keras to find tensorflow, tensorboard to find tens
src/omnipkg/core.py:4091
↓ 2 callersMethod_find_dependency_bubbles
(self, package_name: str, bubble_base: Path)
src/omnipkg/installation/smart_install.py:838
↓ 2 callersMethod_find_main_library
Find the main shared library file.
src/omnipkg/libresolver.py:666
↓ 2 callersMethod_find_owner_package
Helper to find which package a file belongs to, now supporting .egg-info.
src/omnipkg/core.py:5563
↓ 2 callersMethod_find_python_interpreters
Discovers all available Python interpreters on the system. Returns a dict mapping (major, minor) version tuples to executable paths.
src/omnipkg/core.py:2220
↓ 2 callersFunction_get_active_bubble_paths
Return the list of omnipkg bubble paths currently at the front of sys.path. CRITICAL: this function must NEVER trigger an import (no `from x impo
src/omnipkg/isolation/patchers.py:54
↓ 2 callersMethod_get_cache_generation
(self)
src/omnipkg/core.py:16919
↓ 2 callersMethod_get_connection_info
Get socket family and address for connecting to daemon. Works on both Windows (TCP) and Unix (domain socket). Returns:
src/omnipkg/isolation/worker_daemon.py:6611
↓ 2 callersFunction_get_dynamic_omnipkg_version
Gets the omnipkg version, prioritizing pyproject.toml in developer mode. CRITICAL FIX: Detects if we're in a staging/temporary environment d
src/omnipkg/core.py:105
↓ 2 callersMethod_get_env_id
Creates a short, stable hash from the venv path to uniquely identify it.
src/omnipkg/core.py:7419
↓ 2 callersMethod_get_heal_cache_path
Returns the path to the self-heal cache file.
src/omnipkg/core.py:6764
← previousnext →301–400 of 1,775, ranked by callers