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
↓ 1 callers
Function
check_resources
( min_ram_mb: int = 100, min_battery: int = 20 )
use_cases/smart_grid_maintenance.py:35
↓ 1 callers
Function
check_resources
( min_ram_mb: int = 50, min_battery: int = 20 )
use_cases/telecom_power_monitor.py:36
↓ 1 callers
Function
check_resources
( min_ram_mb: int = 40, min_battery: int = 20 )
use_cases/solar_scheduling.py:34
↓ 1 callers
Function
check_resources
( min_ram_mb: int = 20, min_battery: int = 10 )
use_cases/triage_tool.py:33
↓ 1 callers
Function
check_resources
( min_ram_mb: int = 50, min_battery: int = 20 )
use_cases/offline_crop_diagnosis.py:35
↓ 1 callers
Function
check_resources
( min_ram_mb: int = 30, min_battery: int = 15 )
use_cases/offline_survey_flow.py:35
↓ 1 callers
Function
check_resources
Check available RAM and battery level.
examples/edge_mcu_sensor_processing.py:37
↓ 1 callers
Function
check_resources
Return resource info and whether it's safe to proceed.
examples/multi_ai_diagnosis.py:37
↓ 1 callers
Function
check_resources
( min_ram_mb: int = 100, min_battery: int = 20 )
examples/mobile_edge_inference.py:44
↓ 1 callers
Function
classify
(rows)
examples/csv_clean_classify/workflow.py:16
↓ 1 callers
Function
classify_images
(paths: List[Path] | None)
use_cases/offline_crop_diagnosis.py:70
↓ 1 callers
Method
cleanup
(self)
tests/test_parsl_bridge.py:49
↓ 1 callers
Function
cli
Parse command line arguments and dispatch the chosen command.
parslet/main_cli.py:18
↓ 1 callers
Function
compute_cache_key
Compute a deterministic hash for a task invocation. Parameters ---------- task_name: Registered name of the task. args:
parslet/core/cache.py:33
↓ 1 callers
Function
convert_dask_to_parslet
Convert Dask-based code string to Parslet syntax.
parslet/compat/dask_adapter.py:84
↓ 1 callers
Function
convert_grayscale
Converts a Pillow Image object to grayscale.
examples/image_filter.py:22
↓ 1 callers
Function
convert_parsl_to_parslet
Convert Parsl-based code string to Parslet syntax.
parslet/compat/parsl_adapter.py:63
↓ 1 callers
Function
convert_parslet_to_parsl
Convert Parslet-based code string to Parsl syntax.
parslet/compat/parsl_adapter.py:86
↓ 1 callers
Function
copy_files
(files: List[Path] | None, dest: Path)
use_cases/offline_edu_content_builder.py:72
↓ 1 callers
Function
count_frames
(frames: List[Path])
examples/video_frames.py:42
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/offline_edu_content_builder.py:26
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/shared_hub_jobs.py:24
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/smart_grid_maintenance.py:26
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/telecom_power_monitor.py:27
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/solar_scheduling.py:25
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/triage_tool.py:24
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/offline_crop_diagnosis.py:26
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
use_cases/offline_survey_flow.py:26
↓ 1 callers
Function
create_output_dir
Create a timestamped results directory.
examples/edge_mcu_sensor_processing.py:27
↓ 1 callers
Function
create_output_dir
Create timestamped result directory.
examples/multi_ai_diagnosis.py:25
↓ 1 callers
Function
create_output_dir
(base: str | None = None)
examples/mobile_edge_inference.py:35
↓ 1 callers
Function
dag_to_dot_string
Generates a DOT language string representation of the Parslet DAG. The DOT language is a plain text graph description language. This string
parslet/core/exporter.py:126
↓ 1 callers
Function
decorator
(func)
parslet/compat/parsl_adapter.py:266
↓ 1 callers
Function
decorator_parslet_task
( func_to_wrap: Callable[..., Any], )
parslet/core/task.py:305
↓ 1 callers
Function
delay_if_low
(threshold: int = 20)
examples/photo_enhancer/workflow.py:9
↓ 1 callers
Function
delayed
Dask ``delayed`` decorator mapped to :func:`parslet_task`.
parslet/compat/dask_adapter.py:219
↓ 1 callers
Function
detect_anomalies
Return indices where a spike/drop occurs.
examples/edge_mcu_sensor_processing.py:78
↓ 1 callers
Function
echo_message
(msg)
tests/test_parsl_adapter_runtime.py:60
↓ 1 callers
Function
enhance
(img: Image.Image)
examples/photo_enhancer/workflow.py:22
↓ 1 callers
Function
ensure_sample_video
Ensure a small sample.mp4 video exists and return its path.
examples/utils.py:22
↓ 1 callers
Function
evaluate
( data: Dict[str, float] | None, threshold: float = 80.0 )
use_cases/smart_grid_maintenance.py:71
↓ 1 callers
Function
ex_task_a
()
parslet/core/exporter.py:256
↓ 1 callers
Function
ex_task_b
(dep_a)
parslet/core/exporter.py:260
↓ 1 callers
Function
ex_task_c
(dep_b)
parslet/core/exporter.py:264
↓ 1 callers
Function
execute_hybrid
Execute a workflow mixing local and Parsl-backed tasks. Tasks are automatically routed to the remote Parsl backend when they are defined with
parslet/hybrid/executor.py:16
↓ 1 callers
Function
execute_with_parsl
Execute a Parslet workflow using Parsl's runtime. ``entry_futures`` should be the same list returned by your workflow's ``main()`` function.
parslet/core/parsl_bridge.py:72
↓ 1 callers
Function
expensive
()
tests/test_energy_policy_ordering.py:7
↓ 1 callers
Function
export_dask_dag
Export a Parslet DAG to a Dask-style Python script.
parslet/compat/dask_adapter.py:169
↓ 1 callers
Function
extract_frames
Save all frames from ``video_path`` to ``out_dir``.
examples/video_frames.py:20
↓ 1 callers
Function
fail
()
tests/test_parsl_adapter_runtime.py:71
↓ 1 callers
Function
finalize_results
( res_a: Dict[str, Optional[float]], res_b: Dict[str, Optional[float]], resources: Dict[str, Optio
examples/multi_ai_diagnosis.py:176
↓ 1 callers
Function
flaky
()
tests/test_retries.py:8
↓ 1 callers
Function
fragile
()
tests/test_failsafe_mode.py:5
↓ 1 callers
Function
gather_files
(src: str, resources: Dict[str, bool])
use_cases/offline_edu_content_builder.py:52
↓ 1 callers
Function
gather_images
( folder: str, resources: Dict[str, bool] )
use_cases/offline_crop_diagnosis.py:52
↓ 1 callers
Function
generate_schedule
(values: List[float])
use_cases/solar_scheduling.py:72
↓ 1 callers
Function
generate_sensor_data
Simulate raw sensor readings with occasional spikes.
examples/edge_mcu_sensor_processing.py:55
↓ 1 callers
Function
get_parslet_logger
Return a logger configured for Parslet CLI and library use. If ``rich`` is available, logs will be pretty-printed using ``RichHandler``; othe
parslet/utils/__init__.py:22
↓ 1 callers
Function
import_dask_script
Convert a simple Dask workflow file to Parslet syntax.
parslet/compat/dask_adapter.py:92
↓ 1 callers
Function
inc
(x)
tests/test_benchmarks.py:5
↓ 1 callers
Function
is_vpn_active
Return True if a VPN-like network interface is detected.
parslet/utils/network_utils.py:32
↓ 1 callers
Function
load_csv
(path: str)
examples/csv_clean_classify/workflow.py:7
↓ 1 callers
Function
load_forms
(path: str, resources: Dict[str, bool])
use_cases/triage_tool.py:50
↓ 1 callers
Function
load_from_cache
Load a cached value for ``key`` if present.
parslet/core/cache.py:71
↓ 1 callers
Function
load_image
( image_path: str, resources: Dict[str, Optional[float]] )
examples/multi_ai_diagnosis.py:56
↓ 1 callers
Function
load_image
(path: str, resources: Dict[str, bool])
examples/mobile_edge_inference.py:61
↓ 1 callers
Function
load_image
Loads an image using Pillow and returns an Image object.
examples/image_filter.py:8
↓ 1 callers
Function
load_image
(path: str)
examples/photo_enhancer/workflow.py:17
↓ 1 callers
Function
load_jobs
(path: str, resources: Dict[str, bool])
use_cases/shared_hub_jobs.py:50
↓ 1 callers
Function
load_plugins
Load plugin modules from the plugins folder.
parslet/plugins/loader.py:12
↓ 1 callers
Function
load_power_log
(path: str, resources: Dict[str, bool])
use_cases/solar_scheduling.py:51
↓ 1 callers
Function
load_responses
( path: str, resources: Dict[str, bool] )
use_cases/offline_survey_flow.py:52
↓ 1 callers
Function
main
(src: str = "./content")
use_cases/offline_edu_content_builder.py:101
↓ 1 callers
Function
main
(queue_path: str = "jobs.json")
use_cases/shared_hub_jobs.py:83
↓ 1 callers
Function
main
(log_path: str = "grid.log")
use_cases/smart_grid_maintenance.py:115
↓ 1 callers
Function
main
(log_path: str = "tower_power.csv")
use_cases/telecom_power_monitor.py:126
↓ 1 callers
Function
main
(log_path: str = "power.csv")
use_cases/solar_scheduling.py:93
↓ 1 callers
Function
main
(forms_path: str = "forms.csv")
use_cases/triage_tool.py:99
↓ 1 callers
Function
main
(image_folder: str = "./images")
use_cases/offline_crop_diagnosis.py:105
↓ 1 callers
Function
main
(file_path: str = "survey.csv")
use_cases/offline_survey_flow.py:107
↓ 1 callers
Function
main
Entry point used by the ``parslet`` console script.
parslet/main_cli.py:412
↓ 1 callers
Function
main
()
examples/edge_mcu_sensor_processing.py:113
↓ 1 callers
Function
main
(image_path: str | None = None)
examples/rad_pipeline.py:24
↓ 1 callers
Function
main
(image_name: str = "scan.png")
examples/multi_ai_diagnosis.py:215
↓ 1 callers
Function
main
r""" Defines the main workflow graph for this "Hello, Parslet!" example. This function is the designated entry point for the Parslet CLI. It
examples/hello.py:139
↓ 1 callers
Function
main
(video_path: str)
examples/video_frames.py:46
↓ 1 callers
Function
main
(image_path: str | None = None)
examples/mobile_edge_inference.py:116
↓ 1 callers
Function
main
Defines the image filtering DAG and returns terminal futures.
examples/image_filter.py:64
↓ 1 callers
Function
main
()
examples/photo_enhancer/workflow.py:33
↓ 1 callers
Function
main
(image_path: str | None = None, out_dir: str = "rad_results")
examples/rad_parslet/rad_dag.py:14
↓ 1 callers
Function
main
()
examples/csv_clean_classify/workflow.py:32
↓ 1 callers
Function
make_stub_parsl
()
tests/test_parsl_bridge.py:23
↓ 1 callers
Function
make_stub_parsl
()
tests/test_hybrid.py:18
↓ 1 callers
Function
model_a_inference
( img: Optional[np.ndarray], out_dir: Path, resources: Dict[str, Optional[float]], )
examples/multi_ai_diagnosis.py:96
↓ 1 callers
Function
model_b_inference
( img: Optional[np.ndarray], out_dir: Path, resources: Dict[str, Optional[float]], )
examples/multi_ai_diagnosis.py:136
↓ 1 callers
Function
normalize_names
Ensure task names are unique by appending numeric suffixes. The function mutates the supplied ``IRTask`` instances and returns a new dictiona
parslet/core/ir.py:88
↓ 1 callers
Function
one
()
tests/test_parsl_bridge.py:111
↓ 1 callers
Function
one
()
tests/test_hybrid.py:90
↓ 1 callers
Method
order
Return tasks sorted by priority for the given power state.
parslet/core/policy.py:59
↓ 1 callers
Function
parse_log
( log_path: str, resources: Dict[str, bool] )
use_cases/smart_grid_maintenance.py:52
← previous
next →
101–200 of 437, ranked by callers