Skip to main content

Automated PYTHON| Tests in Minutes. Static analysis engine with AST-based code intelligence – generates unit, integration, and matrix tests for Ruby, Python, and JavaScript.

Project description

TNG Python - Automated Tests in Minutes

Static analysis engine with AST-based code intelligence – generates unit, integration, and matrix tests for Ruby, Python, and JavaScript.

🚀 Generate Your First Test Free

TNG Python is a powerful static analysis tool that leverages Abstract Syntax Tree (AST) parsing to understand your code structure and automatically generate comprehensive test suites.

Features

  • AST-based Analysis: Deep code intelligence using advanced parsing techniques
  • Multiple Test Types: Unit tests, integration tests, and matrix tests
  • Fast Analysis: Lightning-quick static analysis
  • Cross-platform: Works on macOS, Linux (x86_64 & ARM64)

Installation

pip install tng-python

Quick Start

1. Initialize Configuration

# Generate configuration file
tng-init

2. Configure API Access

Edit the generated tng_config.py file and set:

API_KEY = "your_api_key_from_tng.sh"
BASE_URL = "https://api.tng.sh"  # or your custom server

3. Generate Tests

# Launch interactive test generation
tng

This opens an interactive terminal UI where you can:

  • Search and select Python files from your project
  • Pick methods from the selected file
  • Generate comprehensive tests automatically

How It Works

TNG analyzes your Python code using AST parsing to understand:

  • Function signatures and parameters
  • Class structures and relationships
  • Import dependencies
  • Code complexity and patterns

It then generates appropriate test cases for:

  • Unit tests for individual functions
  • Integration tests for component interactions
  • Matrix tests for complex scenarios

License

Commercial License

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tng_python-0.1.5-cp313-cp313-manylinux_2_34_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

tng_python-0.1.5-cp313-cp313-manylinux_2_34_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

tng_python-0.1.5-cp313-cp313-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tng_python-0.1.5-cp312-cp312-manylinux_2_34_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

tng_python-0.1.5-cp312-cp312-manylinux_2_34_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

tng_python-0.1.5-cp312-cp312-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tng_python-0.1.5-cp311-cp311-manylinux_2_34_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

tng_python-0.1.5-cp311-cp311-manylinux_2_34_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ ARM64

tng_python-0.1.5-cp311-cp311-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tng_python-0.1.5-cp310-cp310-manylinux_2_34_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

tng_python-0.1.5-cp310-cp310-manylinux_2_34_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ ARM64

tng_python-0.1.5-cp310-cp310-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file tng_python-0.1.5-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f6bab78f1df2bb71adcb44b8b61a51bcd3f87da0e129d075eec119f2e37ed7e3
MD5 d64a4f691c4aad2aa8aa76102447916c
BLAKE2b-256 d3290adc42377e1bdea4b57ba63165bba4bdac8a95bf03f1a04c97876478f888

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 99a7a8ed78c887129c6245d0b8f5bdaa8489a7092a2e3c212d2e69d9088b2c71
MD5 c92c8debc50251c186613e551da8cb63
BLAKE2b-256 11e316ee6981f21b0d4e866d8e716e7f4d38c5f0d52f48ac3d89cdb95d638609

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac067b1559bc42f1a8be74b2d152cc19546f988697dcbd51ac5ef1348c77e06a
MD5 5fd6259861e75ab1c0e435f90074e725
BLAKE2b-256 d95bf8ec138662fc4468d2954c3e109c9459a5fced17eab6a3c0d06489de4dcd

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9c231d8c8d1ef4a7343e3709e9755e2722f3d16acd165a13b2f73606d3350886
MD5 9d4cfe2a4d5c30811d2f4b65260f2ed7
BLAKE2b-256 6821eaa19108c17f20036b65f8017c51a18ba1fa7d915738f8ae1c82b09ce2f0

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 557846dcbcd8c594cb6e63f71ac6cb18711e09d6ea9c06ba173e51129e285871
MD5 f7523265455069408b8070d6eb068470
BLAKE2b-256 6720222db760de292c2f22e15f51cfa338dd44a38d73de1b0c2a2c692cbc699c

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8b8699331113acdc0bb1eec9b0f965f2fae074bdf67edf7d44e33b9692407dc9
MD5 fec63d099353a160fd724795a05d05f8
BLAKE2b-256 ffdfdbc6798605c3c7244c4f5cfe60517b48c84d87904885a5bb29a0f5e6fc50

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 df38184b39660ceaf286214f4fb1f12e36e2810529c8dde03a1e3e7acdba74f5
MD5 b261a0211c6d17ab8f982e53aae4d70d
BLAKE2b-256 d99f1d8bffc71d55d3ee773128d6992e2f69e200e121b5e1c49699ace8efa47a

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp311-cp311-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 e512f8ce475e0231ad9bc5da9575699a2a2ae675f7cc274cf90deceaa76e3862
MD5 64763870aecf874ef2406e722a9406dd
BLAKE2b-256 b09ee116feb0d405b020ff2d98f967dc43829ca3f88b61f146121fe886d69e6f

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13792fd64e15a85df9640e4834d0f64924d52749896e38949a8468b4f17a66e0
MD5 2c3b00e8c0e07ef20f2b3e9897377fa4
BLAKE2b-256 4c67664484342d2e822193e6372d20312d1fa943a0599998b568b492992721b3

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 20f8b4adc04df954d6f7404079bd68757eeb01f4a39ea16173a6486558caadab
MD5 93460acd1848c6bfecebdb76c0f28eb7
BLAKE2b-256 6d26c29856e0a367e8503f4526e2db7f9f2f56c622376f4429aad296158bb967

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp310-cp310-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp310-cp310-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 537e2d434824c56805b309282f727c8e440ee21f8b4e65b81777750d5bed6c76
MD5 c0625a0c71802c2961bdada32277a611
BLAKE2b-256 f04067468d66e0f53d4b07e93d9bfa9ab5dfe32110498bef81ae5fa64565ab26

See more details on using hashes here.

File details

Details for the file tng_python-0.1.5-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbb813b260f33d395c1795808b3630c4d08cfe78cc2c92112fe66955398f9fbb
MD5 64b6bb0c0edc26dc36c7e3be66b8c494
BLAKE2b-256 205772891fdb5fa8f2c56b78ded7e729911047ed16de55cba1472bea1e72818c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page