MCPcopy Create free account

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

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

↓ 9 callersMethod_get_install_context
(V4 - CANONICALIZATION FIX) Determines the precise installation context. Now properly handles the fact that bubble directory names us
src/omnipkg/package_meta_builder.py:1840
↓ 9 callersMethod_get_paths_for_interpreter
Runs an interpreter in a subprocess to ask for its version and calculates its site-packages path. This is the only reliable way to ge
src/omnipkg/core.py:2538
↓ 9 callersMethod_is_daemon_worker
Check if we're running inside a daemon worker
src/omnipkg/loader.py:1798
↓ 9 callersMethod_is_version_compatible_path
Performs a robust check to see if a given path belongs to the currently running Python interpreter's version, preventing cros
src/omnipkg/loader.py:839
↓ 9 callersMethod_log
Log message if verbose mode is on.
src/omnipkg/utils/ai_import_healer.py:230
↓ 9 callersFunction_resolve_target_paths
Get site_packages_path and multiversion_base for the given interpreter. Tries ConfigManager._get_paths_for_interpreter() with multiple path
src/omnipkg/isolation/worker_daemon.py:200
↓ 9 callersMethodcollect
(self)
src/omnipkg/tests/conftest.py:19
↓ 9 callersFunctionfind_absolute_venv_root
Find the ABSOLUTE TOP-LEVEL virtual environment root. Uses the SAME logic as ConfigManager._get_venv_root() to ensure consistency. Args:
src/omnipkg/dispatcher.py:1977
↓ 9 callersFunctionfind_verification_group
Find which verification group a package belongs to. Args: package_name: Canonical package name Returns: VerificationGro
src/omnipkg/installation/verification_groups.py:135
↓ 9 callersFunctionformat_memory
(kb)
src/omnipkg/isolation/resource_monitor.py:285
↓ 9 callersFunctionprint_header
Prints a consistent, pretty header.
src/omnipkg/tests/test_cli_healing.py:119
↓ 9 callersFunctionrelease_port
Release a reserved port.
src/omnipkg/utils/flask_port_finder.py:83
↓ 9 callersMethodsrem
(self, key, value)
src/omnipkg/cache.py:25
↓ 8 callersFunction_import_daemon
Import daemon client, skip test if not available.
tests/test_omnipkg_contracts.py:62
↓ 8 callersFunction_resolve_python_exe
Resolve a Python interpreter reference to its full absolute path. Accepts any of: - None / "" -> returns sys.executable (curr
src/omnipkg/isolation/worker_daemon.py:100
↓ 8 callersMethod_write_interpreter_config
(self, interpreter_path: Path, version: str)
src/omnipkg/core.py:3112
↓ 8 callersMethodacquire
Try to acquire the file lock. :param timeout: maximum wait time for acquiring the lock, ``None`` means use the default :attr:`~timeo
src/omnipkg/_vendor/filelock/_api.py:155
↓ 8 callersMethodcreate_isolated_bubble
( self, package_name: str, target_version: str, python_context_version: str,
src/omnipkg/installation/smart_install.py:627
↓ 8 callersMethodget_installed_packages
(self, live: bool = False)
src/omnipkg/core.py:9987
↓ 8 callersMethodis_running
(cls)
src/omnipkg/isolation/worker_daemon.py:5673
↓ 8 callersMethodrescan_interpreters
Forces a full, clean re-scan of the managed interpreters directory and rebuilds the registry from scratch. This is a repair utility.
src/omnipkg/core.py:11281
↓ 8 callersFunctionsection
(title: str, width: int = 80)
src/omnipkg/tests/test_tensorflow_switching.py:109
↓ 8 callersMethodsmembers
(self, key)
src/omnipkg/cache.py:19
↓ 8 callersMethodstart
Start the Flask app (or just validate it).
src/omnipkg/utils/flask_port_finder.py:238
↓ 8 callersMethodstart
(self)
src/omnipkg/tests/test_flask_port_finder.py:75
↓ 8 callersMethodswitch_active_python
Switch the active Python context to the specified version. FOR QUANTUM HEALING ONLY: Updates the in-memory config for this omnipkg i
src/omnipkg/core.py:14011
↓ 7 callersFunction_dbg
Lightweight debug printer; no-op unless OMNIPKG_DEBUG=1.
src/omnipkg/cli.py:36
↓ 7 callersFunction_exec
Execute code in a daemon worker and return the result dict.
tests/test_omnipkg_contracts.py:79
↓ 7 callersFunction_fail
(reason, **kw)
setup.py:38
↓ 7 callersMethod_replenish_idle_pool
(self, python_exe: str)
src/omnipkg/isolation/worker_daemon.py:3620
↓ 7 callersMethod_run_pip_audit_fallback
Runs `pip audit` as a fallback security scanner.
src/omnipkg/package_meta_builder.py:1470
↓ 7 callersMethod_run_pip_install
(self, packages, force_reinstall=False, target_directory=None, extra_flags=None,
src/omnipkg/core.py:15253
↓ 7 callersFunctioncli_stop
Stop the daemon. Works even if daemon is unresponsive.
src/omnipkg/isolation/worker_daemon.py:7764
↓ 7 callersFunctiondir_of
dirname without modifying input */
src/omnipkg/dispatcher.c:393
↓ 7 callersFunctionget_actual_python_version
Get the actual Python version being used by omnipkg. Fast path: if configured_exe == sys.executable (the common case inside a daemon worker)
src/omnipkg/cli.py:43
↓ 7 callersMethodis_running
Check if web bridge is running.
src/omnipkg/apis/local_bridge.py:845
↓ 7 callersFunctionis_verbose_mode
()
src/omnipkg/tests/test_loader_stress_test.py:59
↓ 7 callersFunctionjsonResponse
(data, status = 200, origin, isAllowed)
cloud/worker.js:122
↓ 7 callersFunctionjson_get_raw_str
src/omnipkg/dispatcher.c:873
↓ 7 callersFunctionprint_header
Prints a consistent, pretty header.
src/omnipkg/tests/test_old_flask.py:94
↓ 7 callersMethodsadd
(self, key, *values)
src/omnipkg/cache.py:22
↓ 7 callersMethodshutdown
(self)
src/omnipkg/isolation/switchers.py:72
↓ 7 callersMethodshutdown
(self)
src/omnipkg/isolation/workers.py:252
↓ 6 callersMethod_build_comprehensive_metadata
FIXED: Builds metadata exclusively from the provided Distribution object and now includes the physical path of the package.
src/omnipkg/package_meta_builder.py:1943
↓ 6 callersFunction_canonical_path_str
Stable path canonicalization WITHOUT dereferencing symlinks. Suitable for virtualenv identity comparisons.
src/omnipkg/dispatcher.py:1080
↓ 6 callersMethod_copy_file_to_bubble
( self, source_path: Path, bubble_path: Path, temp_install_path: Path,
src/omnipkg/core.py:5578
↓ 6 callersMethod_dir_label
Return a short label like '[py3.12]' derived from the watched dir path.
src/omnipkg/isolation/fs_watcher.py:625
↓ 6 callersMethod_discover_distributions
ULTRA-FAST targeted discovery for known packages.
src/omnipkg/package_meta_builder.py:640
↓ 6 callersMethod_find_package_installations
(V6.1 - CORRECTED HASHING) Finds all distinct installations by trusting the filesystem first, then enriching with data from Redis. Wi
src/omnipkg/core.py:13381
↓ 6 callersMethod_find_project_root
(self)
src/omnipkg/core.py:1195
↓ 6 callersFunction_load_interp_config
(interp_bin_dir: Path)
src/omnipkg/integration/reproducible.py:263
↓ 6 callersFunction_load_registry
(venv_root: Path)
src/omnipkg/integration/reproducible.py:253
↓ 6 callersMethod_read
(self)
src/omnipkg/isolation/fs_watcher.py:183
↓ 6 callersFunctioncli_start
Start the daemon with status checks.
src/omnipkg/isolation/worker_daemon.py:7736
↓ 6 callersFunctiondo_call
(client, spec, tag, call_id, python_exe)
src/omnipkg/tests/test_daemon_tags.py:63
↓ 6 callersMethodexecute_shm_task
Execute task with timeout.
src/omnipkg/isolation/worker_daemon.py:3195
↓ 6 callersFunctionfallback_to_python
src/omnipkg/dispatcher.c:1179
↓ 6 callersFunctionfind_free_port
Find an available port with concurrent safety. The reservation check-and-set must be atomic inside the lock to prevent the TOCTOU race wh
src/omnipkg/utils/flask_port_finder.py:116
↓ 6 callersFunctionfind_free_port
(start_port=5000, max_attempts=1000, reserve=False)
src/omnipkg/tests/test_flask_port_finder.py:46
↓ 6 callersFunctionformat_time
(seconds)
src/omnipkg/isolation/resource_monitor.py:290
↓ 6 callersFunctionis_stdlib_module
Determines if a module name belongs to the Python Standard Library.
src/omnipkg/commands/run.py:927
↓ 6 callersMethodisatty
Check if original stderr is a TTY.
src/omnipkg/utils/warning_silencer.py:69
↓ 6 callersMethodrebuild_knowledge_base
FIXED: Rebuilds the knowledge base by directly invoking the metadata gatherer in-process, now passing the correct target Python conte
src/omnipkg/core.py:7823
↓ 6 callersMethodrun
(V5.4 - ON-THE-SPOT HEALING) The main execution loop with immediate corruption repair.
src/omnipkg/package_meta_builder.py:1634
↓ 6 callersFunctionsanitize_output
🛡️ Removes sensitive information from command outputs. Redacts: - User paths (Windows and Unix) - Private IP addresses - API key
src/omnipkg/apis/local_bridge.py:350
↓ 6 callersFunctionsend_json_msg
src/omnipkg/dispatcher.c:663
↓ 6 callersMethodset_language
(self, lang_code=None)
src/omnipkg/i18n.py:275
↓ 6 callersMethodshutdown
Gracefully shutdown the Flask app.
src/omnipkg/utils/flask_port_finder.py:299
↓ 6 callersMethodstabilize_daemon_state
Uncloaks files using the Daemon's Idle Pool (Fast Path).
src/omnipkg/loader.py:638
↓ 6 callersMethodstatus
Check web bridge status.
src/omnipkg/apis/local_bridge.py:725
↓ 5 callersMethod_first_time_setup
Interactive setup that keeps the native Python in its original location and only manages additional Python versions. AUTO-DE
src/omnipkg/core.py:2656
↓ 5 callersMethod_get_daemon_client
Attempts to connect to the daemon. If not running, starts it.
src/omnipkg/loader.py:1821
↓ 5 callersMethod_parse_dist_info_name
Parse 'rich-14.3.2.dist-info' → ('rich', '14.3.2'). Returns None if the name doesn't match the pattern.
src/omnipkg/isolation/fs_watcher.py:446
↓ 5 callersMethod_register_all_interpreters
THREAD-SAFE: Uses InterpreterManager's lock to prevent concurrent registry corruption.
src/omnipkg/core.py:857
↓ 5 callersMethod_run_pip_install
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:254
↓ 5 callersMethod_scan_and_heal_distributions
Scans paths for distributions and performs ON-THE-SPOT healing if metadata is corrupt (missing Name field).
src/omnipkg/core.py:8238
↓ 5 callersFunction_skip
(reason, **kw)
setup.py:39
↓ 5 callersMethod_spawn
(self, mode, param="")
src/omnipkg/tests/benchmark_transport.py:245
↓ 5 callersMethod_uncloak_bubble
Atomically restore a cloaked bubble. Returns True on success (including "already restored by another process"). Returns False only on
src/omnipkg/loader.py:765
↓ 5 callersFunctionanalyze_runtime_failure_and_heal
Analyzes runtime failures and attempts to heal them automatically. Tracks attempted fixes to prevent infinite loops. PRESERVES ALL ORIGIN
src/omnipkg/commands/run.py:193
↓ 5 callersMethodcheck_package_installed_fast
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:230
↓ 5 callersFunctioncheck_version_with_pip
Check installed version using pip show
src/omnipkg/tests/test_old_flask.py:121
↓ 5 callersMethoddetect_optimal_mode
Auto-detect the best available IPC mode. Priority order (based on benchmarks): 1. Universal IPC - fastest (1.5-2ms), ctypes
src/omnipkg/isolation/worker_daemon.py:6065
↓ 5 callersMethodget_installed_packages
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:257
↓ 5 callersMethodheal
Remove hallucinated imports from code. Returns: (healed_code, was_healed) tuple
src/omnipkg/utils/ai_import_healer.py:271
↓ 5 callersFunctionprint_header
(title)
src/omnipkg/tests/test_uv_switching.py:40
↓ 5 callersFunctionprint_proof
(label, msg)
src/omnipkg/tests/test_flask_port_finder_universal.py:34
↓ 5 callersFunctionrun_command
Helper to run a command and stream its output.
src/omnipkg/tests/test_old_flask.py:66
↓ 5 callersFunctionrun_command
Helper to run a command and optionally stream its output.
src/omnipkg/tests/test_cli_healing.py:75
↓ 5 callersMethodstart
(self)
src/omnipkg/isolation/fs_watcher.py:1024
↓ 5 callersFunctionverify_bubble_with_smart_strategy
( parent_omnipkg, package_name: str, version: str, staging_path: Path, gatherer, e
src/omnipkg/installation/verification_strategy.py:472
↓ 5 callersFunctionversion
(name)
src/omnipkg/__init__.py:56
↓ 4 callersMethod__enter__
Activation entry point - dispatches to multi or single package logic.
src/omnipkg/loader.py:3830
↓ 4 callersMethod_analyze_installed_tree
Analyzes the temporary installation with AGGRESSIVE metadata healing.
src/omnipkg/core.py:4685
↓ 4 callersMethod_bare_name
botocore[crt]' -> 'botocore' (for API/metadata lookups)
src/omnipkg/core.py:13248
↓ 4 callersMethod_cache_safety_decision
Cache decision to disk for this session
src/omnipkg/package_meta_builder.py:1200
↓ 4 callersMethod_check_numpy_abi_conflict
Attempt an in-process numpy heal first; only delegate to daemon if that fails. When numpy's C extension (.so) is already mapped by t
src/omnipkg/loader.py:2161
↓ 4 callersMethod_cloak_bubble
Atomically cloak a bubble directory. Returns (cloak_path, success). timeout=0 → non-blocking try (returns False immediately if locked
src/omnipkg/loader.py:745
↓ 4 callersMethod_current_mtime
(self, path: Path)
src/omnipkg/isolation/fs_watcher.py:633
↓ 4 callersMethod_debug
Emit debug message if OMNIPKG_DEBUG=1
src/omnipkg/loader.py:450
← previousnext →101–200 of 1,775, ranked by callers