[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [PyPI publisher projects](https://spiral.ai/integrations/factory-droid/pypi-publisher-projects)

# How to Use PyPI publisher projects in Factory Droid

Returns packages associated with a PyPI username and its Owner or Maintainer roles. Use a public publishing account to establish which projects belong in a package review.

|  |  |
| --- | --- |
| Model | PyPI publisher projects |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with PyPI publisher projects in Factory Droid

- Use PyPI publisher projects for the public pypa-bot account and create a project inventory that preserves each returned role.
- Use PyPI publisher projects to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from PyPI publisher projects and tell me what changed since last week.
- Check PyPI publisher projects and summarize what you find in three bullet points.
- Pull the newest data from PyPI publisher projects and give me the result as a table.

## How to set up PyPI publisher projects in Factory Droid

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run PyPI publisher projects**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "pypi-org/packages/user_projects",
    "input": {
      "username": "<username>"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds PyPI publisher projects on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## PyPI publisher projects tools and prices

- [PyPI · User projects](https://spiral.ai/tools/alexandria/pypi-org/packages/user_projects) (Alexandria): $0.00873 per call.

## What can you do with PyPI publisher projects in Factory Droid?

Build a package review report beside your dependency files using PyPI release metadata, artifact hashes, and publishing evidence. For registry tooling, use change events, publisher project lists, and storage totals to test ingestion and scope.

### Build a publishing portfolio inventory

Start with a public publishing account's project roles, then attach package descriptions, exact-release records, recent activity, and available file provenance to each project.

### Review publishing identity changes

Compare saved file provenance with new artifacts and examine ownership change events. Use publisher project roles and release records to document which packages and versions need review.

### Prepare an ecosystem briefing

Combine newly created projects and release entries with package descriptions. Add a public publisher's portfolio and storage totals to explain publishing activity and repository scale.

### Triage release notifications

Establish a watchlist from a public publishing account, collect recent release entries, and inspect version details before flagging an upgrade. Use the journal to distinguish releases from other package changes.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## PyPI publisher projects in other agents

- [Amp](https://spiral.ai/integrations/amp/pypi-publisher-projects)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/pypi-publisher-projects)
- [Claude](https://spiral.ai/integrations/claude-desktop/pypi-publisher-projects)
- [Claude Code](https://spiral.ai/integrations/claude-code/pypi-publisher-projects)
- [Cline](https://spiral.ai/integrations/cline/pypi-publisher-projects)
- [Codex](https://spiral.ai/integrations/codex/pypi-publisher-projects)
- [Cursor](https://spiral.ai/integrations/cursor/pypi-publisher-projects)
- [Devin](https://spiral.ai/integrations/devin/pypi-publisher-projects)
- [dots](https://spiral.ai/integrations/dots/pypi-publisher-projects)
- [Gemini](https://spiral.ai/integrations/gemini/pypi-publisher-projects)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/pypi-publisher-projects)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/pypi-publisher-projects)
- [goose](https://spiral.ai/integrations/goose/pypi-publisher-projects)
- [Grok](https://spiral.ai/integrations/grok/pypi-publisher-projects)
- [Grok Build](https://spiral.ai/integrations/grok-build/pypi-publisher-projects)
- [Hermes](https://spiral.ai/integrations/hermes/pypi-publisher-projects)
- [Instinct](https://spiral.ai/integrations/instinct/pypi-publisher-projects)
- [Manus](https://spiral.ai/integrations/manus/pypi-publisher-projects)
- [Muse](https://spiral.ai/integrations/muse/pypi-publisher-projects)
- [Muse Code](https://spiral.ai/integrations/muse-code/pypi-publisher-projects)
- [n8n](https://spiral.ai/integrations/n8n/pypi-publisher-projects)
- [Notion](https://spiral.ai/integrations/notion/pypi-publisher-projects)
- [OpenClaw](https://spiral.ai/integrations/openclaw/pypi-publisher-projects)
- [opencode](https://spiral.ai/integrations/opencode/pypi-publisher-projects)
- [Perplexity](https://spiral.ai/integrations/perplexity/pypi-publisher-projects)
- [Raycast](https://spiral.ai/integrations/raycast/pypi-publisher-projects)
- [VS Code](https://spiral.ai/integrations/vscode/pypi-publisher-projects)
- [Windsurf](https://spiral.ai/integrations/windsurf/pypi-publisher-projects)
- [Zapier](https://spiral.ai/integrations/zapier/pypi-publisher-projects)

## More Factory Droid guides

- [PyPI package files](https://spiral.ai/integrations/factory-droid/pypi-package-files)
- [PyPI recent releases](https://spiral.ai/integrations/factory-droid/pypi-recent-releases)
- [PyPI package details](https://spiral.ai/integrations/factory-droid/pypi-package-details)
- [PyPI release details](https://spiral.ai/integrations/factory-droid/pypi-release-details)
- [PyPI package changes](https://spiral.ai/integrations/factory-droid/pypi-package-changes)
- [PyPI storage statistics](https://spiral.ai/integrations/factory-droid/pypi-storage-statistics)

## Questions about PyPI publisher projects in Factory Droid

**Can Factory Droid use PyPI publisher projects?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run PyPI publisher projects like any built-in tool.

**How much does PyPI publisher projects cost in Factory Droid?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need an Alexandria account to use PyPI publisher projects in Factory Droid?**

No. Spiral runs PyPI publisher projects on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up PyPI publisher projects in Factory Droid?**

About two minutes: add the server, then sign in, then check it.

**Does Factory Droid wait while PyPI publisher projects runs?**

PyPI publisher projects runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

**How reliable is PyPI's package metadata?**

PyPI's JSON metadata uses values supplied during upload and may differ from the uploaded files. The first metadata uploaded for a release is retained even when more files are added to that release.

**How quickly do PyPI changes appear?**

PyPI caches API responses, including JSON, RSS, and Index responses through its CDN. Its API documentation does not promise that every upload or change appears immediately.

**How much release history do PyPI feeds contain?**

The upstream implementation returns up to 100 site-wide release updates, 40 newly created projects, or 40 releases for one project. These are entry limits, so the time span depends on publishing activity.

**Does PyPI provenance prove a package is safe?**

A provenance record links an individual file to its publishing or build origin. PyPI explicitly says that an attestation does not establish that the code or build environment is safe.

**Does every PyPI file have provenance?**

No. PyPI documents releases with no attestations, especially older releases or projects without attestations configured, and a release can have attestations for only some files.

