Skip to main content

simple stun/turn clients for testing purpose

Project description

PYTURN

A Python-based STUN/TURN client for testing purposes to access network connectivity, troubleshoot NAT traversal issues, and ensure proper configuration of your STUN/TURN servers.

My contacts: swiperbotle@gmail.com


  • Installation:

pip install pyturn
  • Usage:

see examples in the tests folder


Note
You must define env variables SERVER_IP, CLIENT_IP, TEST_TURN_USERNAME, TEST_TURN_PASSWORD

  • Run tests:

python3 -m unittest discover -s tests
  • Launch stun/turn server for tests

sudo docker build -t coturn .
sudo docker run --net=host --name coturn -t coturn

Project details


Download files

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

Source Distribution

pyturn-0.2.4.1.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

pyturn-0.2.4.1-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

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