Metadata-Version: 2.4
Name: pie-bakery
Version: 0.1.0
Summary: Pie Bakery - Build and publish inferlets
Author: Pie Team
License-Expression: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.9.0
Requires-Dist: toml>=0.10.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: esprima>=4.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: factored-componentize-py>=0.20.7
Requires-Dist: inferlet<0.4.0,>=0.3.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"

# Bakery

Build tool for Pie inferlets.

The `pie` CLI wraps the common commands:

```bash
pie new my-inferlet
pie new my-inferlet --ts
pie build ./my-inferlet -o out.wasm
```

The standalone `bakery` command is still available for registry workflows:

```bash
bakery login
bakery inferlet publish ./my-inferlet
bakery inferlet search text
```

## Supported inputs

- Rust crates with `Cargo.toml`
- Python projects with `pyproject.toml` or `main.py`
- JavaScript/TypeScript projects with `package.json`, `.js`, or `.ts` input

Rust builds require `wasm32-wasip2`. JavaScript/TypeScript builds require
Node.js. Python builds use the cached Pie Python Wasm runtime.

## Repository development

Bakery auto-detects the SDK layout when run inside this repo. Override it
when needed:

```bash
export PIE_SDK=/path/to/pie/sdk
```
