dist

(Legacy) Low-level implementation of a Channel.

Classes

DistDetails

DistType

Dist

Functions

strip_extension(original_dist)

split_extension(original_dist)

dist_str_to_quad(dist_str)

Attributes

IndexRecord

class DistDetails

Bases: NamedTuple

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

Bases: conda.auxlib.entity.EntityType

__call__(*args, **kwargs)

Call self as a function.

strip_extension(original_dist)
split_extension(original_dist)
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

property full_name
property build
property subdir
property pair
property quad
property is_feature_package
property is_channel
property fn
_cache_
_lazy_validate = True
channel
dist_name
name
fmt
version
build_string
build_number
base_url
platform
to_package_ref()
__str__()

Return str(self).

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)

Return self<value.

__gt__(other)

Return self>value.

__le__(other)

Return self<=value.

__ge__(other)

Return self>=value.

__hash__()

Return hash(self).

__eq__(other)

Return self==value.

__ne__(other)

Return self!=value.

split(sep=None, maxsplit=- 1)
rsplit(sep=None, maxsplit=- 1)
startswith(match)
__contains__(item)
dist_str_to_quad(dist_str)