{"categories":[{"label":"Traffic Generation","url":"https://skillfed.io/packages/category/software-development-testing-traffic-generation"}],"enrichment":{"capability":"Snappi is an auto-generated Python SDK for controlling traffic generators that conform to the Open Traffic Generator API, allowing you to write test scripts that configure, transmit, and measure network traffic.","skillfed_tags":["traffic-generation","network-testing","otg-api"],"use_cases":["Automate network traffic testing by scripting traffic generation, transmission, and metric collection against Ixia-c or other OTG-compliant generators.","Build CI/CD pipelines that validate network device behavior under controlled, repeatable traffic patterns.","Configure multi-flow traffic scenarios with varying packet sizes, protocols, and port patterns for network simulation testing.","Poll and assert on flow metrics (transmit/receive counts, stopped state) to validate traffic generator behavior in test frameworks like pytest.","Generate custom packet payloads and protocol header combinations to test edge cases in network processing."],"what_it_does":"Snappi is a Python SDK auto-generated from the Open Traffic Generator API specification, designed to let you programmatically control any traffic generator that implements that standard. You use it to create traffic configurations (defining ports, flows, packet headers, and transmission parameters), push those configurations to a running OTG server, start and stop traffic, and retrieve flow metrics. The package wraps gRPC and HTTP communication with the OTG API, handling protocol buffers and YAML serialization internally.\n\nThe typical workflow is to instantiate an API client pointing to your traffic generator, build a configuration object by adding ports and flows with protocol headers and transmission rules, serialize and push that config to the server, control transmission state, and poll metrics until your test completes. It's designed for network testing automation\u2014validating traffic behavior, measuring throughput and packet loss, or simulating complex traffic patterns in a reproducible, scriptable way.","worth_installing":"Yes. Snappi is actively maintained, has no known vulnerabilities, supports current Python versions (3.9\u20133.13), and carries a permissive MIT license. Install friction is low. If you need to automate traffic generation against an OTG-compliant server (especially Ixia-c), this is the standard SDK for that task. The only prerequisite is having a running OTG API server to connect to."},"id":"snappi","links":{"html":"https://skillfed.io/packages/snappi","md":"https://skillfed.io/packages/snappi.md","pypi":"https://pypi.org/project/snappi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"MIT","license_treatment":"permissive","name":"snappi","python_support":"supports_current","summary":"The Snappi Open Traffic Generator Python Package"},"popularity":{"monthly_downloads":154957,"position":10836,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.61.0"}
