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.4-cp313-cp313-manylinux_2_34_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

tng_python-0.1.4-cp313-cp313-manylinux_2_34_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

tng_python-0.1.4-cp313-cp313-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tng_python-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

tng_python-0.1.4-cp312-cp312-manylinux_2_34_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

tng_python-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tng_python-0.1.4-cp311-cp311-manylinux_2_34_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

tng_python-0.1.4-cp311-cp311-manylinux_2_34_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ ARM64

tng_python-0.1.4-cp311-cp311-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tng_python-0.1.4-cp310-cp310-manylinux_2_34_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

tng_python-0.1.4-cp310-cp310-manylinux_2_34_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ ARM64

tng_python-0.1.4-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 04c3a92b4678b77bf7871a51abbdce0efcf41ea12c646ca6b13f1428d17c1b55
MD5 c4bea911b928cf6b9583e16aac946cc7
BLAKE2b-256 5d88df21d43f2a990ed6d694fff4b4254d94240755d2375169824b72ace93133

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 fa67735f3a17a36c4747f399aba6572b6c3df496c4d35e47aa95096403e9eb3d
MD5 64317da7c23793d675e9625fcded6ae2
BLAKE2b-256 8ae4bd4c0c02b40f1a5c86b0df5ef178911cedb25cc4b7fcd9ffc096e2af33b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4de1e188759ed37665d0cda38ae34ce2d66279b553954419ed4b71cc46bc0c6f
MD5 31969f0d8ead74ffc7fbfa3911228a1f
BLAKE2b-256 6f9c1abbd991bb52c471cb791d0422116f988dc85f74b7600efd7f6f6ded900d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 49fd12c6e2e76ff82cdacd66dae8ca76d3d8da17f2b2382898945230a7f5d291
MD5 36e0897b15e34b6cc0c4dc4206fbd44a
BLAKE2b-256 6707587dda778b5f02f5cbaf32fc276ed6e196db5b4acd19d5ba06a65a1aeb95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 ec470e68230f86f6ed41f7c2a839b2cfec7a57a8804440d6176572b5bfb9d3a7
MD5 04a4aff9705fdc3ea6b1fedc6c9fcb66
BLAKE2b-256 7317a3a2650cb1ba930b0e1f4f3090814cc53a394d90cbb597b14770bb6d0e53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4981479dd753c934881df4ec6cc1e32aa462adaa276d09826d9271a7c3f1558
MD5 b011987be436e50000e24b94b29ea784
BLAKE2b-256 61cc63994c2a1740726b8b3f329e141d32efdc9f7b2cc405e9f7b9e8bfd9a835

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ba0fa91d15d90eebe48745a12228dfcf6269e9ccc7759aaaddff1ff374496f75
MD5 cd8087835497557a1f4884dc695aae70
BLAKE2b-256 1e71949d736c5c701d43bff8d96a05fbcfcc4eb869969dd480c40f3a4cc73dcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c0447cdab48350cd6e20186769350cf414a02778955d0711dcec463d71f68194
MD5 c646a1f11a1e2dd8f19c428d360fa93c
BLAKE2b-256 74f50224aa05b24315efbad56aa700802651c659b89e473cca9633b6c1e5130c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 512981c7f20638bec1a88e9fec6abbd856738f149895961345a28126bad95c09
MD5 c56e4d908c80901d313fe27282710ea5
BLAKE2b-256 faf54b0940535f7e3358dff5482fa2994eaf1c285775f4a767344dfd7b646dce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c5e35a98943f6e66d68bea4e024293b0224f6a0c53158c2822bea6cb4b5f9101
MD5 1ec2db37fdb9991b721760406a881f5c
BLAKE2b-256 5f9adfbaac73e81f35960f00d58bb554890d96f7a092f09306bc86434fd8c107

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp310-cp310-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 1e36f96dfd63f693dcfca26443f6ed1ebfd2b72043a5891acf00a3e65a5831c8
MD5 e5dffb8c410b1581750fb82e1c4a17a3
BLAKE2b-256 33c55c423fb008450ad200716e0a7722cbe2b5b2832ac7f24c54ee9c1a581c7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca8ebee2ee17c484d17850d0ed992858a3ce70cabd4ae4471a284859ed151373
MD5 bd82b37a91a364e48955446bce80e07b
BLAKE2b-256 c76365d4b61772667b9dbab6eaa7155c4f3f5a0063757e293e78fc6905c3f5b1

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