# PyPI AI and ML Packages — Search

**Use case:** 

Search PyPI for AI and machine learning packages with download counts and descriptions.

## Input

```json
{
  "mode": "search",
  "query": "ai machine learning",
  "package_name": "",
  "max_results": 25,
  "include_downloads": true
}
```

## Output

```json
{
  "name": {
    "label": "Package",
    "format": "text"
  },
  "version": {
    "label": "Version",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "license": {
    "label": "License",
    "format": "text"
  },
  "downloads": {
    "label": "Daily Downloads",
    "format": "number"
  },
  "requires_python": {
    "label": "Python Version",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [PyPI Package Scraper](https://apify.com/ef12/pypi-package-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ef12/pypi-package-scraper) to learn more, explore other use cases, and run it yourself.