use-python-module
Python module, package, import, and path-label primitives for RustUse.
Experimental
use-python-module is experimental while use-python remains below 0.3.0.
Example
use ;
let module = new?;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Lightly validated dotted module, package, and import names.
- Import kind, module path, file kind, and package layout metadata.
- ASCII identifier validation for each dotted segment.
Non-goals
- Parsing Python source code or import statements.
- Resolving modules on disk.
- Complete package discovery or namespace-package behavior.
License
Licensed under either Apache-2.0 or MIT.