MCPcopy Create free account

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

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

Method__init__
(self, watch_flag: SharedWatchFlag, invalidate_fn, site_packages_path: str)
src/omnipkg/isolation/fs_watcher.py:290
Method__init__
(self, watch_flag: SharedWatchFlag, invalidate_fn, site_packages_dirs: List[
src/omnipkg/isolation/fs_watcher.py:609
Method__init__
(self, socket_path: str)
src/omnipkg/isolation/fs_watcher.py:899
Method__init__
(self, socket_path: str, site_packages_dirs: List[str])
src/omnipkg/isolation/fs_watcher.py:1012
Method__init__
(self)
src/omnipkg/isolation/switchers.py:18
Method__init__
(self, process: subprocess.Popen, idle_threshold=300.0, cpu_threshold=1.0)
src/omnipkg/isolation/sterile.py:27
Method__init__
(self, enable_idle_detection=True, idle_threshold=60.0)
src/omnipkg/isolation/sterile.py:84
Method__init__
(self, package_spec: str, verbose: bool = False)
src/omnipkg/isolation/workers.py:16
Method__init__
(self, items)
src/omnipkg/isolation/patchers.py:831
Method__init__
(self, name: str, create: bool = False)
src/omnipkg/isolation/worker_daemon.py:391
Method__init__
(self)
src/omnipkg/isolation/worker_daemon.py:614
Method__init__
(self)
src/omnipkg/isolation/worker_daemon.py:830
Method__init__
(self, package_spec: str = None, python_exe: str = None, verbose: bool = False, defer_setup: bool = False, sit
src/omnipkg/isolation/worker_daemon.py:2576
Method__init__
(self, max_workers: int = 10, max_idle_time: int = 300, warmup_specs: list = None)
src/omnipkg/isolation/worker_daemon.py:3431
Method__init__
(self)
src/omnipkg/isolation/worker_daemon.py:5932
Method__init__
(self)
src/omnipkg/isolation/worker_daemon.py:6197
Method__init__
( self, socket_path: str = DEFAULT_SOCKET, timeout: float = 300.0, auto_start:
src/omnipkg/isolation/worker_daemon.py:6335
Method__init__
(self, client, package_spec, python_exe=None)
src/omnipkg/isolation/worker_daemon.py:7625
Method__init__
(self, locks_dir: Path, pkg_name: str, pkg_timeout: float = 10.0)
src/omnipkg/isolation/fs_lock_queue.py:134
Method__init__
(self, base_dir: Path)
src/omnipkg/isolation/fs_lock_queue.py:293
Method__init__
(self, code: str, port: int, validate_only: bool = False)
src/omnipkg/utils/flask_port_finder.py:225
Method__init__
(self, original_stderr)
src/omnipkg/utils/warning_silencer.py:41
Method__init__
(self, verbose: bool = True, aggressive: bool = False, silent: bool = False)
src/omnipkg/utils/ai_import_healer.py:148
Method__init__
(self, lock: BaseFileLock)
src/omnipkg/_vendor/filelock/_api.py:27
Method__init__
Create a new lock object. :param lock_file: path to the file :param timeout: default timeout when acquiring the lock, in sec
src/omnipkg/_vendor/filelock/_api.py:72
Method__init__
(self, lock_file: str)
src/omnipkg/_vendor/filelock/_error.py:9
Method__init__
(self, core)
src/omnipkg/installation/installers.py:115
Method__init__
(self, cache_db_path: str)
src/omnipkg/installation/metadata_cache.py:28
Method__init__
Initialize the registry. Args: omnipkg_home: Path to the omnipkg home directory (usually ~/.omnipkg)
src/omnipkg/installation/package_index_registry.py:18
Method__init__
(self, pkg_name: str, version: str, blocking: bool = True)
src/omnipkg/installation/smart_install.py:78
Method__init__
(self, core: "OmnipkgCore")
src/omnipkg/installation/smart_install.py:200
Method__init__
Initialize the verification strategy. Args: parent_omnipkg: The main OmnipkgCore instance gatherer: omnipkgM
src/omnipkg/installation/verification_strategy.py:68
Method__init__
(self)
src/omnipkg/apis/local_bridge.py:624
Method__init__
(self, code, port, interactive=False, validate_only=False)
src/omnipkg/tests/test_flask_port_finder.py:68
Method__init__
(self, d)
src/omnipkg/tests/benchmark_transport.py:240
Method__init__
(self, cli)
src/omnipkg/tests/benchmark_transport.py:390
Method__init__
(self, cli, torch_spec)
src/omnipkg/tests/benchmark_transport.py:451
Method__init__
(self, env_id: str, config_dir: str)
tests/test_verify_bubble_deps.py:13
Method__reduce__
(self)
src/omnipkg/_vendor/filelock/_error.py:13
Method__repr__
(self)
src/omnipkg/_vendor/filelock/_error.py:19
Method__str__
(self)
src/omnipkg/_vendor/filelock/_error.py:16
Method_acquire
(self)
src/omnipkg/_vendor/filelock/_unix.py:18
Method_acquire
(self)
src/omnipkg/_vendor/filelock/_windows.py:41
Method_acquire
(self)
src/omnipkg/_vendor/filelock/_soft.py:16
Method_add_selective_fallbacks
Add only specific non-conflicting packages from main environment.
src/omnipkg/loader.py:1455
Method_analyze_rebuild_needs
(self)
src/omnipkg/core.py:7873
Method_auto_heal_broken_bubble
Attempt to automatically heal a broken bubble installation.
src/omnipkg/loader.py:5482
Method_bubble_contains
Return True if outer_spec's bubble bundles inner_name.
src/omnipkg/loader.py:2066
Method_bubble_needs_fallback
Determine if bubble needs access to main site-packages for dependencies.
src/omnipkg/loader.py:1441
Method_bubble_path_for
(spec)
src/omnipkg/loader.py:2054
Method_build_glibc
Build glibc with custom prefix.
src/omnipkg/libresolver.py:228
Method_build_libpng
Build libpng with custom prefix.
src/omnipkg/libresolver.py:297
Method_build_openssl
Build OpenSSL with custom prefix.
src/omnipkg/libresolver.py:256
Method_build_zlib
Build zlib with custom prefix.
src/omnipkg/libresolver.py:280
Function_canonical_path_str
Produce a stable canonical string for identity-sensitive path hashing and comparisons across platforms. - resolves when possible - n
src/omnipkg/common_utils.py:916
Method_check_package_satisfaction
### THE DEFINITIVE INSTANCE-AWARE FIX ### Checks if a list of requirements is satisfied by searching for ANY valid, non-neste
src/omnipkg/core.py:13937
Function_claim_bubble_task
(pkg_name: str, version: str)
src/omnipkg/installation/smart_install.py:113
Method_clean_and_format_dependencies
Parses the raw dependency JSON, filters out noise, and formats it for humans.
src/omnipkg/core.py:10237
Method_cleanup_omnipkg_links_in_bubble
Clean up symlinks created for omnipkg dependencies in the bubble.
src/omnipkg/loader.py:4496
Method_cleanup_redundant_bubbles
Scans for and REMOVES any bubbles from the filesystem that are identical to the currently active version of a package. NOW A
src/omnipkg/core.py:12603
Method_cleanup_version_from_kb
Surgically removes all traces of a single, specific version of a package from the Redis knowledge base.
src/omnipkg/core.py:13083
Method_clear_windows_module_cache
Windows-specific: Clear cached modules that might cause import conflicts. This helps prevent "ImportError: cannot import name 'text_
src/omnipkg/core.py:14063
Method_cloak_main_package
Temporarily renames the main environment installation of a package.
src/omnipkg/loader.py:4601
Method_compute_omnipkg_dependencies
(CORRECTED) Gets omnipkg's dependency paths, using a class-level cache to ensure the expensive detection runs only once per session.
src/omnipkg/loader.py:1018
Method_copy_native_python_to_managed
Installs a MINIMAL copy of just the Python interpreter (not the entire venv). Uses the system Python as a base but copies only what's
src/omnipkg/core.py:642
Method_create_omnipkg_executable
Creates a proper shell script executable that forces the use of the new Python interpreter.
src/omnipkg/core.py:1479
Method_create_pre_install_snapshot
Creates a snapshot before installing a package. Returns the snapshot key for latLiteCacheCliener restoration.
src/omnipkg/core.py:12039
Method_create_pypi_only_bubble
Creates a bubble by downloading ONLY from PyPI, never from local source. This ensures upgrade bubbles contain the actual PyPI version
src/omnipkg/core.py:12402
Method_create_worker_for_spec
Connects to the daemon to handle this package spec.
src/omnipkg/loader.py:610
Method_detect_all_changes
Comprehensive change detection that catches EVERYTHING pip does. Returns dict with: - downgrades: List of {package, old_
src/omnipkg/core.py:12180
Method_detect_cpp_collision_risk
Analyze if activating this bubble would cause C++ extension conflicts. Returns True if collision is likely.
src/omnipkg/loader.py:5659
Method_detect_downgrades
(self, before: Dict[str, str], after: Dict[str, str])
src/omnipkg/core.py:10017
Function_detect_shell_name
Detects the likely shell name for display purposes.
src/omnipkg/commands/run.py:2561
Method_detect_upgrades
Identifies packages that were upgraded.
src/omnipkg/core.py:10035
Method_detect_version_replacements
Identifies packages that were replaced (uninstalled and a new version installed). This is different from a simple upgrade/downgrade l
src/omnipkg/core.py:13066
Method_do_patch
Surgically patch the Rust SITE_PACKAGES_CACHE with the accumulated delta. Now logs exactly which files triggered the event and ignore
src/omnipkg/isolation/fs_watcher.py:498
Method_do_spawn
()
src/omnipkg/isolation/worker_daemon.py:3628
Method_dry_resolve_packages
Ask uv to resolve what would be installed without actually installing. Returns dict of {pkg_name: version} for packages that would ch
src/omnipkg/core.py:15105
Method_enhanced_python_adopt
Enhanced adoption logic that prioritizes registering the original interpreter when appropriate, falling back to download only when ne
src/omnipkg/core.py:1629
Method_enrich_from_site_packages
(self, name: str, version: str = None)
src/omnipkg/package_meta_builder.py:3329
Method_ensure_all_interpreters_have_config
Ensure all registered Python interpreters have .omnipkg_config.json files. This should be called after adopting a new Python or durin
src/omnipkg/core.py:3167
Method_ensure_proper_registration
Ensures the current Python 3.11 is properly registered even if already detected.
src/omnipkg/core.py:739
Method_exorcise_ghost_package_instances
Remove all ghost instances for a specific package version from the current Python context.
src/omnipkg/core.py:8772
Method_extract_missing_module_name
Extract the specific missing module name from error messages.
src/omnipkg/core.py:5463
Method_extract_wheel_into_bubble
Downloads a wheel and extracts its content directly into a bubble directory. Does NOT use pip install.
src/omnipkg/core.py:13127
Method_fast_register_cloned_instances
Efficiently registers new package instances by cloning metadata from existing identical instances already in the Knowledge Base.
src/omnipkg/core.py:8080
Method_filter_environment_paths
Filter environment variable paths to remove incompatible Python versions.
src/omnipkg/loader.py:949
Method_find_cloaked_versions
Find cloaked versions of a package in the environment.
src/omnipkg/loader.py:4472
Method_find_existing_c_extension
Disabled: C extensions are copied, not symlinked.
src/omnipkg/core.py:4681
Method_find_python_executable
Finds the Python executable for a given version. Checks registry first, then standard managed locations.
src/omnipkg/core.py:802
Function_fire_plan
(entries: list[tuple[str, str, str]])
tests/test_uv_ffi_contracts.py:112
Method_force_restore_owned_cloaks
Safety net: Restore ANY cloak registered to this loader instance, guaranteeing cleanup even if local tracking lists desynchronize.
src/omnipkg/loader.py:4359
Method_format_action
(self, action)
src/omnipkg/cli.py:652
Method_get_all_active_versions_live_for_context
Get active versions only from the specified site-packages directory. This prevents cross-interpreter contamination.
src/omnipkg/core.py:8816
Method_get_all_disk_instances_for_context
(V7.2 - CORRECTED) Discovers all physical package installations and returns them as a dictionary mapping a unique instance ID to the
src/omnipkg/core.py:8643
Method_get_all_interpreters_for_config
Helper to get a complete list of interpreters for the config file. Merges the registry data with the current interpreter.
src/omnipkg/core.py:3145
Method_get_bubble_package_version
Get version of a package from bubble manifest.
src/omnipkg/loader.py:1272
Method_get_disk_specs_for_context
(V3 - ROBUST PATH FIX) A lightweight, READ-ONLY function to get the ground truth of package specs, now using robust logic to find the
src/omnipkg/core.py:8580
Method_get_distribution
(self, package_name: str, version: str = None)
src/omnipkg/package_meta_builder.py:3317
Method_get_install_lock_for_daemon
Separate install lock (prevents duplicate installations). This is DIFFERENT from worker_locks (which protect worker creation).
src/omnipkg/isolation/worker_daemon.py:5156
← previousnext →1,101–1,200 of 1,775, ranked by callers