def archiver(typename):
  archiver = _ARCHIVER_BY_TYPE.get(typename)
  if not archiver:
    raise ValueError('No archiver registered for {!r}'.format(typename))
  return archiver
Returns Archivers in common configurations.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/fs/archive.py/archiver