MCPcopy Create free account

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

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

Methodexecute
Backward compatibility wrapper for legacy execute calls. Maps the new SHM-based task system to the old dictionary format.
src/omnipkg/isolation/worker_daemon.py:2597
Methodexecute
Simple entrypoint. Run code in an isolated worker with spec installed. Args: spec: Package spec, e.g. "rich==13.4.
src/omnipkg/isolation/worker_daemon.py:6345
Functionexecute_fighter
(name, spec, code)
src/omnipkg/tests/test_loader_stress_test.py:652
Methodexecute_optimistic_write
( self, spec: str, code_template: str, control_block_name: str, tenso
src/omnipkg/isolation/worker_daemon.py:6872
Functionexecute_universe
Execute computation in one universe.
src/omnipkg/tests/test_loader_stress_test.py:2848
Methodexecute_with_activity_monitoring
Execute task while monitoring worker activity. Only timeout if worker is idle, not if it's actively working. Args:
src/omnipkg/isolation/worker_daemon.py:2891
Methodexists
(self, key)
src/omnipkg/cache.py:223
Methodextract_required_dependency
Extracts the first specific conflicting package==version from the error message.
src/omnipkg/common_utils.py:400
Methodfake_execv
(path, args)
tests/test_dispatcher_contracts.py:293
Methodfake_run
(cmd, **kw)
tests/test_dispatcher_contracts.py:696
Functionffi_stamp_write
src/omnipkg/dispatcher.c:1213
Methodfind_bubbles_for_package
Finds all bubbles containing a specific package.
src/omnipkg/core.py:5955
Methodfind_spec
(self, fullname, path, target=None)
src/omnipkg/activator.py:64
Methodfind_true_venv_root
Helper to find the true venv root by looking for pyvenv.cfg, which is reliable across different Python interpreters within the same v
src/omnipkg/core.py:2285
Functionfind_venv_root
Find the virtual environment root (legacy function for compatibility).
src/omnipkg/dispatcher.py:2086
Methodfinish
(self)
src/omnipkg/loader.py:157
Functionfpf
()
tests/test_flask_port_finder.py:78
Functiongenius_import
Lazy import hook that only handles TF/PyTorch/NumPy when encountered. NOW WITH STANDARD LIBRARY SAFEGUARD to prevent interference wit
src/omnipkg/isolation/patchers.py:255
Methodget
(self, key)
src/omnipkg/cache.py:162
Methodget
(self, key)
src/omnipkg/cache.py:425
Functionget_affected_groups
Get all verification groups affected by a list of packages. Args: package_names: List of package names Returns: List of
src/omnipkg/installation/verification_groups.py:170
Functionget_all_constraints_for_package
Get all dependency constraints for a package. Returns: Dict mapping dependency name to constraint
src/omnipkg/installation/dependency_constraints.py:146
Methodget_all_versions
Get all versions (active + bubbled) for a package
src/omnipkg/core.py:10347
Methodget_any_available_version
Gets any available version of a package. If prefer_bubble=True, prioritizes finding a bubble version. Falls back to main/acti
src/omnipkg/core.py:8187
Methodget_available_versions
(FIXED) Correctly gets all available versions (active and bubbled) for a package by using the correct Redis command (SMEMBERS) for se
src/omnipkg/core.py:16358
Methodget_best_python_for_version_range
Find the best Python interpreter for a given version range.
src/omnipkg/core.py:2331
Functionget_bin_paths
Get binary paths to index
src/omnipkg/package_meta_builder.py:100
Methodget_bubble_info
Retrieves comprehensive bubble information from Redis registry.
src/omnipkg/core.py:5945
Methodget_compatibility_report
Generate a human-readable compatibility report.
src/omnipkg/libresolver.py:700
Functionget_global_registry_summary
Return a list of known build states for display/CLI use. Each entry: {sha, n_envs, env_names, native_python, created_at, last_seen}
src/omnipkg/integration/reproducible.py:1284
Functionget_group_members
Get all packages in the same verification group. Args: package_name: Canonical package name Returns: Set of canonical p
src/omnipkg/installation/verification_groups.py:154
Methodget_hello
Get the hello greeting for a language.
src/omnipkg/i18n.py:381
Functionget_import_compat_spec
Returns a pinned pip spec (e.g. 'h11==0.14.0') if there's a known compatibility constraint for this package, else None.
src/omnipkg/installation/dependency_constraints.py:51
Methodget_language_code
(self)
src/omnipkg/i18n.py:366
Functionget_language_info
Get complete language information for a given code.
src/omnipkg/i18n.py:428
Methodget_language_name
Get the human-readable name of a language.
src/omnipkg/i18n.py:369
Methodget_native_name
Get the native name of a language.
src/omnipkg/i18n.py:375
Methodget_package_info
(self, package_name: str, version: str)
src/omnipkg/core.py:14000
Methodget_quantum_healing_context
Returns a dictionary with all the context needed for quantum healing.
src/omnipkg/core.py:6259
Functionget_supported_language_codes
Return a list of all supported language codes.
src/omnipkg/i18n.py:422
Methodget_tag
(self)
setup.py:755
Methodget_version
Get package version, works in both worker and in-process mode.
src/omnipkg/loader.py:6053
Methodget_version
Query the worker for a package version.
src/omnipkg/isolation/workers.py:233
Methodget_version
(self, package_name)
src/omnipkg/isolation/worker_daemon.py:7656
Methodget_version_key
Extracts a sortable version key from a package spec.
src/omnipkg/core.py:10637
Methodget_worker_pool_stats
Get statistics about the current worker pool.
src/omnipkg/loader.py:590
Methodgrab
()
tests/test_flask_port_finder.py:158
Methodgreedy_worker
(thread_id)
src/omnipkg/tests/test_flask_port_finder_universal.py:70
Methodhammerer
(thread_id, spec)
tests/test_omnipkg_contracts.py:403
Methodhdel
(self, key, *fields)
src/omnipkg/cache.py:287
Methodhdel
(self, key, *fields)
src/omnipkg/cache.py:408
Functionheal_file
Quick function to heal a file. Args: filepath: Path to Python file verbose: Print detailed healing messages aggressi
src/omnipkg/utils/ai_import_healer.py:399
Methodheal_import_error
Analyze an import error and automatically fix it by finding compatible system library versions.
src/omnipkg/libresolver.py:740
Functionhealed_issubdtype
A wrapper around the original issubdtype that prevents re-entry.
src/omnipkg/isolation/patchers.py:215
Functionhealth
()
src/omnipkg/apis/local_bridge.py:463
Functionhft_register
(name, rtype)
src/omnipkg/isolation/worker_daemon.py:536
Functionhft_trader
(thread_id, spec)
src/omnipkg/tests/test_loader_stress_test.py:3315
Functionhft_unregister
(name, rtype)
src/omnipkg/isolation/worker_daemon.py:541
Methodhget
(self, key, field)
src/omnipkg/cache.py:275
Methodhget
Queues an HGET command.
src/omnipkg/cache.py:412
Methodhgetall
(self, name: str)
src/omnipkg/cache.py:103
Methodhgetall
(self, key)
src/omnipkg/cache.py:386
Methodhkeys
(self, name: str)
src/omnipkg/cache.py:337
Methodhook_manager
(self)
src/omnipkg/installation/smart_install.py:215
Methodhset
(self, key, field=None, value=None, mapping=None)
src/omnipkg/cache.py:111
Methodhset
(self, key, field=None, value=None, mapping=None)
src/omnipkg/cache.py:390
Methodinstall
( self, packages: List[str], dry_run: bool = False, force_reinstall: bool = Fa
src/omnipkg/installation/smart_install.py:851
Functioninstall_hook
Installs the omnipkg import hook if not already active
src/omnipkg/activator.py:84
Functioninstall_omnipkg
🔒 HARDCODED INSTALLATION ENDPOINT Only installs omnipkg from PyPI. No user arguments accepted.
src/omnipkg/apis/local_bridge.py:517
Methodinstall_package_with_version
Install a package using a specific Python version.
src/omnipkg/core.py:3487
Methodinvalidate_cache_entry
Explicitly remove a cache entry, e.g., after an install failure.
src/omnipkg/core.py:16930
Methodis_daemon_running
Check if daemon is currently running Works on both Windows and Unix
src/omnipkg/isolation/worker_daemon.py:6785
Functionis_interactive_session
()
src/omnipkg/integration/reproducible.py:967
Methodis_locked
:return: A boolean indicating if the lock file is holding the lock currently. .. versionchanged:: 2.0.0 This was previ
src/omnipkg/_vendor/filelock/_api.py:139
Methodis_supported
Check if a language code is supported.
src/omnipkg/i18n.py:387
Methodis_thread_local
:return: a flag indicating if this lock is thread local or not
src/omnipkg/_vendor/filelock/_api.py:101
Functionis_verbose
Returns True if verbose output is enabled. Set by any of: - 8pkg --verbose / -V (CLI flag — writes OMNIPKG_VERBOSE=1 to env)
src/omnipkg/common_utils.py:726
Methodkeys
(self, pattern)
src/omnipkg/cache.py:250
Functionlist_hooks
List all registered hooks. Returns: Dict mapping hook types to list of function names
src/omnipkg/installation/verification_hooks.py:248
Functionload64
(addr)
src/omnipkg/isolation/__init__.py:14
Methodlock_counter
:return: The number of times this lock has been acquired (but not yet released).
src/omnipkg/_vendor/filelock/_api.py:151
Methodlock_file
:return: path to the lock file
src/omnipkg/_vendor/filelock/_api.py:106
Methodlock_file
:return: The path of the file lock.
src/omnipkg/_vendor/filelock/_error.py:23
Functionlog_failure_details
Log detailed failure info for debugging.
src/omnipkg/installation/verification_hooks.py:126
Functionmain
src/omnipkg/ghost.c:58
Functionmain
src/omnipkg/dispatcher.c:1536
Functionmain
src/omnipkg/windows_bootstrap/bootstrap.c:32
Methodmark
(self, name, category="YOUR_CODE", fixable=True, notes="")
src/omnipkg/loader.py:151
Functionmd5_file
md5_file: compute hex MD5 of a file into out (33 bytes incl NUL). * Returns 1 on success, 0 on error. */
src/omnipkg/dispatcher.c:306
Functionmock_native
A synthetic _native module that mimics the PyO3 .so surface. Used to test __init__.py logic without a compiled binary.
tests/test_uv_ffi_contracts.py:93
Methodmy_cb
(entries)
tests/test_uv_ffi_contracts.py:406
Methodnuke_all_cloaks_for_package
Nuclear option: Find and destroy ALL cloaked versions of a package. This is a recovery tool for when cloaking gets out of control.
src/omnipkg/loader.py:1388
Functionomnipkg_basename
src/omnipkg/dispatcher.c:96
Functionomnipkg_dirname
dirname / basename for Windows paths */
src/omnipkg/dispatcher.c:87
Methodon_moved
(self, event)
src/omnipkg/isolation/fs_watcher.py:582
Methodoptimistic_update_atomic
TRUE HARDWARE CAS. Replaces try_lock_and_validate for the C++ path.
src/omnipkg/isolation/worker_daemon.py:6854
Functionpersistent_worker
(in_q, out_q)
src/omnipkg/isolation/gpu_ipc.py:128
Methodping
(self)
src/omnipkg/cache.py:266
Methodpipeline
Returns a new, dedicated pipeline object for each call.
src/omnipkg/cache.py:345
Functionpkg_canonical
Canonical package name for comparisons and storage keys (PEP 503).
src/omnipkg/common_utils.py:958
← previousnext →1,401–1,500 of 1,775, ranked by callers