Skip to main content

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

Metadata

Release files for bytex-cli 1.1.2

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

Source distribution (sdist)

Source distribution for bytex-cli 1.1.2
File Size Uploaded Provenance Actions
bytex_cli-1.1.2.tar.gz 4.8 kB Without provenance Details for bytex_cli-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bytex-cli 1.1.2
File Interpreter ABI Platform Actions
bytex_cli-1.1.2-py3-none-any.whl Python 3 none any Details for bytex_cli-1.1.2-py3-none-any.whl

Total release size: 10.1 kB

Release files / bytex_cli-1.1.2.tar.gz

Download URL bytex_cli-1.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
22805896ef79c7de703ae2e1f195cbd9666271632d43639ba21d3aa38c3ecced
BLAKE2b-256 checksum
How to use checksums
6987a21cf44a9c3a3fdafa58c1af68dc2643b92ac7bcb5914182a5d9ffe466af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / bytex_cli-1.1.2-py3-none-any.whl

Download URL bytex_cli-1.1.2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96bebb2259bf219439ab7a7efe5f4d58bc37307e05ffd62943ad50bcec2d54b4
BLAKE2b-256 checksum
How to use checksums
7eca6fce8afa0188d8775676e73f59eaa716fb2ac6db720975515b3badc4541b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for bytex-cli 1.1.2

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.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files No provenance

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