Skip to main content

Timed Python mock tests with line-by-line AI feedback

Project description

PyExam — Python Mock Test

Timed Python coding challenges with line-by-line AI feedback. Pick a topic, answer coding questions under a timer, and get detailed feedback on every line of your code.

Powered by Claude Code as a backend. No databases, no accounts — just a Python server and a browser.

Setup

Prerequisites

  • Python 3.9+
  • Claude Code CLI installed and authenticated (claude in your PATH)

Install & Run

git clone https://github.com/itzsid/mock_test.git
cd mock_test
python3 server.py

Then open http://localhost:3000.

Options

python3 server.py 8080                        # custom port
python3 server.py --claude-path /path/to/claude  # custom CLI path

How It Works

  1. Pick a topic — e.g. "Python decorators", "sorting algorithms", "OOP"
  2. Configure — choose number of questions (3/5/7/10), difficulty, and time limit (15-60 min)
  3. Code — solve each question in the built-in editor with line numbers, tab support, and auto-indent
  4. Get feedback — after submitting, Claude reviews every line of your code with colored indicators (correct/warning/error/suggestion) and runs your code against test cases
  5. Review — see your score, per-question verdicts, test results, and improvement suggestions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyexam_mock-0.1.0.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyexam_mock-0.1.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file pyexam_mock-0.1.0.tar.gz.

File metadata

  • Download URL: pyexam_mock-0.1.0.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for pyexam_mock-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8984e0b9f78326ba516a381845cb960cefad2c36058c67f20cddd5faac0eb38c
MD5 46fd6ef7cd98c19961a055b45c07ac49
BLAKE2b-256 3f4de2919b0d44f09061d8aab892b80f679ebf3ce528fda3d2f4e10c955645e1

See more details on using hashes here.

File details

Details for the file pyexam_mock-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyexam_mock-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f49a86b441fd1f73b9ff605a5cebc4de6679390cbf1652dd4e83f9d968ff721d
MD5 16fb848151d0afb0c122ba949a17c6df
BLAKE2b-256 add4bd0c0e51957ab96f35edaabf9732c9da9f70cf5d130432c3a897eaebe4c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page