PackageName#
PackageName #
normalized
property
#
Returns the normalized version of the package name. The normalized string is guaranteed to be a valid conda package name.
Examples#
source
property
#
Returns the source representation of the package name. This is the string from which this instance was created.
Examples#
from_matchspec_str
staticmethod
#
Parses the package name part from a matchspec string without parsing the entire matchspec.
This extracts the package name by splitting on whitespace or version constraint characters
(>, <, =, !, ~, ;).
Examples#
from_matchspec_str_unchecked
staticmethod
#
Parses the package name part from a matchspec string without parsing the entire matchspec. This function assumes the matchspec string is a valid matchspec.
This extracts the package name by splitting on whitespace or version constraint characters
(>, <, =, !, ~, ;). The original capitalization is preserved in the source,
while the normalized version is lowercase.