MCPcopy Create free account

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

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

↓ 2 callersMethodignore_patterns
(dir, files)
src/omnipkg/core.py:11401
↓ 2 callersMethodinitialize_pypi_cache
(MODIFIED & FIXED) Initialize PyPI version cache system.
src/omnipkg/core.py:7452
↓ 2 callersMethodinstall
( self, packages: List[str], force_reinstall: bool = False,
src/omnipkg/installation/installers.py:124
↓ 2 callersFunctioninstall_versioned_entrypoints
Called by 'omnipkg python adopt' after a new interpreter is registered. Does TWO things that make versioned commands work in CI (fresh shell
src/omnipkg/dispatcher.py:2286
↓ 2 callersFunctioninstall_warning_silencer
Install the nuclear warning silencer that intercepts stderr.
src/omnipkg/utils/warning_silencer.py:81
↓ 2 callersMethodis_dirty
(self)
src/omnipkg/isolation/fs_watcher.py:186
↓ 2 callersFunctionis_port_actually_free
Double-check if a port is actually free (not just unreserved). NOTE: Do NOT set SO_REUSEADDR here — on Linux it allows double-binds, maki
src/omnipkg/utils/flask_port_finder.py:90
↓ 2 callersFunctionjson_get_int
src/omnipkg/dispatcher.c:886
↓ 2 callersMethodlist_packages
(self, pattern: str = None)
src/omnipkg/core.py:16385
↓ 2 callersFunctionmd5_transform
src/omnipkg/dispatcher.c:247
↓ 2 callersMethodmigrate_manifests
Scans all bubble directories and upgrades any manifests that are behind the current schema version. Safe to re-run; already-current m
src/omnipkg/core.py:3565
↓ 2 callersFunctionomnipkg_pip_jail
The most passive-aggressive warning ever - EPIC EDITION
src/omnipkg/tests/test_old_flask.py:21
↓ 2 callersFunctionparse_hex4
src/omnipkg/dispatcher.c:735
↓ 2 callersFunctionparse_nvidia_smi
()
src/omnipkg/isolation/resource_monitor.py:214
↓ 2 callersFunctionpass_config_to_subprocess
Bulletproof way to pass configuration to a subprocess. Creates a temporary JSON file and returns the path. This completely avoids Window
src/omnipkg/common_utils.py:108
↓ 2 callersFunctionprint_banner
(title)
src/omnipkg/tests/test_flask_port_finder_universal.py:31
↓ 2 callersFunctionprint_stats
(watch_mode=False)
src/omnipkg/isolation/resource_monitor.py:603
↓ 2 callersFunctionprint_subheader
(title)
src/omnipkg/tests/test_uv_switching.py:54
↓ 2 callersFunctionraise_on_not_writable_file
Raise an exception if attempting to open the file for writing would fail. This is done so files that will never be writable can be separated
src/omnipkg/_vendor/filelock/_util.py:9
↓ 2 callersFunctionreal_path
resolve symlink chain to real path. * If argv[0] is a bare name (no slash), search PATH first. */
src/omnipkg/dispatcher.c:358
↓ 2 callersFunctionrecv_json_msg
src/omnipkg/dispatcher.c:691
↓ 2 callersMethodreset_configuration
Deletes the config files to allow for a fresh setup.
src/omnipkg/core.py:7676
↓ 2 callersMethodrestore
Checks all protected files for corruption (missing, empty, or invalid JSON). If corrupted, restores it from its backup. Returns a lis
src/omnipkg/CondaGuard.py:72
↓ 2 callersFunctionrun
Run a command, stream output, return full output string.
src/omnipkg/tests/test_multiverse_healing.py:104
↓ 2 callersFunctionrun_cli_with_healing_wrapper
Like run_with_healing_wrapper, but for CLI binaries instead of Python scripts. Uses the SAME robust nested loader logic.
src/omnipkg/commands/run.py:3083
↓ 2 callersFunctionrun_demo_with_live_streaming
Run a demo with live streaming. - If given an ABSOLUTE path (like a temp file), it uses it directly. - If given a RELATIVE name (like a t
src/omnipkg/cli.py:398
↓ 2 callersFunctionrun_tf_daemon_pair
Run TF 2.13.0 and TF 2.12.0 concurrently via daemon. Returns timing dict for both specs.
src/omnipkg/tests/test_tensorflow_switching.py:579
↓ 2 callersMethodruntime_environment
Context manager that creates an isolated runtime environment with specific system library versions.
src/omnipkg/libresolver.py:315
↓ 2 callersFunctionsafe_cloak
Rename src → dst (cloak) under the dual lock. Returns True if the rename happened. Returns False if: - src doesn't exist (already
src/omnipkg/isolation/fs_lock_queue.py:197
↓ 2 callersFunctionsendTelemetry
(eventType, details)
docs/assets/js/interact.js:516
↓ 2 callersFunctionseparate_python_from_packages
Separates python interpreter requests from regular packages. Fixes the bug where packages like 'python-dateutil' were mistaken for interprete
src/omnipkg/cli.py:157
↓ 2 callersMethodset_idle_config
Runtime configuration of idle pools.
src/omnipkg/isolation/worker_daemon.py:3716
↓ 2 callersMethodset_idle_config
Set idle pool configuration for a Python executable.
src/omnipkg/isolation/worker_daemon.py:6545
↓ 2 callersMethodsetex
Set key to hold the string value and set key to timeout after a given number of seconds. SQLite doesn't have built-in TTL, so we stor
src/omnipkg/cache.py:199
↓ 2 callersMethodshow_multiversion_status
(self)
src/omnipkg/core.py:16461
↓ 2 callersMethodshow_package_info
( self, pkg_name: str, pre_discovered_dists=None, selection: Optional[int] = N
src/omnipkg/core.py:10144
↓ 2 callersFunctionsimulate_user_choice
Simulate user input with a delay
src/omnipkg/tests/test_old_flask.py:56
↓ 2 callersMethodstop
(self)
src/omnipkg/isolation/sterile.py:41
↓ 2 callersFunctiontemporary_install_strategy
Temporarily switches the install strategy (e.g., to 'stable-main') to prevent breaking the main environment during auto-healing operations.
src/omnipkg/commands/run.py:44
↓ 2 callersFunctiontest_version_via_daemon
Verifies version using the Daemon.
src/omnipkg/tests/test_rich_switching.py:85
↓ 2 callersMethodtry_lock_and_validate
Attempt to lock for writing, BUT only if version hasn't changed. This is the CAS (Compare-And-Swap) Simulation.
src/omnipkg/isolation/worker_daemon.py:425
↓ 2 callersFunctionupgrade
Handler for the upgrade command.
src/omnipkg/cli.py:182
↓ 2 callersFunctionvalidate_flask_app
Validate Flask app can start without actually running it persistently. Uses Flask's test client for validation instead of real server.
src/omnipkg/utils/flask_port_finder.py:144
↓ 2 callersFunctionwrite_all
src/omnipkg/dispatcher.c:652
↓ 1 callersMethod__enter__
(self)
src/omnipkg/installation/smart_install.py:85
↓ 1 callersMethod__init__
Initializes the loader with enhanced Python version awareness.
src/omnipkg/loader.py:254
↓ 1 callersMethod__init__
Initializes Omnipkg with optional minimal mode for lightweight commands. Args: config_manager: The configuration manager
src/omnipkg/core.py:6284
↓ 1 callersMethod__init__
(self, flag: Optional[SharedWatchFlag])
src/omnipkg/isolation/fs_watcher.py:1179
↓ 1 callersMethod_acquire
If the file lock could be acquired, self._context.lock_file_fd holds the file descriptor of the lock file.
src/omnipkg/_vendor/filelock/_api.py:129
↓ 1 callersMethod_align_config_to_interpreter
Updates and saves config paths to match the specified Python executable by running it as a subprocess to get its true paths.
src/omnipkg/core.py:619
↓ 1 callersMethod_analyze_cli
(self, help_text: str)
src/omnipkg/package_meta_builder.py:3270
↓ 1 callersFunction_arr
(shape)
src/omnipkg/tests/benchmark_transport.py:205
↓ 1 callersMethod_auto_heal_invalid_distributions
Parses pip's output for 'Ignoring invalid distribution' warnings and surgically removes the corresponding broken directories.
src/omnipkg/core.py:12960
↓ 1 callersFunction_auto_inject_stdlibs
Scans code for usage of common standard libraries (e.g. 'json.dumps', 'sys.exit') and injects the import if it's missing. Handles edge cases
src/omnipkg/commands/run.py:2043
↓ 1 callersMethod_auto_register_original_python
Automatically detects and registers the original Python interpreter that was used to create this environment, without moving or copyi
src/omnipkg/core.py:1533
↓ 1 callersFunction_bootstrap_version_safe
Returns True if `locked_ver` satisfies omnipkg's own constraint for `pkg`. Falls back to True (allow) if packaging is unavailable or pkg not
src/omnipkg/integration/reproducible.py:1742
↓ 1 callersMethod_brute_force_package_cleanup
Performs a manual, brute-force deletion of a corrupted package's files in a specific site-packages directory.
src/omnipkg/core.py:13015
↓ 1 callersMethod_build_binary_info
Scans the dist RECORD for native extension files and parses the platform tag from the dist-info directory name. Returns a di
src/omnipkg/package_meta_builder.py:2700
↓ 1 callersMethod_build_library
Download and build a specific library version.
src/omnipkg/libresolver.py:151
↓ 1 callersMethod_build_obvious_pattern
Build regex for OBVIOUS placeholders only.
src/omnipkg/utils/ai_import_healer.py:156
↓ 1 callersMethod_build_suspicious_pattern
Build regex for suspicious patterns (requires extra validation).
src/omnipkg/utils/ai_import_healer.py:162
↓ 1 callersMethod_build_uv_args
(self, req: _Req, uv_exe: str)
src/omnipkg/installation/installers.py:602
↓ 1 callersMethod_bump_cache_generation
(self)
src/omnipkg/core.py:16911
↓ 1 callersFunction_caller_is_in_bubble
Return True if the importing module's __file__ lives inside a bubble directory.
src/omnipkg/isolation/patchers.py:70
↓ 1 callersMethod_check_binary_integrity
(self, bin_path: str)
src/omnipkg/package_meta_builder.py:2914
↓ 1 callersFunction_check_compat
Quick pre-check: warn about packages that may not exist for target python.
src/omnipkg/integration/reproducible.py:2348
↓ 1 callersMethod_check_package_satisfaction
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:248
↓ 1 callersFunction_check_python_version_mismatch
Compare the lock file's native python version against the current env's. Returns True if sync should proceed, False if it should abort.
src/omnipkg/integration/reproducible.py:1050
↓ 1 callersMethod_check_sync_status_ultra_fast
Path-based sync checking with proper error handling. CRITICAL FIXES: 1. Skip Windows temp files (~filename) 2. Handl
src/omnipkg/core.py:6827
↓ 1 callersMethod_check_version_smart
Dispatch to configured method
src/omnipkg/loader.py:1982
↓ 1 callersMethod_check_version_via_filesystem
Direct filesystem check (no metadata parsing)
src/omnipkg/loader.py:1954
↓ 1 callersMethod_check_version_via_glob
Glob-based filesystem check
src/omnipkg/loader.py:1900
↓ 1 callersMethod_check_version_via_kb
KB-based lookup (requires cache_client)
src/omnipkg/loader.py:1860
↓ 1 callersMethod_classify_package_type
(self, files: List[Path])
src/omnipkg/core.py:4671
↓ 1 callersMethod_clean_corrupted_installs
(ULTRA-OPTIMIZED) Fast, multi-context cleanup of corrupted pip installations (directories starting with ~). It uses a fast-path check
src/omnipkg/core.py:9143
↓ 1 callersFunction_clean_env
()
setup.py:259
↓ 1 callersMethod_cleanup_all_cloaks_for_package
Emergency cleanup: restore cloaked versions of a package via safe_uncloak.
src/omnipkg/loader.py:1504
↓ 1 callersMethod_cleanup_all_cloaks_globally
(CORRECTED) ENHANCED: Catches orphaned cloaks with more aggressive pattern matching, correct path references, and ownership checking.
src/omnipkg/core.py:6475
↓ 1 callersMethod_cleanup_redundant_bubbles
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:477
↓ 1 callersMethod_cleanup_stale_temp_files
Clean up old temporary files from previous runs.
src/omnipkg/isolation/worker_daemon.py:3513
↓ 1 callersMethod_clear_pycache_for_package
Remove __pycache__ directories for a package to force fresh imports. Handles both bubble and main env locations.
src/omnipkg/loader.py:5450
↓ 1 callersMethod_clear_rebuild_flag_for_version
Surgically removes a specific version from the .needs_kb_rebuild flag file.
src/omnipkg/core.py:491
↓ 1 callersMethod_collect_all_site_packages
(self)
src/omnipkg/isolation/worker_daemon.py:3721
↓ 1 callersFunction_collect_host_info
Collect host system + toolchain info for the build manifest. Inspired by reproducible.py _detect_host_profile() — captures the properties
setup.py:300
↓ 1 callersFunction_collect_host_info
Same as setup.py _collect_host_info — duplicated since build_hooks cannot import setup.py.
build_hooks.py:58
↓ 1 callersMethod_collect_resolved_deps
BFS through pkg's Requires-Dist using all dists in site-packages as the available set. Returns ``{canonical_name: version}`` for the
src/omnipkg/installation/smart_install.py:417
↓ 1 callersMethod_compute_abi_hash
Compute ABI hash for a built library.
src/omnipkg/libresolver.py:113
↓ 1 callersMethod_compute_content_hash
Generates a stable content fingerprint for deduplication / symlink cache. V2: Now incorporates the RECORD file hash so two builds of
src/omnipkg/package_meta_builder.py:2850
↓ 1 callersFunction_compute_current_sha
Compute the content SHA of the current env state without writing anything. Reuses the same scan + scrub + hash path as export_lock so the res
src/omnipkg/integration/reproducible.py:1380
↓ 1 callersMethod_connect_cache
(self)
src/omnipkg/installation/smart_install.py:489
↓ 1 callersMethod_copy_all_python_files_for_package
Conservative approach: copy ALL Python files for a failing package.
src/omnipkg/core.py:5525
↓ 1 callersMethod_copy_directory_to_bubble
Copy an entire directory structure to the bubble.
src/omnipkg/core.py:5546
↓ 1 callersMethod_copy_missing_module_structure
Copy missing module structure from temp install to bubble.
src/omnipkg/core.py:5479
↓ 1 callersMethod_core_attr
Grab a function/attr from the core's module globals, with a fallback.
src/omnipkg/installation/installers.py:796
↓ 1 callersMethod_create_bubble_from_editable_install
( self, package_name: str, version: str, source_path: str, python_cont
src/omnipkg/core.py:4356
↓ 1 callersFunction_create_memory_layout_guides
Create memory layout consistency guides.
src/omnipkg/isolation/patchers.py:556
↓ 1 callersMethod_create_pre_install_snapshot
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:462
↓ 1 callersFunction_create_stable_dtype_mappings
Create stable dtype mappings (only if numpy is available).
src/omnipkg/isolation/patchers.py:538
↓ 1 callersFunction_create_type_conversion_handles
Create handles for C++ type conversion functions.
src/omnipkg/isolation/patchers.py:565
↓ 1 callersFunction_daemon_pid
Read the omnipkg daemon PID from its standard pid file.
src/omnipkg/tests/benchmark_transport.py:711
← previousnext →501–600 of 1,775, ranked by callers