Skip to main content

python_module_name

Function python_module_name 

Source
pub fn python_module_name(value: &str) -> String
Expand description

Derive a valid Python module name from an arbitrary alias or file stem (lowercased, non-alphanumerics collapsed to _, keywords and leading digits escaped). Shared with the CLI so staged devex extension files wire up under the same stems the composition generator would use. Mirror of crate::rust::rust_module_name.