craft_parts.utils package¶ Submodules¶ craft_parts.utils.deb_utils module extract_deb() craft_parts.utils.file_utils module NonBlockingRWFifo NonBlockingRWFifo.close() NonBlockingRWFifo.path NonBlockingRWFifo.read() NonBlockingRWFifo.write() calculate_hash() copy() create_similar_directory() link() link_or_copy() link_or_copy_tree() craft_parts.utils.formatting_utils module humanize_list() craft_parts.utils.os_utils module OsRelease OsRelease.id() OsRelease.name() OsRelease.version_id() TimedWriter TimedWriter.write_text() get_bin_paths() get_include_paths() get_library_paths() get_pkg_config_paths() get_system_info() is_dumb_terminal() is_inside_container() is_snap() mount() mount_overlayfs() process_run() umount() craft_parts.utils.partition_utils module get_partition_dir_map() validate_partition_names() craft_parts.utils.path_utils module PartitionPathPair PartitionPathPair.partition PartitionPathPair.path get_partition_and_path() craft_parts.utils.url_utils module download_request() get_url_scheme() is_url() Module contents¶ Utilities and helpers. class craft_parts.utils.Singleton[source]¶ Bases: type Singleton metaclass. craft_parts.utils.package_name()[source]¶ Return the topmost package name. Return type: str