xray-analyzer
A CLI tool to inspect and understand software projects quickly.
Point xray at any project folder and it detects the project type, finds
entry files and dependencies, and gives you a quick overview — no need to
dig through the codebase manually.
Installation
pip install xray-analyzer
Usage
Run inside (or point at) any project directory:
xray # overview report: type, status, run command
xray --tree # visual project tree
xray --tree --depth 2 # limit tree depth
xray --tree --only .py # filter tree by extension
xray --stats # file counts by extension
xray --explain # plain-language summary of the project
xray --inspect path/to/file.py # imports, functions, classes in one file
What it detects
- Project type: Python, Node.js, Java, C/C++, Rust
- Entry files: files matching common patterns (
main,app,index,server,cli,run) - Dependencies:
requirements.txt,package.json,pyproject.toml,pom.xml,Cargo.toml,CMakeLists.txt - Suggested run command based on the detected project type
--inspect supports Python, JavaScript, TypeScript, Java, C, C++, and
Rust — extracting imports, functions/methods, classes (or their closest
equivalent per language), and whether the file has a recognizable entry
point (if __name__ == "__main__" in Python, public static void main
in Java, int main() in C/C++, fn main() in Rust, require.main === module in Node.js).
Requirements
- Python 3.10+
License
MIT
Metadata
Release files for xray-analyzer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xray_analyzer-0.1.0.tar.gz | 16.0 kB | Without provenance | Details for xray_analyzer-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xray_analyzer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for xray_analyzer-0.1.0-py3-none-any.whl |
Total release size: 32.0 kB
Release files / xray_analyzer-0.1.0.tar.gz
| Download URL | xray_analyzer-0.1.0.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76a35b2f27981a73c9a7583d94c3fc18d43d937bbb900dd3ca0b218a3bbdc27c
|
|
BLAKE2b-256 checksum How to use checksums |
83b653b0fcf2ae124a6198ea0b30494caa3a4ce447d5302631c0a085034837c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|
Release files / xray_analyzer-0.1.0-py3-none-any.whl
| Download URL | xray_analyzer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf05e5f3bba1f93054b6fe151c4e4b061ba2c3f23b39d2025840b01ede657eab
|
|
BLAKE2b-256 checksum How to use checksums |
da2b34e2cffe591cd7924eeac23297f6093a029c1a2cce032adb83ce2593fb64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|
Security for xray-analyzer 0.1.0
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.