A Python library and tools to manage archives of files with metadata for scientific applications