MCPcopy Index your code
hub / github.com/bslatkin/effectivepython / run_hash

Function run_hash

example_code/item_067.py:139–144  ·  view source on GitHub ↗
(input_stdin)

Source from the content-addressed store, hash-verified

137
138print("Example 8")
139def run_hash(input_stdin):
140 return subprocess.Popen(
141 ["openssl", "dgst", "-sha256", "-binary"],
142 stdin=input_stdin,
143 stdout=subprocess.PIPE,
144 )
145
146
147print("Example 9")

Callers 1

item_067.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected