# Packages

Use any npm or PyPI package by importing it. Wisp installs it and locks the version per project.

## Import and go

You don't write a `package.json` or `requirements.txt`. Import a package and Wisp installs it:

```js
import { z } from 'zod';
import Stripe from 'stripe';
```

```python
import requests
from bs4 import BeautifulSoup
```

The first time a project uses a package, Wisp installs the latest version and **locks** it. Later builds use the same version until you change it. The first test after adding a new import can take a little longer while the package installs.

Common Python import names are mapped to their package automatically — `yaml` installs PyYAML, `PIL` installs Pillow, `bs4` installs beautifulsoup4.

## The Packages section

**Packages** lists every package your project's code uses, by language, with its locked version. Pin a different version there, for example to fix an incompatibility, or ask the assistant to.

## Python packages need wheels

Python packages must ship a prebuilt wheel (pure Python, or built for Linux arm64). Packages that only compile from source can't be installed; the assistant will suggest an alternative.

## Built-ins

You don't need packages for the basics: JavaScript has `fetch`, `crypto` and the `node:` built-ins; Python has the full standard library. The [Wisp SDK](/api/sdk-config) is bundled and isn't installed from npm or PyPI.
