Skip to content

tranquilsoftware/CodeProjectStatBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Project Line Counter

A Python tool that counts lines, characters, and files in code projects with an interactive terminal interface.

What it does

  • Counts code files, lines, and characters for different project types
  • Supports C++, TypeScript, Python, JavaScript, Java, C#, Go, and Rust projects
  • Interactive menu with arrow key navigation
  • Smart filtering (skips build directories, cache folders, etc.)

Usage

  1. Run the program:
python main.py
  1. Or specify the source directory directly:
python main.py --src C:/path/to/project_directory/src/
  1. Enter the number corresponding to your project type
  2. Press Enter to confirm selection
  3. If no --src provided, paste your project directory path when prompted
  4. View results

Requirements

  • Python 3.6+
  • Works on Windows, macOS, and Linux

Example Output

==================================================
PROJECT STATISTICS
==================================================
Project type: Python Project
File extensions: .py
Code characters: 15,432 characters
Code lines: 542 lines
Code files: 23 files
==================================================
Average lines per file: 23.6
Average characters per line: 28.5

Supported Project Types

Project Type File Extensions
C++ .h, .hpp, .cpp, .cc, .cxx
TypeScript .ts, .tsx
Python .py
JavaScript .js, .jsx
Java .java
C# .cs
Go .go
Rust .rs

License

Tranquil Software; forever free. Feel free to use, modify, and distribute.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages