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
_has_placeholder_indicators
Check if the import line has obvious placeholder indicators. Returns True if line contains comments like: - # TODO -
src/omnipkg/utils/ai_import_healer.py:204
↓ 1 callers
Method
_has_valid_shebang
(self, path: str)
src/omnipkg/package_meta_builder.py:2931
↓ 1 callers
Method
_heal_conda_environment
(self)
src/omnipkg/installation/smart_install.py:495
↓ 1 callers
Function
_heal_entrypoints
()
build_hooks.py:324
↓ 1 callers
Method
_heal_numpy_python_layer
Re-bind numpy's Python layer from the correct bubble after a version switch. When numpy's C extension (.so) is already mapped by the
src/omnipkg/loader.py:3460
↓ 1 callers
Function
_hft_ignore_shm_tracking
Monkey-patch Python's resource_tracker to ignore SharedMemory segments. In HFT/Daemon mode, we manage memory lifecycles manually for
src/omnipkg/isolation/worker_daemon.py:526
↓ 1 callers
Function
_import_dispatcher
Import dispatcher module; skip if not importable.
tests/test_dispatcher_contracts.py:41
↓ 1 callers
Function
_import_fpf
Import flask_port_finder; skip entire module if unavailable.
tests/test_flask_port_finder.py:53
↓ 1 callers
Function
_import_numpy_from_main_env
Import numpy while temporarily hiding bubble paths from sys.path AND evicting bubble-numpy from sys.modules cache. Python's import machi
src/omnipkg/isolation/patchers.py:83
↓ 1 callers
Method
_init_cache_db
Initialize SQLite cache for GitHub metadata
src/omnipkg/installation/metadata_cache.py:32
↓ 1 callers
Method
_init_own_cache
Initialize loader's own cache connection for isolated processes
src/omnipkg/loader.py:370
↓ 1 callers
Method
_initialize_daemon_process
Tasks performed by the final, detached daemon process before serving.
src/omnipkg/isolation/worker_daemon.py:3874
↓ 1 callers
Method
_initialize_schema
(self)
src/omnipkg/cache.py:88
↓ 1 callers
Method
_initialize_version_aware_paths
Initialize paths with strict Python version isolation. Ensures we only work with version-compatible directories.
src/omnipkg/loader.py:786
↓ 1 callers
Function
_install_binary_into_bin_dir
Copy the freshly compiled binary into target_bin, replacing all omnipkg entry-point names and updating the hash marker. Returns list of name
src/omnipkg/dispatcher.py:724
↓ 1 callers
Method
_install_bubble_inline
Install a missing bubble directly. If any ABI package (.so already dlopen'd) is resident in sys.modules, running the install
src/omnipkg/loader.py:3736
↓ 1 callers
Method
_install_bubble_subprocess
Install a bubble by shelling out to `8pkg install <spec>` in a fresh interpreter. Used when ABI packages are already mapped in this
src/omnipkg/loader.py:3753
↓ 1 callers
Method
_install_managed_python
Downloads and installs a specific, self-contained version of Python from the python-build-standalone project. Returns the path to the
src/omnipkg/core.py:1753
↓ 1 callers
Function
_install_python_warning_filters
Install Python warnings filters for common annoyances.
src/omnipkg/utils/warning_silencer.py:104
↓ 1 callers
Function
_install_tf_env_silencers
Set TensorFlow environment variables to silence warnings.
src/omnipkg/utils/warning_silencer.py:120
↓ 1 callers
Function
_interp_matches_lock
FS-based check — no pip subprocess. Scans dist-info for active packages and .omnipkg_versions/ for bubbles. pip freeze is intentionally N
src/omnipkg/integration/reproducible.py:2174
↓ 1 callers
Method
_is_bubbled
(self, dist: importlib.metadata.Distribution)
src/omnipkg/package_meta_builder.py:1119
↓ 1 callers
Method
_is_cache_valid
Check if cache entry is still valid
src/omnipkg/installation/metadata_cache.py:53
↓ 1 callers
Function
_is_cpp_boundary_import
Detect imports that cross the C++/Python boundary.
src/omnipkg/isolation/patchers.py:573
↓ 1 callers
Method
_is_likely_executable_name
Additional heuristic: check if filename suggests it's an executable. Used as a final fallback for edge cases.
src/omnipkg/core.py:4843
↓ 1 callers
Function
_is_omnipkg_process
(cmdline)
src/omnipkg/isolation/resource_monitor.py:139
↓ 1 callers
Function
_is_partially_initialized_tf
Check if we're in a partially initialized TensorFlow module.
src/omnipkg/isolation/patchers.py:847
↓ 1 callers
Function
_is_reparse_point
Check if a path is a reparse point (symlink, junction, etc.) on Windows.
src/omnipkg/_vendor/filelock/_windows.py:27
↓ 1 callers
Method
_is_same_or_child_path
Check if source is the same as target or a child of target.
src/omnipkg/core.py:11302
↓ 1 callers
Method
_is_system_critical_path
Check if path is a system-critical directory that shouldn't be copied.
src/omnipkg/core.py:11360
↓ 1 callers
Method
_is_valid_package_name
Check if a name looks like a valid Python package. Returns False for malformed cloak filenames.
src/omnipkg/loader.py:5031
↓ 1 callers
Method
_is_valid_package_name
Check if a name looks like a valid Python package. Returns False for malformed cloak filenames.
src/omnipkg/core.py:6587
↓ 1 callers
Method
_is_valid_python_installation
Validate that the source looks like a proper Python installation.
src/omnipkg/core.py:11317
↓ 1 callers
Method
_kill_tree
(self, ps)
src/omnipkg/isolation/sterile.py:71
↓ 1 callers
Function
_lazy_init_cpp_reality_anchors
Lazily initialize C++ reality anchors only when first needed.
src/omnipkg/isolation/patchers.py:528
↓ 1 callers
Method
_load_compatibility_matrix
Load existing compatibility test results.
src/omnipkg/libresolver.py:98
↓ 1 callers
Function
_load_native
()
src/omnipkg/_vendor/uv_ffi/__init__.py:47
↓ 1 callers
Method
_load_path_registry
Load the file path registry from JSON.
src/omnipkg/core.py:3672
↓ 1 callers
Method
_load_registry
Load the package index registry from disk or use defaults.
src/omnipkg/installation/package_index_registry.py:30
↓ 1 callers
Method
_load_syslib_metadata
Load metadata for an already-built library.
src/omnipkg/libresolver.py:687
↓ 1 callers
Function
_make_probe
(ver)
src/omnipkg/tests/test_loader_stress_test.py:1453
↓ 1 callers
Method
_maybe_migrate_manifests
Checks a Redis flag to see if manifests have already been migrated for the current omnipkg version. If not, triggers migrate_manifest
src/omnipkg/core.py:3527
↓ 1 callers
Method
_maybe_refresh_dependency_cache
Drop the in-process _dependency_cache if the sentinel file is newer than when the cache was built. One stat() call per __enter__.
src/omnipkg/loader.py:402
↓ 1 callers
Function
_measure
(fn, arr, n=ITERS)
src/omnipkg/tests/benchmark_transport.py:208
↓ 1 callers
Function
_menu_idle_config
Interactive idle-policy configurator. Shows current policy, lets the user edit counts per-version, and pushes changes to the daemon via
src/omnipkg/isolation/resource_monitor.py:424
↓ 1 callers
Function
_menu_kill
Interactive kill sub-menu (one-time process kill, not config change).
src/omnipkg/isolation/resource_monitor.py:351
↓ 1 callers
Function
_open_browser_silently
Open a URL in the default browser without letting Chrome/Chromium spew GPU errors and session noise into the terminal. Launches detached
src/omnipkg/apis/local_bridge.py:21
↓ 1 callers
Method
_organize_into_groups
Organize distributions into verification groups with Namespace Clustering. Returns: Dict mapping group_name -> {dists: [
src/omnipkg/installation/verification_strategy.py:212
↓ 1 callers
Method
_parse_pip_audit_output
Parses the JSON output from `pip audit` and transforms it into the same format used by the `safety` tool for consistency.
src/omnipkg/package_meta_builder.py:1541
↓ 1 callers
Method
_parse_record_for_modules
Parse the RECORD file to identify top-level modules.
src/omnipkg/package_meta_builder.py:2443
↓ 1 callers
Function
_patch_activate_script
Append a one-time source block to $VENV/bin/activate so that profile.d/omnipkg_pythons.sh is loaded in every shell that activates the ven
src/omnipkg/dispatcher.py:2462
↓ 1 callers
Function
_per_python_sha
Compute a deterministic SHA for a single Python version's sync state.
src/omnipkg/integration/reproducible.py:2144
↓ 1 callers
Function
_per_python_sha_check
Returns True if the stored SHA matches — safe to skip this Python.
src/omnipkg/integration/reproducible.py:2157
↓ 1 callers
Method
_perform_concurrent_healing
Performs concurrent healing only when necessary. This is the slow path - only hit when versions are actually out of sync. CR
src/omnipkg/core.py:6989
↓ 1 callers
Method
_perform_health_checks
FIXED: Passes the specific distribution to the verification function.
src/omnipkg/package_meta_builder.py:2229
↓ 1 callers
Method
_perform_redis_key_migration
Performs a one-time, automatic migration of Redis keys from the old global format to the new environment-and-python-specific format.
src/omnipkg/core.py:7396
↓ 1 callers
Method
_perform_safe_copy
Perform the actual copy operation with additional safety measures.
src/omnipkg/core.py:11396
↓ 1 callers
Method
_perform_sanity_check
Runs a quick functional test. Importing isn't enough - we need to verify the C++ backend is alive.
src/omnipkg/loader.py:5330
↓ 1 callers
Function
_pick_lock_file
Resolve which lock file to use for sync. Priority: 1. Explicit path passed by user/script → use it directly, no discovery. 2. fo
src/omnipkg/integration/reproducible.py:945
↓ 1 callers
Function
_post_import_cpp_stabilization
Apply post-import stabilization to C++ modules.
src/omnipkg/isolation/patchers.py:618
↓ 1 callers
Method
_prime_loader_cache
(NEW) Proactively builds the omnipkgLoader dependency cache if it doesn't exist. This ensures the first auto-healing run is as fast a
src/omnipkg/core.py:6441
↓ 1 callers
Function
_print_env_vars
Print all recognized omnipkg env vars with descriptions and current values.
src/omnipkg/cli.py:77
↓ 1 callers
Function
_print_exotic_platform_hint
()
setup.py:625
↓ 1 callers
Function
_print_sync_plan
( meta: dict, lock_pythons: dict, interp_map: dict, lock_path: Path, dry_run: bool, )
src/omnipkg/integration/reproducible.py:2211
↓ 1 callers
Method
_print_verification_summary
Print a formatted summary of verification results.
src/omnipkg/installation/verification_strategy.py:451
↓ 1 callers
Function
_push_binary_to_bin_dir
Push the already-compiled binary from native_bin into target_bin without recompiling. Used to heal adopted interpreter bin/ dirs that were a
src/omnipkg/dispatcher.py:993
↓ 1 callers
Method
_push_c_binary_to_adopted_bin
After adoption, push the native C dispatcher binary into the adopted interpreter's bin/ so 8pkg/omnipkg there are fast from the first
src/omnipkg/core.py:10938
↓ 1 callers
Function
_quick_lock_summary
Extract meta fields for the picker without a full parse.
src/omnipkg/integration/reproducible.py:685
↓ 1 callers
Function
_read_existing_sha
Read an existing lock file and return its content SHA. Returns None if the file doesn't exist or can't be parsed.
src/omnipkg/integration/reproducible.py:1361
↓ 1 callers
Method
_read_heal_cache
Reads the self-heal cache from a JSON file.
src/omnipkg/core.py:6768
↓ 1 callers
Method
_reap_stale
Remove workers idle longer than IDLE_TTL.
src/omnipkg/isolation/worker_daemon.py:6294
↓ 1 callers
Method
_register_plan_callback
(self, sp: Path)
src/omnipkg/installation/smart_install.py:525
↓ 1 callers
Function
_registry_lock
Cross-process mutex over a sentinel file. Falls through tiers until something works; warns if fully unprotected.
src/omnipkg/integration/reproducible.py:102
↓ 1 callers
Method
_release
Releases the lock and sets self._context.lock_file_fd to None.
src/omnipkg/_vendor/filelock/_api.py:134
↓ 1 callers
Method
_remove_ghost_dist_info
Remove orphaned .dist-info directories that have no corresponding package. Args: pkg_name: Original package name
src/omnipkg/core.py:9066
↓ 1 callers
Method
_resolve_spec_with_ancient_pip
(AUTHORITATIVE FIX) Fallback for ancient pip. When `pip download` fails, it intelligently parses the error and RAISES NoCompatiblePyt
src/omnipkg/core.py:11882
↓ 1 callers
Method
_resolve_spec_with_pip
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:239
↓ 1 callers
Method
_restore_cloaked_modules
Restore main-env cloaked modules using the safe lock queue.
src/omnipkg/loader.py:4428
↓ 1 callers
Method
_restore_from_pre_install_snapshot
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:465
↓ 1 callers
Method
_run_cli
(self, req, conn)
src/omnipkg/isolation/worker_daemon.py:4330
↓ 1 callers
Method
_run_conda_with_healing
Run a conda command with automatic corruption healing. Args: cmd_args: Conda command arguments (e.g., ['install', 'packa
src/omnipkg/core.py:12761
↓ 1 callers
Method
_run_import_verification_in_path
(THE ONE TRUE VERIFIER) Executes an import test for a list of candidate modules in a specific directory using an isolated subprocess.
src/omnipkg/package_meta_builder.py:2251
↓ 1 callers
Function
_run_interactive_controls
Top-level daemon management menu shown after the stats block.
src/omnipkg/isolation/resource_monitor.py:565
↓ 1 callers
Method
_run_isolated_test
Run compatibility test in completely isolated subprocess.
src/omnipkg/libresolver.py:432
↓ 1 callers
Method
_run_socket_server
Fixed version that works on Windows (TCP) and Unix (domain socket)
src/omnipkg/isolation/worker_daemon.py:3943
↓ 1 callers
Method
_run_sterile_verification
( self, staging_path: str, packages: List[Dict], is_group: bool, bu
src/omnipkg/installation/verification_strategy.py:338
↓ 1 callers
Method
_run_uv
Run a uv install through the DEDICATED UV worker for this Python. Architecture: - self.uv_workers[python_exe] - one p
src/omnipkg/isolation/worker_daemon.py:4606
↓ 1 callers
Method
_run_with_fork
(self, spec: str, code_to_run: str)
src/omnipkg/isolation/switchers.py:30
↓ 1 callers
Method
_run_with_worker
(self, spec: str, code_to_run: str)
src/omnipkg/isolation/switchers.py:50
↓ 1 callers
Function
_safe_resolve
Resolve a path safely for omnipkg identity and path comparisons. Uses resolve() when possible, falls back to absolute() if resolution fails.
src/omnipkg/common_utils.py:904
↓ 1 callers
Method
_safe_restore_from_snapshot
Safely restores environment state using snapshot data instead of trusting pip. Args: package_name: The package that trig
src/omnipkg/core.py:12066
↓ 1 callers
Method
_save_compatibility_matrix
Save compatibility test results.
src/omnipkg/libresolver.py:108
↓ 1 callers
Function
_save_global_registry
(reg: dict)
src/omnipkg/integration/reproducible.py:1169
↓ 1 callers
Method
_save_last_known_good_snapshot
(self, *a, **kw)
src/omnipkg/installation/smart_install.py:471
↓ 1 callers
Method
_save_path_registry
Save the file path registry to JSON with atomic write.
src/omnipkg/core.py:3686
↓ 1 callers
Method
_schedule_background_kb_scan
(self, bubble_paths: Dict[str, Path], python_version: str)
src/omnipkg/installation/smart_install.py:501
↓ 1 callers
Method
_score_wheel_compatibility
Score a wheel filename for compatibility with current platform. Higher score = better match. Returns 0 if incompatible.
src/omnipkg/core.py:14700
↓ 1 callers
Method
_select_best_file
Select the best file (wheel or sdist) for the current platform. Returns the file dict or None if no compatible file found.
src/omnipkg/core.py:14771
↓ 1 callers
Method
_self_heal_omnipkg_installation
(V25 - FILE-BASED CACHE) Ultra-fast version checking with persistent cache. CRITICAL SAFETY RULES: 1. Only the NATIVE interp
src/omnipkg/core.py:6620
↓ 1 callers
Function
_set_callback_result
Called by the plan callback after a successful intercept.
src/omnipkg/installation/installers.py:53
← previous
next →
701–800 of 1,775, ranked by callers