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
↓ 3 callers
Method
_build_user_content
Build the user prompt string for a single chunk.
explainshell/extraction/llm/extractor.py:511
↓ 3 callers
Function
_cacheable_explain_response
Wrap *body* in a Response with ETag + Cache-Control headers. The ETag is ``<db_sha256[:16]>-<app_version>`` — two deploy-wide constants, so i
explainshell/web/views.py:362
↓ 3 callers
Function
_coerce_bool
(value, default=False)
tools/migrate_mongo_to_sqlite.py:52
↓ 3 callers
Function
_ensure_run_dir
Lazily create the run dir for commands that need one. Cached on ctx.
explainshell/manager.py:475
↓ 3 callers
Method
_generate_cmd_group_name
(self)
explainshell/matcher.py:115
↓ 3 callers
Function
_log_summary
Log a summary of batch results and return the exit code.
explainshell/manager.py:379
↓ 3 callers
Method
_make_extractor
(self, model="openai/test-model", run_dir=None, debug=False)
tests/extraction/llm/test_extractor.py:57
↓ 3 callers
Method
_make_extractor
(self, run_dir: str | None = None)
tests/extraction/llm/test_extractor.py:308
↓ 3 callers
Function
_make_mock_extractor
Build an LLMExtractor whose provider is a MagicMock. Patching make_provider sidesteps eager client construction (e.g. OpenAIProvider's OpenAI
tests/extraction/llm/test_extractor.py:29
↓ 3 callers
Function
_option_debug
Build a debug_info dict for an option-backed match.
explainshell/matcher.py:52
↓ 3 callers
Method
_run_diff_db_with_store
Run _run_diff_db and return captured log lines.
tests/test_manager.py:2057
↓ 3 callers
Function
_split_sections
Split text into sections at markdown header lines (# or ##). Returns a list of (start_line, section_text) tuples where start_line is the 1-in
explainshell/extraction/llm/text.py:63
↓ 3 callers
Function
_write_json
(path: Path, data: Any)
tests/evals/_common.py:116
↓ 3 callers
Function
addCombinator
( matcher, combinator, base )
explainshell/web/static/js/jquery.js:5091
↓ 3 callers
Method
addRule
(e,t)
explainshell/web/static/js/highlight.min.js:142
↓ 3 callers
Function
affixon
()
explainshell/web/static/js/es.js:494
↓ 3 callers
Function
ajaxExtend
( target, src )
explainshell/web/static/js/jquery.js:7525
↓ 3 callers
Function
bench_query
Run *query* with each params tuple, cycling through params_list for *iterations* total executions. Return per-query times in seconds.
tools/bench_src_index.py:87
↓ 3 callers
Method
cancel
Signal all in-progress extract() calls to stop after their current LLM request completes. Does not abort already in-flight HTTP calls,
explainshell/extraction/llm/extractor.py:208
↓ 3 callers
Function
clipLine
(listener)
explainshell/web/static/js/d3.v3.js:2555
↓ 3 callers
Method
closeNode
(e)
explainshell/web/static/js/highlight.min.js:25
↓ 3 callers
Function
collect_gz_files
Expand a list of files/directories into absolute .gz file paths. Paths starting with '@' are treated as files containing one path per line.
explainshell/util.py:113
↓ 3 callers
Function
complete
()
explainshell/web/static/js/bootstrap.js:564
↓ 3 callers
Method
considerAll
()
explainshell/web/static/js/highlight.min.js:142
↓ 3 callers
Method
constructor
(clazz, option, mid, color)
explainshell/web/static/js/es.js:202
↓ 3 callers
Function
createCache
* Create key-value caches of limited size * @returns {Function(string, Object)} Returns the Object data after storing it on itself with * property n
explainshell/web/static/js/jquery.js:3851
↓ 3 callers
Function
ct
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
curve
(r0, p0, r1, p1)
explainshell/web/static/js/d3.v3.js:6993
↓ 3 callers
Function
d3_eventDispatch
(target)
explainshell/web/static/js/d3.v3.js:412
↓ 3 callers
Function
d3_format_precision
(x, p)
explainshell/web/static/js/d3.v3.js:1984
↓ 3 callers
Function
d3_geo_albersUsaInvert
(projection, extent)
explainshell/web/static/js/d3.v3.js:3299
↓ 3 callers
Function
d3_geo_cartesianAdd
(a, b)
explainshell/web/static/js/d3.v3.js:2230
↓ 3 callers
Function
d3_geo_circleInterpolate
(radius, precision)
explainshell/web/static/js/d3.v3.js:3045
↓ 3 callers
Function
d3_geo_conic
(projectAt)
explainshell/web/static/js/d3.v3.js:3238
↓ 3 callers
Function
d3_geo_rotation
(δλ, δφ, δγ)
explainshell/web/static/js/d3.v3.js:2988
↓ 3 callers
Function
d3_geo_spherical
(cartesian)
explainshell/web/static/js/d3.v3.js:2247
↓ 3 callers
Function
d3_geo_streamLine
(coordinates, listener, closed)
explainshell/web/static/js/d3.v3.js:2056
↓ 3 callers
Function
d3_geom_polygonInside
(p, a, b)
explainshell/web/static/js/d3.v3.js:4076
↓ 3 callers
Function
d3_geom_voronoiTessellate
(points, callback)
explainshell/web/static/js/d3.v3.js:4230
↓ 3 callers
Function
d3_hcl_lab
(h, c, l)
explainshell/web/static/js/d3.v3.js:1323
↓ 3 callers
Function
d3_interpolateByName
(name)
explainshell/web/static/js/d3.v3.js:4834
↓ 3 callers
Function
d3_lab_xyz
(x)
explainshell/web/static/js/d3.v3.js:1359
↓ 3 callers
Function
d3_layout_packInsert
(a, b)
explainshell/web/static/js/d3.v3.js:5993
↓ 3 callers
Function
d3_layout_treeLeft
(node)
explainshell/web/static/js/d3.v3.js:5887
↓ 3 callers
Function
d3_layout_treeRight
(node)
explainshell/web/static/js/d3.v3.js:5891
↓ 3 callers
Function
d3_layout_treeSearch
(node, compare)
explainshell/web/static/js/d3.v3.js:5895
↓ 3 callers
Function
d3_rgb_parse
(format, rgb, hsl)
explainshell/web/static/js/d3.v3.js:1402
↓ 3 callers
Function
d3_rgb_parseNumber
(c)
explainshell/web/static/js/d3.v3.js:1460
↓ 3 callers
Function
d3_rgb_xyz
(r)
explainshell/web/static/js/d3.v3.js:1457
↓ 3 callers
Function
d3_scale_linearTickFormat
(domain, m, format)
explainshell/web/static/js/d3.v3.js:6477
↓ 3 callers
Function
d3_scale_linearTicks
(domain, m)
explainshell/web/static/js/d3.v3.js:6474
↓ 3 callers
Function
d3_selection_dataNode
(data)
explainshell/web/static/js/d3.v3.js:894
↓ 3 callers
Function
d3_selection_selector
(selector)
explainshell/web/static/js/d3.v3.js:585
↓ 3 callers
Function
d3_svg_lineCardinalTangents
(points, tension)
explainshell/web/static/js/d3.v3.js:3806
↓ 3 callers
Function
d3_svg_lineSlope
(p0, p1)
explainshell/web/static/js/d3.v3.js:3897
↓ 3 callers
Function
d3_transition_tween
(groups, name, value, tween)
explainshell/web/static/js/d3.v3.js:7198
↓ 3 callers
Function
d3_xyz_lab
(x)
explainshell/web/static/js/d3.v3.js:1362
↓ 3 callers
Function
d3_xyz_rgb
(r)
explainshell/web/static/js/d3.v3.js:1365
↓ 3 callers
Function
de
(n,t)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
done
( status, nativeStatusText, responses, headers )
explainshell/web/static/js/jquery.js:7991
↓ 3 callers
Function
elementMatcher
( matchers )
explainshell/web/static/js/jquery.js:5141
↓ 3 callers
Method
endcommand
end the most recently created command group by popping it from the group stack. groups are created by visitcommand or a nested command
explainshell/matcher.py:461
↓ 3 callers
Function
er
(n,t)
explainshell/web/static/js/d3.v3.min.js:2
↓ 3 callers
Function
explain_cmd
( command, store, distro=None, release=None, explain_prefix="/explain", distro_prefere
explainshell/web/views.py:462
↓ 3 callers
Function
f
(...e)
explainshell/web/static/js/highlight.min.js:46
↓ 3 callers
Function
fmt_tokens
Format token count for display (e.g. 878K, 1.8M).
explainshell/util.py:134
↓ 3 callers
Function
fu
(n)
explainshell/web/static/js/d3.v3.min.js:2
↓ 3 callers
Function
ge
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
gen_bot_cmd
Pick one of the bot templates uniformly at random and generate a cmd.
tools/loadtest.py:150
↓ 3 callers
Function
getParent
($this)
explainshell/web/static/js/bootstrap.js:745
↓ 3 callers
Method
has_manpage_source
(self, source: str)
tests/extraction/test_prefilter.py:46
↓ 3 callers
Function
htmlToElement
(html)
explainshell/web/static/js/es.js:66
↓ 3 callers
Function
ie
(n,t)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Method
ignoreMatch
()
explainshell/web/static/js/highlight.min.js:14
↓ 3 callers
Function
insert
(d, i)
explainshell/web/static/js/d3.v3.js:798
↓ 3 callers
Function
isArraylike
( obj )
explainshell/web/static/js/jquery.js:951
↓ 3 callers
Function
isNative
* For feature detection * @param {Function} fn The function to test for native support
explainshell/web/static/js/jquery.js:3841
↓ 3 callers
Function
jt
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
linePoint
(x, y)
explainshell/web/static/js/d3.v3.js:2727
↓ 3 callers
Function
lu
(n)
explainshell/web/static/js/d3.v3.min.js:2
↓ 3 callers
Function
make
( manpages: Sequence[ParsedManpage], *, max_cache_bytes: int | None = None, ma
tests/test_caching_store.py:41
↓ 3 callers
Function
map
(mapType, array, depth)
explainshell/web/static/js/d3.v3.js:254
↓ 3 callers
Function
mt
(n,t)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
n
(e)
explainshell/web/static/js/highlight.min.js:14
↓ 3 callers
Function
nextPoint
(λ, φ)
explainshell/web/static/js/d3.v3.js:2098
↓ 3 callers
Function
nr
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
nt
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
ot
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
p
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
point
()
explainshell/web/static/js/d3.v3.js:501
↓ 3 callers
Function
run_batch
Run LLM extraction via provider batch API. Files are finalized as soon as their batch completes (per-batch), not after all batches finish. T
explainshell/extraction/runner.py:469
↓ 3 callers
Function
setGlobalEval
( elems, refElements )
explainshell/web/static/js/jquery.js:6223
↓ 3 callers
Method
startcommand
(self, commandnode, parts, endword, addgroup=True)
explainshell/matcher.py:364
↓ 3 callers
Function
steps
(start, step)
explainshell/web/static/js/d3.v3.js:6623
↓ 3 callers
Function
su
(n,t)
explainshell/web/static/js/d3.v3.min.js:2
↓ 3 callers
Function
t
(t,n)
explainshell/web/static/js/bootstrap.min.js:6
↓ 3 callers
Function
te
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
ut
(n,t,e)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
v
(n)
explainshell/web/static/js/d3.v3.min.js:1
↓ 3 callers
Function
vi
(n,t,e,r)
explainshell/web/static/js/d3.v3.min.js:2
← previous
next →
301–400 of 2,183, ranked by callers