semvec/pypi-packages huggingface dataset:
sirepo 20260130.204630
Sirepo provides browser access to physics codes like elegant, Warp, SRW, JSPEC, Zgoubi, and more.

# ![Sirepo](https://github.com/radiasoft/images/blob/master/sirepo/Sirepo_logo.png)

<p align="center">

## Sirepo brings computational science to the cloud.

</p>

The Sirepo gateway supports physics codes like elegant, Warp, SRW, JSPEC, Zgoubi, and more. With it, you can configure, run, visualize, and share end-to-end HPC physical simulations on your browser. We call this Clickable Physics(TM).

[Try the Sirepo gateway](https://www.sirepo.com). All you need is an
institutional email address to access a free trial.

### If you prefer, Sirepo can also be downloaded! :arrow_down:
* [Curl Installer for Mac and Linux](#curl-installer)
* [Manual Install with Docker](#manual-install-with-docker)
* [Development](https://wiki.radiasoft.org/sirepo/wiki/Development)

### Curl Installer

You can use our
[curl installer on your Mac, PC (Cygwin only), or Linux box](https://github.com/radiasoft/download/blob/master/README.md)
as follows:

```bash
$ mkdir sirepo
$ cd sirepo
$ curl https://sirepo.run | bash
```

For this to work, you will need to [install the prerequisites](https://github.com/radiasoft/download/blob/master/README.md#requirements).

[API Documentation is available on Read the Docs.](https://sirepo.readthedocs.io)

### Manual Install with Docker

You can start Sirepo with [Docker](https://www.docker.com/).

If you are running Docker as an ordinary user (recommended), use the following:

```bash
$ docker run --rm -p 8000:8000 -v "$PWD:/sirepo" radiasoft/sirepo
```

Then visit: http://127.0.0.1:8000

The `-v "$PWD:/sirepo"` creates a `db` subdirectory, which is where the database is stored.

### License

License: http://www.apache.org/licenses/LICENSE-2.0.html

Copyright (c) 2015–2025 [RadiaSoft LLC](https://radiasoft.net).  All Rights Reserved.

![RadiaSoft](https://github.com/radiasoft/images/blob/master/corporate/RadiaSoftLogoTransparent.png)
caddysnake 0.3.0
Python WSGI/ASGI server powered by Caddy
Requires Python: >=3.10

# caddysnake CLI

[![PyPI](https://img.shields.io/pypi/v/caddysnake)](https://pypi.org/project/caddysnake/)

The `caddysnake` package is available on [PyPI](https://pypi.org/project/caddysnake/) and provides a CLI to serve Python WSGI/ASGI applications powered by Caddy.

## Install

```bash
pip install caddysnake
```

Available for Python 3.10 through 3.14 on Linux (x86_64 and ARM64).

## Usage

```bash
# Start a WSGI server
caddysnake --server-type wsgi --app main:app

# Start an ASGI server
caddysnake --server-type asgi --app main:app
```

## CLI Options

| Flag | Short | Description | Default |
|------|-------|-------------|---------|
| `--server-type` | `-t` | **Required.** Type of Python app: `wsgi` or `asgi` | — |
| `--app` | `-a` | **Required.** Python module and app variable (e.g. `main:app`) | — |
| `--domain` | `-d` | Domain name for HTTPS with automatic certificates | — |
| `--listen` | `-l` | Custom listen address | `:9080` |
| `--workers` | `-w` | Number of worker processes (0 = CPU count) | `0` |
| `--workers-runtime` | `-r` | Worker type: `process` or `thread` | `process` |
| `--static-path` | | Path to a static files directory | — |
| `--static-route` | | Route prefix for static files | `/static` |
| `--debug` | | Enable debug logging | `false` |
| `--access-logs` | | Enable access logs | `false` |

## How it works

This package is built with [maturin](https://github.com/PyO3/maturin) and distributed as platform-specific wheel files. Each wheel bundles a pre-compiled Caddy binary with the caddy-snake plugin (`caddysnake-cli`). The Python CLI wrapper (`caddysnake_cli.py`) uses [click](https://click.palletsprojects.com/) to parse arguments and then executes the bundled Caddy binary with `os.execv`.

The package is built and published automatically on tagged releases by the [`python-build.yml`](../../.github/workflows/python-build.yml) GitHub Actions workflow.

## Full Documentation

See https://caddy-snake.readthedocs.io for complete documentation, including:

- [Quickstart](https://caddy-snake.readthedocs.io/en/latest/docs/intro) — get started in 5 minutes
- [Installation & Distribution](https://caddy-snake.readthedocs.io/en/latest/docs/installation) — PyPI, standalone binaries, Docker, and more
- [Configuration Reference](https://caddy-snake.readthedocs.io/en/latest/docs/reference) — all Caddyfile directives
- [Examples](https://caddy-snake.readthedocs.io/en/latest/docs/examples) — Flask, Django, FastAPI, Socket.IO, dynamic modules, autoreload
- [Architecture](https://caddy-snake.readthedocs.io/en/latest/docs/architecture) — how it works under the hood