Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/idank/explainshell
/ functions
Functions
2,183 in github.com/idank/explainshell
⨍
Functions
2,183
◇
Types & classes
195
↳
Endpoints
100
↓ 8 callers
Function
hr
(n,t)
explainshell/web/static/js/d3.v3.min.js:2
↓ 8 callers
Function
je
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 8 callers
Method
manpage_cache_info
(self)
explainshell/caching_store.py:186
↓ 8 callers
Function
parse_json_response
Strip markdown fences, find outermost {…}, parse JSON.
explainshell/extraction/llm/response.py:36
↓ 8 callers
Function
projection
(point)
explainshell/web/static/js/d3.v3.js:2887
↓ 8 callers
Function
render_markdown
Convert markdown text to HTML. Falls through to escaped text on error.
explainshell/web/markdown.py:7
↓ 8 callers
Function
round
(date)
explainshell/web/static/js/d3.v3.js:7869
↓ 8 callers
Function
s
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 7 callers
Function
Kt
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 7 callers
Function
N
(e,t,n={})
explainshell/web/static/js/highlight.min.js:60
↓ 7 callers
Function
Si
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:2
↓ 7 callers
Function
W
explainshell/web/static/js/highlight.min.js:106
↓ 7 callers
Function
X
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:1
↓ 7 callers
Function
_estimate_text_size
(text: str | None)
explainshell/caching_store.py:41
↓ 7 callers
Function
_fake_codex
Return a codex_bin command list that runs *script* via bash -c. The ``--`` serves as argv0 so the provider's arguments (``exec --json …``) la
tests/extraction/llm/test_codex_provider.py:15
↓ 7 callers
Method
_make_items
Build work items with the given chunk counts.
tests/extraction/test_runner.py:1041
↓ 7 callers
Function
_make_raw
Build a minimal RawManpage for test use.
tests/test_db_check.py:11
↓ 7 callers
Method
_make_report
(self, **overrides)
tests/test_manager.py:2651
↓ 7 callers
Function
_subset_has_cross_reference
Check if subset's description mentions any of the superset's extra flags. This guards against false-positive subset merges that occur when the LL
explainshell/extraction/postprocess.py:94
↓ 7 callers
Method
addText
(e)
explainshell/web/static/js/highlight.min.js:19
↓ 7 callers
Function
cached_store_factory
Build file-backed read-only CachingStore instances for tests.
tests/test_caching_store.py:35
↓ 7 callers
Function
createPositionalPseudo
( fn )
explainshell/web/static/js/jquery.js:4487
↓ 7 callers
Function
d3_geo_projection
(project)
explainshell/web/static/js/d3.v3.js:2877
↓ 7 callers
Function
d3_rgb
(r, g, b)
explainshell/web/static/js/d3.v3.js:1371
↓ 7 callers
Function
d3_time_interval
(local, step, number)
explainshell/web/static/js/d3.v3.js:7868
↓ 7 callers
Function
get_distros
Return the (distro, release) pairs snapshotted at app startup. The DB is read-only and baked into the Docker image in prod, so the snapshot i
explainshell/web/__init__.py:75
↓ 7 callers
Function
i
(e,...t)
explainshell/web/static/js/highlight.min.js:16
↓ 7 callers
Method
index
return the index of the next item returned by next()
explainshell/util.py:82
↓ 7 callers
Function
l
(e)
explainshell/web/static/js/highlight.min.js:43
↓ 7 callers
Function
m
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 7 callers
Function
on_start
(gz_path: str)
explainshell/manager.py:235
↓ 7 callers
Method
set_total_batches
Set the total number of batches (called once after grouping).
explainshell/extraction/manifest.py:70
↓ 7 callers
Function
t
(t,n)
explainshell/web/static/js/highlight.min.js:125
↓ 7 callers
Function
tt
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:1
↓ 7 callers
Function
x
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 6 callers
Function
G
(e,t)
explainshell/web/static/js/highlight.min.js:107
↓ 6 callers
Function
O
(e)
explainshell/web/static/js/highlight.min.js:278
↓ 6 callers
Function
Y
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 6 callers
Function
_audit_strip_tags
(html: str)
tests/evals/render/render_eval.py:1129
↓ 6 callers
Function
_build_preamble
Extract NAME + SYNOPSIS + first paragraph of DESCRIPTION as preamble. The result is capped at ``_MAX_PREAMBLE_CHARS`` so the chunk budget never
explainshell/extraction/llm/text.py:157
↓ 6 callers
Function
_fmt_flags
(opt: object)
explainshell/diff.py:53
↓ 6 callers
Function
_jsonl_response
Return a bash snippet that emits JSONL events mimicking codex output.
tests/extraction/llm/test_codex_provider.py:24
↓ 6 callers
Function
_load_summary
(run_dir: Path)
tests/evals/_common.py:89
↓ 6 callers
Method
_make_app
(self, store)
tests/test_web_views.py:231
↓ 6 callers
Function
_make_manpage
(name, section, aliases=None, distro="ubuntu", release="26.04")
tests/test_db_check.py:20
↓ 6 callers
Function
_normalize
(field: str, val: object)
explainshell/diff.py:39
↓ 6 callers
Method
_read_report
(self)
tests/test_manager.py:2643
↓ 6 callers
Function
_rel
(from_dir: Path, target: Path)
tests/evals/render/render_eval.py:585
↓ 6 callers
Method
_store_with_row
(self, source: str, model: str)
tests/extraction/test_prefilter.py:165
↓ 6 callers
Method
_store_with_ubuntu_and_arch
Store where 'uonly' is ubuntu-only, 'aonly' is arch-only, and 'both' exists in both distros.
tests/test_web_views.py:237
↓ 6 callers
Function
_tally
Update batch counters and stats from a single file result.
explainshell/extraction/runner.py:105
↓ 6 callers
Function
_use_store
Inject *store* into Flask's app extensions so ``get_store()`` returns it instead of opening a real database. Also refreshes ``STARTUP_DISTROS
tests/test_web_views.py:13
↓ 6 callers
Method
counts
Return row counts for core tables.
explainshell/store.py:304
↓ 6 callers
Function
d3_lab
(l, a, b)
explainshell/web/static/js/d3.v3.js:1329
↓ 6 callers
Function
d3_rgb_hex
(v)
explainshell/web/static/js/d3.v3.js:1399
↓ 6 callers
Method
distros
Return distinct (distro, release) pairs from manpages.
explainshell/store.py:403
↓ 6 callers
Method
extract
(self, gz_path: str)
explainshell/extraction/types.py:137
↓ 6 callers
Function
g
(e)
explainshell/web/static/js/highlight.min.js:44
↓ 6 callers
Function
g
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 6 callers
Method
has_manpage_source
Return whether *source* exists in parsed_manpages.
explainshell/store.py:256
↓ 6 callers
Function
make_extractor
(mode: str, config: ExtractorConfig | None = None)
explainshell/extraction/__init__.py:33
↓ 6 callers
Function
manpage_url
Resolve a manpage source path to an external URL, or None.
explainshell/web/views.py:386
↓ 6 callers
Method
mappings
(self)
explainshell/store.py:560
↓ 6 callers
Function
number_lines
Add line numbers to every line of text. Returns (numbered_text, original_lines) where original_lines is a dict mapping 1-indexed line numbers
explainshell/extraction/llm/text.py:180
↓ 6 callers
Function
on_result
(gz_path: str, entry: ExtractionResult)
explainshell/manager.py:242
↓ 6 callers
Function
parse_tsv
Parse a TSV file, yielding rows as tuples.
tools/fetch_manned.py:107
↓ 6 callers
Function
position
(dimension, size)
explainshell/web/static/js/d3.v3.js:5325
↓ 6 callers
Function
process_llm_result
Parse and validate a raw LLM response string. Returns (data_dict, raw_content). Raises ExtractionError on parse failure or validation failure
explainshell/extraction/llm/response.py:77
↓ 6 callers
Function
rt
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 6 callers
Function
sanitize_option
Fix universally-invalid field combinations. - positional + flags: clear positional - prefix without positional: clear prefix - prefix out
explainshell/extraction/postprocess.py:33
↓ 6 callers
Function
sanity_check_line_spans
Reject an LLM extraction whose line spans look pathological. Raises ``ExtractionError`` when the sum of all option spans exceeds ``_MAX_COVER
explainshell/extraction/postprocess.py:207
↓ 6 callers
Function
setStyles
(els, styles)
explainshell/web/static/js/es.js:62
↓ 6 callers
Method
unknown
(self, token, start, end)
explainshell/matcher.py:181
↓ 6 callers
Function
validate_source_path
Validate that *source* has the ``distro/release/section/name.section.gz`` format. Raises ``errors.InvalidSourcePath`` on failure.
explainshell/store.py:23
↓ 6 callers
Function
y
(n,t)
explainshell/web/static/js/d3.v3.min.js:1
↓ 5 callers
Function
$e
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:1
↓ 5 callers
Function
Ee
(n,t)
explainshell/web/static/js/d3.v3.min.js:1
↓ 5 callers
Function
F
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:1
↓ 5 callers
Function
M
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 5 callers
Function
Zr
(n,t)
explainshell/web/static/js/d3.v3.min.js:2
↓ 5 callers
Function
_add
(entry: ExtractionResult)
explainshell/extraction/runner.py:309
↓ 5 callers
Function
_addwords
(key, text, *words)
explainshell/help_constants.py:294
↓ 5 callers
Function
_is_known_distro
Return True if *name* matches a distro in the cached distros list.
explainshell/web/views.py:27
↓ 5 callers
Method
_make_extractor
(self, run_dir: str | None = None)
tests/extraction/llm/test_extractor.py:217
↓ 5 callers
Function
_make_prepared
(n_chunks: int = 2)
tests/extraction/llm/test_extractor.py:191
↓ 5 callers
Function
_number_block
(start_line: int, block_text: str)
explainshell/extraction/llm/text.py:225
↓ 5 callers
Function
_parse_mode
Parse a mode value into (mode, model). Returns ("llm", "<model>"). Raises ValueError on invalid input.
explainshell/manager.py:83
↓ 5 callers
Function
_repo_relative
(path: Path)
tests/evals/_common.py:35
↓ 5 callers
Function
_run_diff_extractors
Run --diff A..B mode: compare two extractors on each file.
explainshell/manager.py:105
↓ 5 callers
Method
collect_results
(self, job: BatchJob)
explainshell/extraction/llm/providers/gemini.py:172
↓ 5 callers
Function
corner
(p, direction)
explainshell/web/static/js/d3.v3.js:2759
↓ 5 callers
Function
d3_geo_azimuthal
(scale, angle)
explainshell/web/static/js/d3.v3.js:3556
↓ 5 callers
Function
d3_hcl
(h, c, l)
explainshell/web/static/js/d3.v3.js:1305
↓ 5 callers
Function
d3_hsl
(h, s, l)
explainshell/web/static/js/d3.v3.js:1243
↓ 5 callers
Function
d3_layout_hierarchyRebind
(object, hierarchy)
explainshell/web/static/js/d3.v3.js:5462
↓ 5 callers
Function
d3_scaleExtent
(domain)
explainshell/web/static/js/d3.v3.js:6357
↓ 5 callers
Function
d3_svg_lineBasisBezier
(path, x, y)
explainshell/web/static/js/d3.v3.js:3894
↓ 5 callers
Function
d3_transition
(groups, id)
explainshell/web/static/js/d3.v3.js:7124
↓ 5 callers
Function
dedup_options
Remove options with duplicate (short+long) flag sets (from chunk overlap). When duplicates exist, keep the entry with the longest description so
explainshell/extraction/llm/response.py:245
↓ 5 callers
Function
dispatch
(event)
explainshell/web/static/js/d3.v3.js:1153
← previous
next →
101–200 of 2,183, ranked by callers