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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file pyturn-0.2.4.1.tar.gz.

File metadata

  • Download URL: pyturn-0.2.4.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for pyturn-0.2.4.1.tar.gz
Algorithm Hash digest
SHA256 282c89f70a57ca483301f160b22f86ffcd8919c5033c9b63690ecd3865d01042
MD5 6fe3abbb515ca7116dec52be796b647c
BLAKE2b-256 c9310b5bb88ae0937741734b85f7b04e062398e452eee41055d708ea8987e0be

See more details on using hashes here.

File details

Details for the file pyturn-0.2.4.1-py3-none-any.whl.

File metadata

  • Download URL: pyturn-0.2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for pyturn-0.2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0be7f4888e86cb7afefa9922c6e2b4153e2c370bbf665b31438904af5ed7850
MD5 e705eaad574c4f2eaca6a8d9c5df57b8
BLAKE2b-256 44926d2f55510a1754cf2e58e45d27e03886dabacd5ea2d3391fd4554a5f06f8

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