Skip to main content

AWS for Python devs made simple.

Project description

Stelvio

PyPI Python Version License

AWS for Python devs - made simple

Documentation - Stelvio Manifesto - Intro article with quickstart

What is Stelvio?

Stelvio is a Python framework that simplifies AWS cloud infrastructure management and deployment. It lets you define your cloud infrastructure using pure Python, with smart defaults that handle complex configuration automatically.

With the stlv CLI, you can deploy AWS infrastructure in seconds without complex setup or configuration.

Key Features

  • Developer-First: Built specifically for Python developers, not infrastructure experts
  • Zero-Setup CLI: Just run stlv init and start deploying - no complex configuration
  • Python-Native Infrastructure: Define your cloud resources using familiar Python code
  • Environments: Personal and shared environments with automatic resource isolation
  • Smart Defaults: Automatic configuration of IAM roles, networking, and security

Currently Supported

Support for additional AWS services is coming. See Roadmap.

Example

Define AWS infrastructure in pure Python:

@app.run
def run() -> None:
    # Create a DynamoDB table
    table = DynamoTable(
        name="todos",
        partition_key="username",
        sort_key="created"
    )
    
    # Create an API with Lambda functions
    api = Api("todos-api", domain_name="api.example.com")
    api.route("POST", "/todos", handler="functions/todos.post", links=[table])
    api.route("GET", "/todos/{username}", handler="functions/todos.get")

See the intro article for a complete working example.

Quick Start

# Create a new project
uv init my-todo-api && cd my-todo-api

# Install Stelvio
uv add stelvio

# Initialize Stelvio project
uv run stlv init

# Edit stlv_app.py file to define your infra

# Deploy
uv run stlv deploy

Go to our Quick Start Guide for the full tutorial.

Why Stelvio?

Unlike generic infrastructure tools like Terraform, AWS CDK or Pulumi Stelvio is:

  • Built specifically for Python developers
  • Focused on developer productivity, not infrastructure complexity
  • Designed to minimize boilerplate through intelligent defaults
  • Maintained in pure Python without mixing application and infrastructure code

For detailed explanation see Stelvio Manifesto blog post.

Project Status

Stelvio is currently in early but active development.

Contributing

Best way to contribute now is to play with it and report any issues.

I'm also happy to gather any feedback or feature requests.

Use GitHub Issues or email us directly at team@stelvio.dev

If you want to contribute code you can open a PR. If you need any help I'm happy to talk.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stelvio-0.6.0a8.tar.gz (93.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stelvio-0.6.0a8-py3-none-any.whl (122.5 kB view details)

Uploaded Python 3

File details

Details for the file stelvio-0.6.0a8.tar.gz.

File metadata

  • Download URL: stelvio-0.6.0a8.tar.gz
  • Upload date:
  • Size: 93.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.12

File hashes

Hashes for stelvio-0.6.0a8.tar.gz
Algorithm Hash digest
SHA256 7f7fdef1b96415a3f6761ce6cd14718b386cab70bae4c816a709aa29a6f4a630
MD5 8612a926d85743cf5c51de30646d15c7
BLAKE2b-256 61a036cf5ae6eacf10fc76a027c4235363157eb0744b867a520bf4a4a7acb297

See more details on using hashes here.

File details

Details for the file stelvio-0.6.0a8-py3-none-any.whl.

File metadata

  • Download URL: stelvio-0.6.0a8-py3-none-any.whl
  • Upload date:
  • Size: 122.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.12

File hashes

Hashes for stelvio-0.6.0a8-py3-none-any.whl
Algorithm Hash digest
SHA256 68a071b68d0115f1af508d9428b2d48eed6394218605b951ee024a2152f77af3
MD5 5373f18f961f6c4d158b3a7d8d8eb456
BLAKE2b-256 ec693e9ca0f3a81d2ab0a77aed3292e67439ce36e1165b7ecb3197a02868ff2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page