โจ Live Demo - Try it in your browser!
Welcome to YUV.PY! This is a futuristic, web-based Python Playground that lets you write and run Python code directly in your browser. No complex installations, no heavy backendโjust you and the code, powered by WebAssembly.
YUV.PY is a "Terminal of the Future". It combines a beautiful, sci-fi interface with the power of Python.
- Run Python Instantly: Type code and press Run. It happens right in your browser.
- Learn & Experiment: Use our built-in templates to learn sorting, data structures, and more.
- Build AI Visually: Use the Neural Network Builder to design AI models without writing boilerplate code.
If you are using Visual Studio Code:
- Install the "Live Server" extension.
- Right-click on
index.htmland choose "Open with Live Server". - That's it! The app will open in your browser.
If you prefer using the terminal (command line):
- Install Node.js: Make sure you have Node.js installed.
- Open Terminal: Open your command prompt/terminal in this project folder.
- Start the Server:
Run this command to start a local web server:
npx serve . - Open in Browser: The terminal will show a link (usually
http://localhost:3000). Click it to open the app!
Note: Opening
index.htmldirectly (double-clicking it) might not work in some browsers due to security restrictions on WebAssembly. Please use a local server as described above.
The main screen is your Python playground.
- Write Code: Type Python in the editor.
- Run: Click the โถ RUN button (or press
Ctrl+Enter). - Clear: Click the refresh icon to clear the output.
Stuck? Need inspiration?
- Click the Menu icon (โฐ) on mobile, or check the sidebar on desktop.
- Select a template like Fibonacci, Sorting, or Neural Networks.
- The code will instantly load into the editor. Run it and see what happens!
New to Python or just exploring? Here is the perfect path to get started:
- Say Hello:
- When the app opens, you'll see a "Hello World" script.
- Just hit RUN! You'll see the computer greet you in the terminal below.
- Learn Loops:
- Open the sidebar (or menu on mobile).
- Click Fibonacci.
- Hit RUN. You'll see how Python calculates numbers in a sequence!
- Build a Brain:
- Click Neural Networks.
- The interface will transform!
- Click Generate & Run to train your first AI model right in the browser.
Want to build AI?
- Select the Neural Networks template ๐ง .
- You will see a glowing network visualization.
- The Builder Panel will open automatically.
- Customize:
- Add/Remove layers.
- Change layer sizes (how many "neurons").
- Pick activation functions (ReLU, Sigmoid, etc.).
- Generate: Click Generate & Run.
- Pure Python: Runs a simulation instantly in the browser.
- PyTorch/TensorFlow: Generates professional code you can copy and use in real AI projects!
YUV.PY is fully responsive. Code on your phone with a dedicated mobile view!
- Zero Install: Powered by Pyodide (WebAssembly).
- Responsive Design: Works on Desktop, Tablet, and Mobile.
- Real Python: Supports standard library, math, random, and more.
- Visual AI: Interactive particle system visualizing neural connections.
Feel free to fork this repository and submit Pull Requests. We love open source!
Created with โค๏ธ by Yuval Avidani - YUV.AI



