api module

conda_package_handling.api.THREADSAFE_EXTRACT = True

Not present in conda-package-handling<2.0.

conda_package_handling.api.create(prefix, file_list, out_fn, out_folder=None, **kw)
conda_package_handling.api.extract(fn, dest_dir=None, components=None, prefix=None)
conda_package_handling.api.get_default_extracted_folder(in_file, abspath=True)
conda_package_handling.api.get_pkg_details(in_file)

For the new pkg format, we return the size and hashes of the inner pkg part of the file

conda_package_handling.api.libarchive_enabled = True

Old API meaning “can extract .conda” (now without libarchive)

conda_package_handling.api.list_contents(in_file, verbose=False)
conda_package_handling.api.transmute(in_file, out_ext, out_folder=None, processes=1, **kw)