SweatStack CLI
Command-line interface for SweatStack — the sports data platform for developers.
Installation
Requires Python 3.11+. We recommend uv for installation.
# Run directly without installing
uvx sweatstack-cli
# Or install as a tool
uv tool install sweatstack-cli
# Or with pip
pip install sweatstack-cli
To upgrade:
uv tool upgrade sweatstack-cli
To reinstall (e.g. after a broken install or Python version change):
uvx --reinstall sweatstack-cli
# or if installed as a tool
uv tool install --reinstall sweatstack-cli
Quick Start
# Authenticate with SweatStack
sweatstack login
# Create an app and deploy
sweatstack app create "My App" --page my-page --env
sweatstack page deploy
Commands
Authentication
| Command | Description |
|---|---|
sweatstack login |
Authenticate via browser (OAuth2 PKCE) |
sweatstack login --force |
Force re-authentication |
sweatstack logout |
Remove stored credentials |
sweatstack status |
Show auth status, user info, and version |
sweatstack --version |
Show version and check for updates |
Application Management
| Command | Description |
|---|---|
sweatstack app create [NAME] |
Create a new private OAuth2 application |
sweatstack app link |
Link current directory to an existing application |
app create options
| Option | Description |
|---|---|
--description, -d TEXT |
Application description (max 500 chars) |
--page, -p SLUG |
Associate with a SweatStack Page |
--secret, -s |
Generate a client secret |
--env |
Write credentials to .env |
--env-file PATH |
Write credentials to a specific file |
--json |
Output as JSON |
app link options
| Option | Description |
|---|---|
--force, -f |
Overwrite existing sweatstack.toml |
Project Configuration
Both app create and app link generate a sweatstack.toml in the current directory. Other commands read defaults from this file.
[app]
name = "My App"
client_id = "abc123"
[page]
slug = "my-page"
directory = "dist"
Page Deployment
Deploy static sites to SweatStack Pages.
# Deploy using sweatstack.toml defaults (recommended)
sweatstack page deploy
# Or specify slug and directory explicitly
sweatstack page deploy my-page --dir ./dist
If the page doesn't exist yet, deploy creates it. With an app linked in
sweatstack.toml, it creates that app's page. Without one, it asks to create a
new app with the page (and fails instead when not run interactively, e.g. in CI).
License
MIT
Metadata
Release files for sweatstack-cli 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sweatstack_cli-0.12.0.tar.gz | 107.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sweatstack_cli-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 146.6 kB
Release files / sweatstack_cli-0.12.0.tar.gz
| Download URL | sweatstack_cli-0.12.0.tar.gz |
|---|---|
| Size | 107.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e75cf210c711cc32239117efa611829d217292ce269f6e4982166cc05646552
|
|
BLAKE2b-256 checksum How to use checksums |
36aa26d7907826dfd23e6c407ff2bc47901473f6ce73c95439ea9e28c3e8cf34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sweatstack_cli-0.12.0-py3-none-any.whl
| Download URL | sweatstack_cli-0.12.0-py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7d40d56b68e0fa23af1e3124009e0f7b8c634fdde52d2cd2d1d03fe1c5ea7c1
|
|
BLAKE2b-256 checksum How to use checksums |
ab2f0db0a668c8e2aebb96e8b6435fa5fe80804bef2bcf01a4fad072c66b849c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for sweatstack-cli 0.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.