use-python
Facade crate for the focused RustUse Python ecosystem primitives.
Experimental
use-python is experimental while the workspace remains below 0.3.0. Expect small API adjustments during the first release wave.
Example
use ;
let version: PythonVersion = "Python 3.12.1".parse?;
let identifier = new?;
let requirement = new?;
let node_id = new?;
assert!;
assert_eq!;
assert_eq!;
assert_eq!;
assert!;
assert!;
# Ok::
Scope
- Thin re-exports over the focused crates in this workspace.
- One dependency when consumer ergonomics matter more than the narrowest possible dependency graph.
- Primitive metadata and validation helpers for Python ecosystem concepts.
Non-goals
- Python runtime behavior or object semantics.
- Full source, TOML, requirement, lockfile, or test-file parsing.
- Shelling out to Python ecosystem tools.
- Package resolution, installation, virtual environment creation, linting, formatting, testing, or project generation.
License
Licensed under either Apache-2.0 or MIT.