""" Metadata for this project. """ import logging from importlib.metadata import PackageNotFoundError from importlib.metadata import metadata as __load from pathlib import Path pkg = Path(__file__).absolute().parent.name logger = logging.getLogger(pkg) __metadata = None try: __metadata = __load(Path(__file__).absolute().parent.name) __status__ = "Development" __copyright__ = "Copyright 2016–2020" __date__ = "2020-09-10" __uri__ = __metadata["home-page"] __title__ = __metadata["name"] __summary__ = __metadata["summary"] __license__ = __metadata["license"] __version__ = __metadata["version"] __author__ = __metadata["author"] __maintainer__ = __metadata["maintainer"] __contact__ = __metadata["maintainer"] except PackageNotFoundError: # pragma: no cover logger.error( f"Could not load package metadata for {pkg}. Is it installed?") if __name__ == "__main__": # pragma: no cover if __metadata is not None:
TypedDf, TypedDfs, UntypedDf, Utils, affinity_matrix, example, matrix, typed, untyped, wrap, ) logger = __logging.getLogger(Path(__file__).parent.name) __pkg = Path(__file__).absolute().parent.name metadata = None try: metadata = __load(Path(__file__).parent.name) __status__ = "Development" __copyright__ = "Copyright 2016–2021" __date__ = "2020-08-29" __uri__ = metadata["home-page"] __title__ = metadata["name"] __summary__ = metadata["summary"] __license__ = metadata["license"] __version__ = metadata["version"] __author__ = metadata["author"] __maintainer__ = metadata["maintainer"] __contact__ = metadata["maintainer"] except __PackageNotFoundError: # pragma: no cover logger.error(f"Could not load package metadata for {__pkg}. Is it installed?")
You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Metadata for Tyrannosaurus. """ import logging from datetime import datetime, timezone from importlib.metadata import PackageNotFoundError from importlib.metadata import metadata as __load from pathlib import Path pkg = Path(__file__).absolute().parent.name logger = logging.getLogger(pkg) metadata = None try: metadata = __load(pkg) __status__ = "Development" __copyright__ = "Copyright 2020–2021" __date__ = "2020-09-25" __uri__ = metadata["home-page"] __title__ = metadata["name"] __summary__ = metadata["summary"] __license__ = metadata["license"] __version__ = metadata["version"] __author__ = metadata["author"] __maintainer__ = metadata["maintainer"] __contact__ = metadata["maintainer"] except PackageNotFoundError: # pragma: no cover logger.error( f"Could not load package metadata for {pkg}. Is it installed?")