Skip to main content

CodyHelp

PyPI version

CodyHelp is a command-line interface tool that can analyse source code files, provide explanations, detect possible bugs, and suggest improvements.

Built for CS students and junior developers who are tired of switching between browser tabs, forgetting syntax, and blanking out when asked "can you walk me through this code?"

Goal:

To build a lightweight developer assistant that works directly in the terminal, similar to modern AI coding tools.

Inspiration:

As a CS student, I constantly found myself stuck, such as, forgetting syntax, not knowing how to explain my own code, and dreading the "walk me through this" question in interviews.

CodyHelp was built to fix that. It's the tool I wish I had when I started coding.

Core Features:

  • Explain code files
  • Interview mode code explanation
  • Detect possible bugs in code
  • Review code and suggest improvements
  • Error explanation from stack traces
  • Support multiple programming languages
  • Git diff code review
  • Repository-level code understanding
  • Leetcode practice suggestions

Installation

pip install codyhelp

[Windows users: Make sure Python is added to PATH during installation, or run: pip install codyhelp --user]

Setup

  1. Get a free GitHub Models token at github.com/marketplace/models
  2. Set your token:
    • Windows: $env:GITHUB_TOKEN="your_token_here"
    • Mac/Linux: export GITHUB_TOKEN="your_token_here"
  3. You're ready to use it!

Usage

codyhelp explain main.py

codyhelp explain main.py --interview

codyhelp review main.py

codyhelp stacktrace error.txt

Example:

Run CodyHelp from the terminal:

codyhelp explain linkedList.py --interview

Example output:

INTERVIEW MODE — linked_list.py

How to explain this in an interview:

"This implements a singly linked list with insert and traversal operations. Each node stores a value and a pointer to the next node, giving us dynamic memory allocation unlike arrays..."

Complexity to mention:

  • Insert at head: O(1)
  • Search: O(n)
  • Space: O(n)

Follow-up questions an interviewer might ask:

  • "How would you detect a cycle in this linked list?"
  • "How is this different from a doubly linked list?"
  • "When would you choose a linked list over an array?"

Concepts you should know to fully defend this code:

  • Node structure and pointers
  • Dynamic vs static memory allocation
  • Singly vs doubly linked lists

Technologies

  • Python
  • CLI (Command-line interface)
  • Github models
  • Git and Github

Future Improvements

  • Git diff code review
  • Repository-level code understanding
  • Leetcode practice suggestions

Metadata

Release files for codyhelp 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codyhelp 2.0.1
File Size Uploaded Provenance Actions
codyhelp-2.0.1.tar.gz 5.5 kB Without provenance Details for codyhelp-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codyhelp 2.0.1
File Interpreter ABI Platform Actions
codyhelp-2.0.1-py3-none-any.whl Python 3 none any Details for codyhelp-2.0.1-py3-none-any.whl

Total release size: 11.8 kB

Release files / codyhelp-2.0.1.tar.gz

Download URL codyhelp-2.0.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3be9efddb3454c44d54633cdf25979598c9aca086e50408fdd453494a952608d
BLAKE2b-256 checksum
How to use checksums
343e8e2e5521527b07a8d589ff6fa94c13a910fcb7857680c3f0acb261ab0749
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / codyhelp-2.0.1-py3-none-any.whl

Download URL codyhelp-2.0.1-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3196cda3230f0720da1a5fbd54e4d8d23bc90394c111e3b355760acc4c37e3a1
BLAKE2b-256 checksum
How to use checksums
515c684411e5d57fe11da0cdd90e82862edbf93118ad100486f3507c4aa1ecd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for codyhelp 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page