Skip to main content

ICE Connect

ICE Connect is a Python package that implements Interactive Connectivity Establishment (ICE) as specified in RFC 5245. It allows dynamic STUN server configuration for gathering local candidates.

Installation

pip install ice_connect

Usage

from ice_connect import IceAgent
import asyncio

async def main():
    agent = IceAgent(stun_server="stun.l.google.com")
    await agent.gather_local_candidates()
    agent.add_remote_candidate("192.168.1.2", 3478)
    success = await agent.establish_connection()
    if success:
        print("Connection verified with HELLO message exchange.")
    else:
        print("Connection could not be established.")

asyncio.run(main())

Metadata

Release files for ice-connect 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ice-connect 0.1.2
File Size Uploaded
ice_connect-0.1.2.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ice-connect 0.1.2
File Interpreter ABI Platform
ice_connect-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / ice_connect-0.1.2.tar.gz

Download URL ice_connect-0.1.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
493fcb61499b5e8148005e83b31d20d109016b6da98909aed678caf656d48407
BLAKE2b-256 checksum
How to use checksums
da39bfa56d13210a6fb662f3d529637edba982b4948f982ef6bda29809a3e0d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release files / ice_connect-0.1.2-py3-none-any.whl

Download URL ice_connect-0.1.2-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f5fe39e62943519d17a88f74f16ced9667ff9dbaa0cb15a3f134bb0f86e1103
BLAKE2b-256 checksum
How to use checksums
1d94f62bb685b4c6bebc3ed6ac56a29b20371b1cc28ff96b63aac2160e4eb075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page