Skip to content

Sample code for: How to Get Started With Jev in Python - #859

Merged
realpython-bot merged 3 commits into
masterfrom
jev-python
Sep 24, 2026
Merged

realpython-bot merged 3 commits into
masterfrom
jev-python

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Where to put new files:

  • New files should go into a top-level subfolder, named after the article slug. For example: my-awesome-article

How to merge your changes:

  1. Make sure the CI code style tests all pass (+ run the automatic code formatter if necessary).
  2. Find an RP Team member on Slack and ask them to review & approve your PR.
  3. Once the PR has one positive ("approved") review, GitHub lets you merge the PR.
  4. 🎉

Code examples for the How to Get Started With Jev in Python tutorial. Files live in the jev-python/ top-level folder, named after the article slug.

Three scripts follow the tutorial's steps: plain_python.py (no AI), jev_noul.py (a Noul yes-or-no answer), and jev_desk.py (a Choice, a Score, and a Noul in one request). Run them with uv run --env-file .env <script> after creating a .env file from .env.example. All three were verified against the live OpenRouter API with typesafe-sdk==0.7.1.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@realpython-bot
realpython-bot merged commit fd59c3b into master Sep 24, 2026
1 check passed
@realpython-bot
realpython-bot deleted the jev-python branch September 24, 2026 05:28
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.

3 participants