Skip to main content

smpsave - Dynamic Provisioner for Private Game Servers

PyPI - Version PyPI - Python Version PyPI Deploy

Save money hosting private game servers on demand.

  • Start and stop your game server on demand through Discord, let your friends do the same.
  • Back up server files between restarts.
  • Automatically shut off the server to save on costs.

See documentation for more info.

image

image

Installing

Install as a standalone tool with uv:

uv tool install smpsave

This puts smpsave-cli on your PATH in its own isolated environment. You can also run it without installing:

uvx --from smpsave smpsave-cli --help

Or install via pip:

pip install smpsave

To install from a checkout of this repository:

uv tool install .

Developing

Create the virtualenv and install all dependencies (including dev and docs tools):

uv sync

Run the CLI from the checkout:

uv run smpsave-cli --help

Build the docs:

uv run sphinx-build docs docs/_build

Testing and code quality

Run the unit tests with pytest:

uv run pytest

Lint with ruff (add --fix to auto-fix):

uv run ruff check
uv run ruff check --fix

Check or apply formatting with ruff (use --check to verify without changing files):

uv run ruff format --check
uv run ruff format

Type-check with mypy:

uv run mypy smpsave

Building

Build the sdist and wheel into dist/:

uv build

Releasing

  1. Bump the version:
    uv version --bump patch   # or minor, major
    
  2. Commit pyproject.toml and uv.lock, then push.
  3. Publish a GitHub release with the tag v<version> (e.g. v0.2.3). This triggers the PyPI deploy workflow.

Elevator pitch

Want a dedicated server powerful enough for your favorite game, but don't want to pay a cloud host nearly $50 per month? Use smpsave to only pay for what you need.

Let's say you play on your private game server 10 hours a week.

Billing before using smpsave:

  • Linode 8GB shared CPU, running 24/7 for all ~720 hours in a month: $48
  • With only ~40 hours of actual play, ~94% of that cost is wasted money.

Billing after using smpsave:

  • Linode 8GB shared CPU, running 10 hours a week or ~40 hours a month: $2.88

While this could be achieved by having someone manually provision the server as needed, that individual becomes a single point of failure for keeping the game running. By exposing the server controls through Discord, anyone in the group can spin up the server when they want to play.

Metadata

Release files for smpsave 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smpsave 0.4.0
File Size Uploaded Provenance Actions
smpsave-0.4.0.tar.gz 62.6 kB With provenance Details for smpsave-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for smpsave 0.4.0
File Interpreter ABI Platform Actions
smpsave-0.4.0-py3-none-any.whl Python 3 none any Details for smpsave-0.4.0-py3-none-any.whl

Total release size: 109.2 kB

Release files / smpsave-0.4.0.tar.gz

Download URL smpsave-0.4.0.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
373455b192dc6173cd9af782f8a8649bacdc93acdc8f7cda1632e137cca31f60
BLAKE2b-256 checksum
How to use checksums
770c4dcf1fc6133921f6bdd8832f4e03c1544352fa906ca519d9360377129641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / smpsave-0.4.0-py3-none-any.whl

Download URL smpsave-0.4.0-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a763155017097b40b6f3c3becdf4363922bdc843eb6bf6832bf1a2c4891ec96
BLAKE2b-256 checksum
How to use checksums
c6dbdc89649b0e31219c6a442c50a3d3766cf55e02bf57413927b5bd42796dac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for smpsave 0.4.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for smpsave-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page