Opal: the open population assessment library