npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

py-learning-ide

v1.0.3

Published

Interactive Python Learning IDE — Monaco Editor, AI Sidekick, integrated terminal, and 25+ commented examples

Readme

Python Learning IDE

An interactive, browser-based Python IDE powered by Monaco Editor (the engine behind VS Code). Includes 25+ line-commented examples, an integrated terminal, one-click pip install, a smart Python interpreter picker, and an optional AI Sidekick that writes code for you.

Author: Mohan Chinnappan  |  License: MIT


Screenshots

py-ide-1

py-ide-2

Installation

npm install -g py-learning-ide

Features

| Feature | Details | |---|---| | Monaco Editor | Syntax highlighting, IntelliSense completions, hover docs, resizable panes | | 25+ examples | Grouped sections: Basics → OOP → Advanced → Stdlib → NumPy → PyTorch → JAX | | Every line commented | Each example file has an inline comment on every line explaining the why | | Run code | Ctrl+Enter / ⌘+Enter — file saves automatically before running | | One-click pip install | ModuleNotFoundError shows a green banner; one click installs and re-runs | | Integrated terminal | Shell tab in the bottom panel — ↑/↓ history, clear command | | Interpreter picker | Click the status bar to switch Python versions live (no restart needed) | | Guided tour | 12-step annotated walkthrough, shown on first load with --enable-tour | | AI Sidekick | Chat panel (Ollama · Claude · OpenAI · xAI · Gemini) with --enable-ai | | Settings | Provider, model, API key, and system prompt stored in localStorage | | Section search | Filter sidebar by filename or category tag (numpy, pytorch, jax …) |


CLI Options

| Flag | Default | Description | |---|---|---| | -p, --port <n> | 3000 | Port to listen on | | -h, --host <addr> | localhost | Host to bind to | | --python <path> | auto-detect | Explicit Python interpreter path | | --enable-tour | off | Show splash + guided tour on first visit | | --enable-ai | off | Show AI Sidekick button in toolbar |


AI Sidekick

Start with --enable-ai, then click 🤖 AI in the toolbar.

Supported providers

| Provider | Notes | |---|---| | Ollama | Runs locally — click Fetch Models to list installed models. No API key needed. | | Claude | Anthropic API — paste your sk-ant-... key in Settings | | OpenAI | gpt-4o, gpt-4o-mini, etc. | | xAI | Grok models | | Google Gemini | gemini-2.0-flash, gemini-1.5-pro, etc. |

Workflow

  1. Open Settings (⚙), choose a provider, paste your API key, select a model.
  2. Click 🤖 AI to open the Sidekick panel.
  3. Click a quick-prompt pill or type your own request and press Enter.
  4. The AI responds with a code block. The code is automatically saved as a new .py file named from your prompt (e.g. write_a_numpy_matrix_multiply.py).
  5. Click ▶ Save & Run on the code block to run it immediately.

Python Interpreter

The IDE detects Python at startup (tries python then python3). The active interpreter is shown in the status bar at the bottom of the screen.

Click the status bar badge to open the interpreter picker:

  • Lists every Python found on your PATH with its version
  • Type a custom path (e.g. /usr/local/bin/python)
  • Switching takes effect immediately — no restart

You can also pin a specific interpreter at startup:

py-ide --python /usr/local/bin/python

All pip install commands (terminal and one-click banner) are automatically rewritten to "<selected python>" -m pip install so packages always land in the correct environment.


Guided Tour

py-ide --enable-tour

A splash screen appears on first load. Click Take the Tour → to start the 12-step walkthrough. Each step highlights the relevant UI element with a blue glow ring and an explanatory tooltip.

Re-run the tour anytime from the browser console:

localStorage.removeItem("pyide_tour_done_v2"); location.reload();

Support This Work

If this tool has helped you, please consider donating to one of Mohan's suggested charities:

  • ❤️ St. Jude Children's Research Hospital — fighting childhood cancer and other life-threatening diseases

  • 🌍 Any charity supporting Developing Countries — organisations providing food, clean water, education, or healthcare to communities in need

Your generosity makes a real difference. Thank you.


License

MIT © Mohan Chinnappan