Metadata-Version: 2.4
Name: supypowers
Version: 0.1.0
Summary: Run self-contained uv Python scripts as callable, schema-documented 'superpowers'.
Project-URL: Homepage, https://github.com/ergodic-ai/supypowers
Project-URL: Repository, https://github.com/ergodic-ai/supypowers
Author: Andre
License: MIT License
        
        Copyright (c) 2026 Andre
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
License-File: LICENSE
Keywords: automation,cli,llm,pydantic,tools,uv
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# supypowers

Run self-contained Python scripts (with `uv` script dependencies) as callable, schema-documented functions.

## Install

```bash
pip install supypowers
```

Note: the CLI expects [`uv`](https://github.com/astral-sh/uv) to be installed on your machine (it shells out to `uv run`).

## Release to PyPI (recommended: GitHub Actions)

- Create a PyPI project using **Trusted Publishing** for your GitHub repo.
- Tag a release:

```bash
git tag v0.1.0
git push --tags
```

The workflow in `.github/workflows/publish.yml` will build and publish `dist/*` to PyPI.

## Run (no venv)

From this repo root:

```bash
uv run supypowers examples docs
uv run supypowers examples run exponents:compute_sqrt \"{'x': 9}\" --secrets .env --secrets API_KEY=abc
```

From anywhere:

```bash
uv run --project /Users/andre/ergodic/superpowers supypowers examples docs
```

## Install `supypowers` on your PATH (so you can run `supypowers ...`)

Use `uv tool install`:

```bash
cd /Users/andre/ergodic/superpowers
uv tool install --editable .
uv tool update-shell
```

Then open a new shell (or reload your shell config) and run:

```bash
supypowers examples docs
supypowers examples run exponents:compute_sqrt \"{'x': 9}\"
```

## Example scripts

See `examples/` (uses `uv` script metadata + Pydantic models).

## Notes

- The CLI executes target scripts **only** via `uv run <script.py> ...` (no imports into the CLI process).
