Home

Awesome

Python in Updraft

This is part of the Cyfrin Updraft Vyper Course.

You can find the google collab code here: https://colab.research.google.com/drive/1G0jampjfic2wE4eF-rFsH0ewp6q-rKiU?usp=sharing

Or, use the cyfrin_updraft.ipynb file in this repo.

Getting Started

Prerequisites

Optional prerequisites

If you're an advanced python user, you can use virtual environments and classic python/pip to work here.

Optional Gitpod or CodeSpaces

If you can't or don't want to run and install locally, you can work with this repo in Gitpod. If you do this, you can skip the clone this repo part.

<div style="display: flex; justify-content: center; gap: 20px;"> <a href="https://gitpod.io/#github.com/cyfrin/web3py-favorites-cu"> <img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" style="height: 50px;"> </a> <a href="https://github.dev/Cyfrin/web3py-favorites-cu"> <img src="https://www.svgrepo.com/show/347707/codespaces.svg" alt="Open in CodeSpaces" style="height: 50px;"> </a> </div>

Installation

git clone https://github.com/cyfrin/python-in-updraft
cd python-in-updraft

uv

uv sync

pip/python

python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt

Usage

uv run python basic_python.py

Or

python basic_python.py