funcmaven_path#
- maven_path(
- coord: str,
Convert a coordinate to its path inside a Maven repository.
- Parameters:
coord (str) – The coordinate.
- Returns:
The relative path, with forward slashes.
- Raises:
ValueError – The coordinate is malformed.
- Return type:
Example
>>> maven_path("net.fabricmc:fabric-loader:0.16.10") 'net/fabricmc/fabric-loader/0.16.10/fabric-loader-0.16.10.jar'