Skip to content

SweatStack.run

SweatStack.run is a Python browser sandbox, perfect for quick prototyping and sharing code snippets.

SweatStack.run is inspired by and based on https://pydantic.run/.

SweatStack.run

Features

  • Instant Access: No installation required - just open in your browser
  • Pre-authenticated: Already connected to your SweatStack account
  • Shareable: Share your code snippets with others

Getting Started

  1. Navigate to sweatstack.run
  2. Start coding!

Prefill Code

SweatStack.run accepts an optional prefill parameter, which is a url encoded string of code that will be prefilled in the editor when the page loads.

Let's say you want to prefill this code in the editor:

for i in range(10):
    print(i)

The url encoded version of the prefill code would be:

for%20i%20in%20range%2810%29%3A%0A%20%20%20%20print%28i%29

So the full url would be:

https://sweatstack.run/?prefill=for%20i%20in%20range%2810%29%3A%0A%20%20%20%20print%28i%29

URL Encode Python Code

This is a great website if you want url encode some Python code: https://www.urlencoder.org/