Search API

orphan:

Warning

The Conan API is experimental and subject to breaking changes.

class SearchAPI(conan_api)
recipe_revisions(expression, remote=None, none_revision_allowed=True)
Parameters:
  • expression – A RecipeReference that can contain “*” at any field
  • remote – Remote in case we want to check the references in a remote
Returns:

a list of complete RecipeReference

package_revisions(expression, query=None, remote=None)

Resolve an expression like lib*/1*#*:9283*, filtering by query and obtaining all the package revisions

Parameters:
  • expression – lib*/1*#*:9283*
  • query – package configuration query like “os=Windows AND (arch=x86 OR compiler=gcc)”
  • remote – Remote object
Returns:

a List of PkgReference