TNG Python - Advanced Code Audit, Test Generation, and Visualization tool
Project description
TNG Python
TNG Python is an advanced AI-powered tool for Code Auditing, Automated Test Generation, Visualization, and Dead Code Detection. It provides deep insights into your Python codebase and helps ensure code quality and correctness.
Key Features
- Automated Test Generation: Generate unit and integration tests for Flask, FastAPI, Django, and more.
- Deep Code Auditing: Identify logical flaws, security issues, and performance bottlenecks.
- X-Ray Visualization: Generate Mermaid.js flowcharts to visualize complex method logic.
- Dead Code Detection: Find unreachable code, unused variables, and unused parameters.
- Clone Detection: Identify duplicated code blocks across your project.
- Symbolic Tracing: Trace method execution paths to understand complex behavior.
Installation
pip install tng-python
Quick Start
-
Initialize TNG:
tng init -
Launch Interactive UI: The most powerful way to use TNG is through its interactive dual-pane UI.
tng i -
Analyze Specific Files:
# Find dead code in a file tng --deadcode -f path/to/file.py # Check for duplicates tng --clones -f path/to/file.py # Generate X-Ray for a method tng x -f path/to/file.py -m my_method
CLI Reference
| Option | Flag | Description |
|---|---|---|
--file |
-f |
Target Python file path |
--method |
-m |
Target method name |
--deadcode |
-d |
Run dead code analysis |
--clones |
-c |
Run duplicate code detection |
--audit |
Run code audit mode | |
--trace |
Run symbolic trace analysis | |
--json |
Output results in JSON format | |
--ui |
Open findings in the interactive Go UI |
Subcommands
tng i: Interactive multi-tool UI.tng xray: Generate Mermaid.js logic diagrams.tng init: Setup project configuration.
Supported Ecosystem
- Frameworks: FastAPI, Flask, Django
- Async: Celery, RQ, Asyncio
- ORM: SQLAlchemy, Django ORM, Tortoise
- Testing: Pytest, Unittest
License
Proprietary - Binary Dreams LLC
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 Distributions
Built Distributions
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 tng_python-0.4.5-cp38-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: tng_python-0.4.5-cp38-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 21.4 MB
- Tags: CPython 3.8+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7652a6c62b35fc38dc4ec857bb78d14af21ab064d7358b7f489c25a51df05083
|
|
| MD5 |
fc6f11694384b1104c8567d38f4318c9
|
|
| BLAKE2b-256 |
832e44466253322470887779635e56307308dc0b812fd08481d1e14fe85925a3
|
File details
Details for the file tng_python-0.4.5-cp38-abi3-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: tng_python-0.4.5-cp38-abi3-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 21.2 MB
- Tags: CPython 3.8+, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04f8e21a81c327fd8b0a95abf0579d8db095f52f2cd7e6ec5e15160a4bcb80ce
|
|
| MD5 |
011ed82693c1285a7019dd20f2df2ea6
|
|
| BLAKE2b-256 |
2ac97ef7d8d56d72c0d2ecc93e384777a47ee85207547662923b52878c4842b0
|
File details
Details for the file tng_python-0.4.5-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: tng_python-0.4.5-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 19.1 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4881acf0a6ebc66ffd743f449e245ef15f0a519bcdcc795903370fbbdc067ec
|
|
| MD5 |
0748c2ea8c511287bf0e69422fea437c
|
|
| BLAKE2b-256 |
764f4874d6fffa7dcf557092cbdc3106a702acfea28fdf13c7186339e43a1c9d
|
File details
Details for the file tng_python-0.4.5-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: tng_python-0.4.5-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 19.1 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
652fb2ad82d6158e5d35c6dde465c431d24f27910749981fdd9ede0e1a4715d4
|
|
| MD5 |
c1a7ee0a819778b0d699c23213b8f48c
|
|
| BLAKE2b-256 |
f309d76817970059114a8b2724877a07aa821e17b5c90ab8214b3f3319a4b25d
|