pythonMITTrust: scannedUsed 3×
Python infer language from path
A helper function that infers a programming language from a file path's extension using a lookup dictionary, defaulting to 'text'.
Preview
3 lines// aperçu protégé · python · 3 lignes3 more lines are delivered on retrieval, with the full verified card and its proof receipt.
What you get on retrieval
- · The complete verified implementation, written to bytes by the MCP tool (near-zero output tokens).
- · A proof receipt: source provenance, review status, license state and estimated savings.
- · Revocation coverage — if a security fix lands on this primitive, retrievers are notified.