AboutJson#
AboutJson
#
The about.json
file contains metadata about the package.
channels: List[str]
property
writable
#
A list of channels that where used during the build.
Examples#
dev_url: List[str]
property
writable
#
A list of URLs to the development page of the package.
Examples#
doc_url: List[str]
property
writable
#
A list of URLs to the documentation of the package.
Examples#
source_url: Optional[str]
property
writable
#
The URL to the latest source code of the package.
Examples#
__repr__()
#
Returns a representation of the AboutJson.
from_package_directory(path)
staticmethod
#
Parses the object by looking up the appropriate file from the root of the specified Conda archive directory, using a format appropriate for the file type.
For example, if the file is in JSON format, this function reads the appropriate file from the archive, parse the JSON string and return the resulting object. If the file is not in a parsable format or if the file could not be read, this function returns an error.
from_path(path)
staticmethod
#
Parses the object from a file specified by a path
, using a format
appropriate for the file type.
For example, if the file is in JSON format, this function reads the data from the file at the specified path, parse the JSON string and return the resulting object. If the file is not in a parsable format or if the file could not read, this function returns an error.
Examples#
from_str(string)
staticmethod
#
Parses the object from a string, using a format appropriate for the file type.
For example, if the file is in JSON format, this function parses the JSON string and returns the resulting object. If the file is not in a parsable format, this function returns an error.