MCPcopy Create free account
hub / github.com/KingOfBugbounty/enumrust / is_builtin_python_module

Function is_builtin_python_module

src/package_scanner.rs:718–728  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

716}
717
718fn is_builtin_python_module(name: &str) -> bool {
719 const BUILTINS: &[&str] = &[
720 "os", "sys", "re", "json", "time", "datetime", "math", "random",
721 "collections", "itertools", "functools", "pathlib", "subprocess",
722 "threading", "multiprocessing", "asyncio", "io", "pickle", "csv",
723 "xml", "html", "urllib", "http", "email", "socket", "ssl", "hashlib",
724 "hmac", "base64", "binascii", "struct", "codecs", "locale", "gettext",
725 "logging", "argparse", "configparser", "warnings", "abc", "contextlib",
726 ];
727 BUILTINS.contains(&name)
728}
729
730/// Check if name is a common CSS property
731fn is_css_property(name: &str) -> bool {

Callers 1

extract_pip_packagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected