dist#

(Legacy) Low-level implementation of a Channel.

Classes#

Functions#

strip_extension(→ str)

split_extension(→ tuple[str, str])

dist_str_to_quad(dist_str)

class DistDetails#

Bases: NamedTuple

name: str#
version: str#
build_string: str#
build_number: str#
dist_name: str#
fmt: str#
class DistType(name, bases, attr)#

Bases: conda.auxlib.entity.EntityType

__call__(*args, **kwargs)#
strip_extension(original_dist: str) str#
split_extension(original_dist: str) tuple[str, str]#
class Dist(channel, dist_name=None, name=None, version=None, build_string=None, build_number=None, base_url=None, platform=None, fmt='.tar.bz2')#

Bases: conda.auxlib.entity.Entity

_cache_#
_lazy_validate = True#
channel#
dist_name#
name#
fmt#
version#
build_string#
build_number#
base_url#
platform#
to_package_ref()#
property full_name#
property build#
property subdir#
property pair#
property quad#
__str__()#
property is_feature_package#
property is_channel#
to_filename(extension=None)#
to_matchspec()#
to_match_spec()#
classmethod from_string(string, channel_override=NULL)#
static parse_dist_name(string)#
classmethod from_url(url)#
to_url()#
__key__()#
__lt__(other)#
__gt__(other)#
__le__(other)#
__ge__(other)#
__hash__()#
__eq__(other)#
__ne__(other)#
split(sep=None, maxsplit=-1)#
rsplit(sep=None, maxsplit=-1)#
startswith(match)#
__contains__(item)#
property fn#
dist_str_to_quad(dist_str)#