""" :Author: Daniel Mohr :Email: daniel.mohr@dlr.de :Date: 2021-03-09 (last change). :License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. """
""" :Author: Daniel Mohr :Date: 2021-03-09 """ return lzma.open(filename, mode, format=container_format, *params)
""" :Author: Daniel Mohr :Date: 2021-03-09
This function returns the data from https://schema.org/version/latest/schemaorg-current-https.jsonld as a json-ld structure (parsed by the python module json).
:param cachefilepath: This path is used as the path for the cachefilename. :param cachefilename: If not set to an empty string, the data is read from this file. If this file does not exists, the data is loadd from the website and stored in this file.
:return: json-ld structure (parsed by the python module json) as dicts and lists """ '.jsonld': open, '.gz': gzip.open, '.lzma': lzma_open, '.xz': lzma.open, '.bz2': bz2.open} else: 'https://schema.org/version/latest/schemaorg-current-https.jsonld' |