records
#
Implements the data model for conda packages.
A PackageRecord is the record of a package present in a channel. A PackageCache is the record of a downloaded and cached package. A PrefixRecord is the record of a package installed into a conda environment.
Object inheritance:
Classes#
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Fields are doing something very similar to boxing and unboxing |
|
Attributes#
- class LinkTypeField(enum_class, default=NULL, required=True, validation=None, in_dump=True, default_in_dump=True, nullable=False, immutable=False, aliases=())#
Bases:
conda.auxlib.entity.EnumField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- box(instance, instance_type, val)#
- class NoarchField(enum_class, default=NULL, required=True, validation=None, in_dump=True, default_in_dump=True, nullable=False, immutable=False, aliases=())#
Bases:
conda.auxlib.entity.EnumField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- box(instance, instance_type, val)#
- class TimestampField#
Bases:
conda.auxlib.entity.NumberField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- static _make_seconds(val)#
- static _make_milliseconds(val)#
- box(instance, instance_type, val)#
- dump(instance, instance_type, val)#
- __get__(instance, instance_type)#
- class Link(**kwargs)#
Bases:
conda.auxlib.entity.DictSafeMixin
,conda.auxlib.entity.Entity
- source#
- type#
- EMPTY_LINK#
- class _FeaturesField(**kwargs)#
Bases:
conda.auxlib.entity.ListField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- box(instance, instance_type, val)#
- dump(instance, instance_type, val)#
- class ChannelField(aliases=())#
Bases:
conda.auxlib.entity.ComposableField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- dump(instance, instance_type, val)#
- __get__(instance, instance_type)#
- class SubdirField#
Bases:
conda.auxlib.entity.StringField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- __get__(instance, instance_type)#
- class FilenameField(aliases=())#
Bases:
conda.auxlib.entity.StringField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- __get__(instance, instance_type)#
- class PackageTypeField#
Bases:
conda.auxlib.entity.EnumField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- __get__(instance, instance_type)#
- class PathData(**kwargs)#
Bases:
conda.auxlib.entity.Entity
- property path#
- _path#
- prefix_placeholder#
- file_mode#
- no_link#
- path_type#
- class PathsData(**kwargs)#
Bases:
conda.auxlib.entity.Entity
- paths_version#
- paths#
- class PackageRecord(*args, **kwargs)#
Bases:
conda.auxlib.entity.DictSafeMixin
,conda.auxlib.entity.Entity
- property schannel#
- property _pkey#
- property is_unmanageable#
- property combined_depends#
- property namekey#
- name#
- version#
- build#
- build_number#
- channel#
- subdir#
- fn#
- md5#
- legacy_bz2_md5#
- legacy_bz2_size#
- url#
- sha256#
- arch#
- platform#
- depends#
- constrains#
- track_features#
- features#
- noarch#
- preferred_env#
- license#
- license_family#
- package_type#
- timestamp#
- date#
- size#
- __hash__()#
Return hash(self).
- __eq__(other)#
Return self==value.
- dist_str()#
- dist_fields_dump()#
- __str__()#
Return str(self).
- to_match_spec()#
- to_simple_match_spec()#
- record_id()#
- class Md5Field#
Bases:
conda.auxlib.entity.StringField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- __get__(instance, instance_type)#