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

phicode

v1.1.1

Published

Symbolic language support for Phicode (.φ files) - Python with symbolic syntax

Readme

(φ) Phicode

Phicode Logo

Your Code, Your Syntax, Your Environment

Version Downloads Runtime


Overview

Phicode is a symbolic, mathematical syntax for Python that lets you write code in a more concise and expressive way using files — while staying 100% compatible with standard Python.

With the Phicode VS Code extension you can:

  • Write Python using symbols and mathematical notation.
  • Run files directly, or mix them seamlessly with .py files in existing projects.
  • Convert back and forth between Phicode ⇆ Python at any time.

Simply install the runtime with:

pip install phicode

…and you’re ready to use Phicode inside VS Code.

Features

Core Language Support

  • Syntax highlighting for Phicode symbols and Python keywords
  • Language configuration with auto-indentation and bracket matching
  • File icon theme support for files

Development Tools

  • Code Formatting: Document and range formatting with configurable rules
  • IntelliSense: Hover information, definition navigation, and reference finding
  • Symbol Support: Document outline and workspace-wide symbol search
  • Refactoring: Rename symbols across files with cross-language support

Execution & Conversion

  • Code Execution: Run & debug Phicode files
  • Access the benchmark suite: Run benchmark suite
  • Bidirectional Conversion: Convert between Python and Phicode syntax
  • Smart Tokenization: Preserves strings and comments during conversion

Productivity Features

  • Interactive Tutorial: Comprehensive symbol reference with search functionality
  • Code Snippets: 50+ templates for common Phicode patterns
  • Configuration Support: Customizable symbol mappings and formatting options

Installation

Prerequisites

  • Python 3.8+
  • Phicode runtime package

Steps

  1. Install the Phicode runtime:
pip install phicode
  1. Install the extension from Visual Studio Code Marketplace:
    • Open VS Code Extensions view (Ctrl+Shift+X)
    • Search for "Phicode"
    • Install the extension

Usage

Basic Example

Create a file with extension:

# Phicode
ƒ calculate_sum(n):
    total = 0
    ∀ i ∈ ⟪(n):
        total += i
    ⟲ total

π(calculate_sum(10))
# Python
def calculate_sum(n):
    total = 0
    for i in range(n):
        total += i
    return total

Commands

  • Phicode: Run File - Execute current Phicode file
  • Phicode: Debug File - Debug current Phicode file
  • Phicode: Convert to Phicode - Convert Python to Phicode syntax
  • Phicode: Convert to Python - Convert Phicode to Python syntax
  • Phicode: Show Tutorial - Display interactive symbol reference

Context Menu

  • Right click in editor or on file Convert to Python/Phicode for quick conversion

Keyboard Shortcuts

  • Ctrl+Alt+P - Convert Python to Phicode
  • Ctrl+Alt+Shift+P - Convert Phicode to Python

Configuration

The extension supports configuration through VS Code settings:

{
  "phicode.autoConvert": true,
  "phicode.symbolHints": true,
  "phicode.formatting.spaceAroundOperators": true,
  "phicode.formatting.spaceAfterCommas": true
}

Requirements

  • Visual Studio Code 1.74.0 or higher
  • Python 3.8 or higher
  • Phicode runtime package

Roadmap

  • [ ] Custom Syntax Configuration
  • [ ] Linting
  • [ ] Symbol insert panel
  • [ ] Local API connection to engine

Support


Developed by Jay Baleine

© 2025 Banes LabRuntimeExtension