No project description provided
Project description
Keeper PAM WebRTC for Python
A high-performance WebRTC implementation for Python, written in Rust for maximum efficiency and reliability.
Description
keeper-pam-webrtc-rs provides Python bindings to a Rust-based WebRTC implementation, allowing for:
- Real-time data communication via WebRTC data channels
- Peer connection management
- ICE candidate handling
- Cross-platform compatibility (Linux, macOS, Windows, Alpine)
This package is designed to be used with Keeper Gateway and Keeper Commander. It serves as a lightweight, focused replacement for aiortc, tailored specifically for Keeper Security's internal products and use cases.
Note: This package is intended for internal Keeper Security products and is not being actively advertised for general use.
Installation
pip install keeper-pam-webrtc-rs
Usage
import keeper_pam_webrtc_rs
# Initialize WebRTC peer connection
config = {"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}]}
pc = keeper_pam_webrtc_rs.PyRTCPeerConnection(
config,
on_ice_candidate=lambda c: print(f"ICE candidate: {c}"),
on_data_channel=lambda dc: print(f"Data channel: {dc.label()}"),
trickle_ice=True
)
# Create offer
offer = pc.create_offer()
# Create data channel
dc = pc.create_data_channel("example-channel")
# Send data
dc.send(b'Hello WebRTC!')
# Set message handler
def on_message(data):
print(f"Received: {data}")
dc.on_message = on_message
# Close when done
pc.close()
Features
- Async-first design with Tokio runtime integration
- Optimized for performance and reliability
- Cross-platform compatibility
- Built with abi3 for maximum Python version compatibility (Python 3.7+)
- Comprehensive WebRTC functionality
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keeper_pam_webrtc_rs-0.1.4-cp37-abi3-win_amd64.whl.
File metadata
- Download URL: keeper_pam_webrtc_rs-0.1.4-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79bb23d395c5eedab56e8ee033f04b544d9b72388d2713873ab18624c90364d2
|
|
| MD5 |
c726f9bb8d887a4b44bfbbd25d5f4304
|
|
| BLAKE2b-256 |
b205825437c6de1bde34733d63e52d0c477aa1737d83fd0c74be67fd266e7059
|
File details
Details for the file keeper_pam_webrtc_rs-0.1.4-cp37-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: keeper_pam_webrtc_rs-0.1.4-cp37-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.7+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eca529a9063a3ad458efd050ed6b53f1b573c3e890f72ebe189d919f9b4a2922
|
|
| MD5 |
d67c0279573d4fcac1e45dea23b224a4
|
|
| BLAKE2b-256 |
9917ab9f1a2eceb4e53ffe253bccc15638c42aa7dfcaa93982d3fa1e558be12a
|
File details
Details for the file keeper_pam_webrtc_rs-0.1.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: keeper_pam_webrtc_rs-0.1.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
985ec5389dc0824f9e6ea6c731adab0b05d67ff6453008d22f62721ed08a23c3
|
|
| MD5 |
5c808bb2e50c1bae2f1e91b40cf90cac
|
|
| BLAKE2b-256 |
c16f8d7d38f44ebc374e3ee51335d61d8849d811066611eb72fe43a6024b8acd
|
File details
Details for the file keeper_pam_webrtc_rs-0.1.4-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: keeper_pam_webrtc_rs-0.1.4-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6db6d472eb2c10b7f9c0cc7c774c45c62f3867f35aa8496da76eea3084e346f
|
|
| MD5 |
476c906168308acc09e2c04d51a34a6f
|
|
| BLAKE2b-256 |
370c9523d8f12185ef560006cdf04fdee37b17755d36ebdd0d3cdd2441c0e51b
|
File details
Details for the file keeper_pam_webrtc_rs-0.1.4-cp37-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: keeper_pam_webrtc_rs-0.1.4-cp37-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.7+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8524f6173d2868735af997dfd75355950a158c4e69af26df7aaf65114c29f2da
|
|
| MD5 |
41889eb8ef03906ca73a72e766d1ca72
|
|
| BLAKE2b-256 |
740560c0cddb5325dd69f514224fe1b8f5ff7efbd0beec23a08e49a9e475e118
|
File details
Details for the file keeper_pam_webrtc_rs-0.1.4-cp37-abi3-macosx_10_7_x86_64.whl.
File metadata
- Download URL: keeper_pam_webrtc_rs-0.1.4-cp37-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.7+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07701897be11dac45d0bdbb65216ddc4aff91e82045523418f924907fcb5ad4b
|
|
| MD5 |
39986f5c106da8840c6d189b7baf94a2
|
|
| BLAKE2b-256 |
c2fed1c9f33c2a881c495d74c14721bfb9caf38ded576dc24393a1e2b11614c0
|