A fast CLI tool to scan codebases, count lines, and analyze code with AI
Project description
ByteX ⚡
A fast CLI tool to scan codebases, count lines, show directory trees, and analyze code with AI.
Installation
pip install bytex
With AI support:
pip install bytex[ai]
Usage
bytex <command> [path]
| Command | Description |
|---|---|
scan |
Scan files, count lines, show bar chart sorted by size |
stats |
Show total file & line count |
tree |
Show directory tree (ignores node_modules, .git, etc.) |
types |
Count files grouped by extension |
ai |
AI-powered code analysis (requires gpt4all) |
help |
Show help message |
Examples
bytex scan ./my_project
bytex tree ./my_project
bytex types ./my_project
bytex ai ./my_project
Features
- ⚡ Multi-threaded file scanning
- 🌲 Clean directory tree with emoji icons
- 📊 Bar chart for line counts per extension
- 🤖 AI code analysis via GPT4All (offline, no API key needed)
- 🎯 Typo correction for unknown commands
- 🚫 Auto-ignores:
node_modules,.git,__pycache__,venv,dist,build
License
MIT © Beatrix
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bytex_cli-1.1.2.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bytex_cli-1.1.2.tar.gz.
File metadata
- Download URL: bytex_cli-1.1.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22805896ef79c7de703ae2e1f195cbd9666271632d43639ba21d3aa38c3ecced
|
|
| MD5 |
b70e2ae953223c54315689bf8ca0cef2
|
|
| BLAKE2b-256 |
6987a21cf44a9c3a3fdafa58c1af68dc2643b92ac7bcb5914182a5d9ffe466af
|
File details
Details for the file bytex_cli-1.1.2-py3-none-any.whl.
File metadata
- Download URL: bytex_cli-1.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96bebb2259bf219439ab7a7efe5f4d58bc37307e05ffd62943ad50bcec2d54b4
|
|
| MD5 |
83ad199bd461993c99b3c988a9259e80
|
|
| BLAKE2b-256 |
7eca6fce8afa0188d8775676e73f59eaa716fb2ac6db720975515b3badc4541b
|