Skip to content

Add hello-jev materials for the Jev video - #858

Merged
acsany merged 1 commit into
masterfrom
add-hello-jev-materials
Sep 21, 2026
Merged

acsany merged 1 commit into
masterfrom
add-hello-jev-materials

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Sample code for the Real Python video Get Started With Jev in Python.

Two scripts, the before and after of the same train-station info desk:

  • plain_python.py — hand-written input handling that only accepts an uppercase Y or N.
  • jev_noul.py — the same desk rebuilt around a single Noul question, scored 0 to 1, called through the TypeSafe SDK and OpenRouter.

README.md covers uv sync, the OPENROUTER_API_KEY in a .env file, and running both scripts. uv.lock is committed so viewers resolve the same typesafe-sdk build that's demoed on screen. Both files pass ruff check and ruff format.

This folder backs the hello-jev-code email opt-in linked from the video description.

🤖 Generated with Claude Code

Sample code for the Real Python video "Get Started With Jev in Python":
the plain Y/N script and the rewrite that replaces the branching with a
single Noul question through the TypeSafe SDK and OpenRouter.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@acsany
acsany merged commit 9940abf into master Sep 21, 2026
1 check passed
@acsany
acsany deleted the add-hello-jev-materials branch September 21, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants