Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kanegraffiti/Parslet
/ functions
Functions
437 in github.com/Kanegraffiti/Parslet
⨍
Functions
437
◇
Types & classes
46
Function
fake_create_connection
(addr, timeout=0)
tests/test_network_utils.py:15
Function
fake_net_if_addrs
()
tests/test_network_utils.py:39
Function
fake_ram
()
tests/test_scheduler.py:8
Function
fake_run
(cmd, check, stdout, stderr)
tests/test_file_relay.py:9
Function
first
()
tests/test_task.py:32
Function
first
()
tests/test_security.py:16
Function
get_all_registered_tasks
Returns a copy of the global task registry. Returns: Dict[str, Callable[..., Any]]: A dictionary mapping registered task
parslet/core/task.py:429
Method
get_dependents
Returns a list of task IDs that directly depend on (are successors of) the specified task. Args: task_id (str):
parslet/core/dag.py:328
Function
get_task_from_registry
Retrieves a task function from the global task registry by its name. Note: Parslet primarily operates on direct function references passed t
parslet/core/task.py:405
Function
handle
(exc: Exception)
parslet/utils/parslet_defcon.py:50
Function
import_dag_from_json
(path: str)
parslet/core/dag_io.py:53
Function
load
(config)
tests/test_parsl_bridge.py:58
Function
load
(config)
tests/test_hybrid.py:53
Function
main
()
examples/policy_example.py:13
Function
main
Build and run a DAG with a cached task.
examples/cached_task.py:13
Function
main
()
examples/compat/dask_demo.py:11
Function
main
()
examples/compat/parsl_demo.py:11
Function
parsl_python
Expose a Parsl ``python_app`` as a Parslet task. The returned callable behaves like a normal ``@parslet_task`` function but its body executes
parslet/core/parsl_bridge.py:150
Function
parsl_task
(*args, **kwargs)
parslet/core/parsl_bridge.py:66
Function
parslet_workflow
Mark a callable as a Parslet workflow entrypoint. This removes the requirement for users to remember the ``main`` naming convention in workfl
parslet/core/task.py:40
Function
ping
()
parslet/tasks/basic.py:5
Method
predict
(self, image)
tests/test_rad_parslet.py:35
Method
predict
(self, image: Image.Image)
examples/rad_parslet/rad_parslet.py:62
Function
process_full
()
tests/test_variants_selection.py:5
Function
pytest_sessionstart
Allow task redefinition across tests by default.
tests/conftest.py:6
Function
python_app
(func=None, *, executor=None)
tests/test_parsl_bridge.py:26
Function
python_app
(func)
tests/test_hybrid.py:21
Function
redefine
()
tests/test_task.py:57
Method
register_detector
Register a custom boolean detector.
parslet/core/context.py:66
Function
sandbox_task
Defcon 2: decorator to prevent unsafe operations.
parslet/utils/parslet_defcon.py:35
Method
schedule
Placeholder for future advanced scheduling logic.
parslet/core/scheduler.py:39
Function
second
()
tests/test_task.py:38
Function
second
()
tests/test_security.py:22
Function
sensitive
(x: int)
tests/test_task.py:13
Function
stub_parsl
(monkeypatch)
tests/test_parsl_bridge.py:80
Function
stub_parsl
(monkeypatch)
tests/test_hybrid.py:75
Function
task_variant
Decorator to mark a function as an alternate implementation. Variants allow tasks to provide lighter or heavier implementations that the sche
parslet/core/task.py:440
Function
test_analysis_disagreement
(tmp_path, monkeypatch)
tests/test_rad_parslet.py:30
Function
test_analysis_low_battery
(tmp_path, monkeypatch)
tests/test_rad_parslet.py:51
Function
test_analysis_success
(tmp_path, monkeypatch)
tests/test_rad_parslet.py:17
Function
test_bash_app_decorator_executes_with_parslet
()
tests/test_parsl_adapter_runtime.py:58
Function
test_bash_app_decorator_handles_errors
()
tests/test_parsl_adapter_runtime.py:69
Function
test_battery_mode_reduces_workers
(monkeypatch)
tests/test_scheduler.py:4
Function
test_battery_sensitive_metadata
()
tests/test_task.py:23
Function
test_battery_sensitive_prints_skip_notice
(monkeypatch, capsys)
tests/test_battery_sensitive.py:40
Function
test_battery_sensitive_skipped
(monkeypatch)
tests/test_battery_sensitive.py:10
Function
test_benchmark_output_contains_task
()
tests/test_benchmarks.py:9
Function
test_cli_convert_from_parsl
(tmp_path: Path, monkeypatch: MonkeyPatch)
tests/test_cli_convert.py:38
Function
test_cli_convert_to_parsl
(tmp_path: Path, monkeypatch: MonkeyPatch)
tests/test_cli_convert.py:9
Function
test_cli_examples_all_files
(capsys)
tests/test_cli.py:45
Function
test_cli_examples_listing
(capsys)
tests/test_cli.py:16
Function
test_cli_help
(capsys, monkeypatch)
tests/test_cli.py:7
Function
test_cli_help_option
(capsys)
tests/test_cli.py:27
Function
test_cli_invalid_argument
(capsys)
tests/test_cli.py:36
Function
test_cli_run_exports_parsl
(tmp_path: Path, monkeypatch)
tests/test_parsl_auto.py:22
Function
test_cli_top_level_help_shows_contexts_and_cache
(capsys: pytest.CaptureFixture[str])
tests/test_cli_help.py:20
Function
test_compute_multiple_tasks
()
tests/test_dask_adapter_runtime.py:18
Function
test_context_oracle_battery_threshold
(monkeypatch: pytest.MonkeyPatch)
tests/test_context_oracle.py:16
Function
test_context_oracle_manual_enable
()
tests/test_context_oracle.py:9
Function
test_convert_task_to_parsl_executes
(tmp_path, stub_parsl)
tests/test_parsl_bridge.py:89
Function
test_dag_build_and_topological_order
()
tests/test_dag.py:14
Function
test_dask_conversion_simple
()
tests/test_compat_conversion.py:22
Function
test_dask_translator_handles_aliased_decorator
()
tests/test_dask_adapter_module.py:70
Function
test_dask_translator_handles_aliased_delayed_function_call
()
tests/test_dask_adapter_module.py:99
Function
test_dask_translator_handles_delayed_function_call
()
tests/test_dask_adapter_module.py:84
Function
test_dask_translator_handles_module_decorator
()
tests/test_dask_adapter_module.py:53
Function
test_dask_translator_replaces_decorator_and_compute
()
tests/test_dask_adapter_module.py:36
Function
test_delayed_decorator_and_compute
()
tests/test_dask_adapter_runtime.py:5
Function
test_dfk_stub_warns
()
tests/test_parsl_adapter_runtime.py:81
Function
test_execute_hybrid_mixes_local_and_remote
(stub_parsl)
tests/test_hybrid.py:86
Function
test_execute_with_dask_client
()
tests/test_dask_bridge.py:55
Function
test_execute_with_dask_threads
()
tests/test_dask_bridge.py:41
Function
test_execute_with_parsl_creates_run_dir
(stub_parsl)
tests/test_parsl_bridge.py:107
Function
test_export_import_dag
(tmp_path)
tests/test_dag_io.py:14
Function
test_failsafe_serial_execution
()
tests/test_failsafe_mode.py:12
Function
test_failure_log_contains_task_details
( caplog: pytest.LogCaptureFixture, )
tests/test_fail_messages.py:9
Function
test_file_relay_calls_scp
(monkeypatch, tmp_path)
tests/test_file_relay.py:6
Function
test_force_redefine_allows_protected_task
()
tests/test_task.py:46
Function
test_get_power_state_returns_snapshot
()
tests/test_power_providers.py:4
Function
test_ignore_battery_runs
(monkeypatch)
tests/test_battery_sensitive.py:25
Function
test_infer_edges_and_toposort
()
tests/test_ir_helpers.py:11
Function
test_is_network_available_false
(monkeypatch)
tests/test_network_utils.py:26
Function
test_is_network_available_true
(monkeypatch)
tests/test_network_utils.py:14
Function
test_is_vpn_active_false
(monkeypatch)
tests/test_network_utils.py:51
Function
test_is_vpn_active_true
(monkeypatch)
tests/test_network_utils.py:38
Function
test_load_module_auto_converts
(tmp_path: Path)
tests/test_parsl_auto.py:8
Function
test_low_battery_prefers_low_energy
()
tests/test_energy_policy_ordering.py:16
Function
test_model_hash
()
tests/test_rad.py:4
Function
test_name_collision_and_allow_redefine
()
tests/test_security.py:11
Function
test_normalize_names
()
tests/test_ir_helpers.py:22
Function
test_offline_guard_blocks_socket
()
tests/test_security.py:63
Function
test_parsl_conversion_simple
()
tests/test_compat_conversion.py:8
Function
test_parsl_python_runs_under_parsl
(stub_parsl)
tests/test_parsl_bridge.py:135
Function
test_parsl_translator_replaces_decorators
()
tests/test_parsl_adapter_module.py:41
Function
test_parsl_translator_warns_dfk
()
tests/test_parsl_adapter_module.py:53
Function
test_parslet_task_decorator_returns_future
()
tests/test_task.py:17
Function
test_parslet_to_parsl_conversion_simple
()
tests/test_compat_conversion.py:38
Function
test_policy_expands_to_cap
(monkeypatch: pytest.MonkeyPatch)
tests/test_policy.py:18
Function
test_policy_shrinks_on_low_battery
( monkeypatch: pytest.MonkeyPatch, )
tests/test_policy.py:7
Function
test_protected_task_redefinition_error
()
tests/test_task.py:27
← previous
next →
301–400 of 437, ranked by callers