Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

keeper_pam_webrtc_rs-0.1.5-cp37-abi3-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86-64

keeper_pam_webrtc_rs-0.1.5-cp37-abi3-musllinux_1_2_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.7+musllinux: musl 1.2+ x86-64

keeper_pam_webrtc_rs-0.1.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

keeper_pam_webrtc_rs-0.1.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.7 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

keeper_pam_webrtc_rs-0.1.5-cp37-abi3-macosx_11_0_arm64.whl (4.2 MB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

keeper_pam_webrtc_rs-0.1.5-cp37-abi3-macosx_10_7_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file keeper_pam_webrtc_rs-0.1.5-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.5-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6a245fcd76a77cbe097d3d62d8dff1070880e30d187dcceb0a73d969378e2265
MD5 6e2a374967753d281a994958a95704b8
BLAKE2b-256 b2035f2ffbd1d462abe257f0a246124b621f4310045d7fd8b9b2c35ddfa1738b

See more details on using hashes here.

File details

Details for the file keeper_pam_webrtc_rs-0.1.5-cp37-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.5-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 42b1d850e060ecfdb8e2c5913372a209897f0ac2dbdc78c20bdac091d4dea99c
MD5 de05383aa7488bfd25560ba644ae8240
BLAKE2b-256 c12b566e69308763f51384b5c4b4f443d4c58f577d96fa0727d19d42fc1b6b60

See more details on using hashes here.

File details

Details for the file keeper_pam_webrtc_rs-0.1.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de4d6394a5fe2404ed71fbce13e3d942286f841e58cce55ba2b3c405b99904ec
MD5 5a56984d36e6337b4c0f3656a4769027
BLAKE2b-256 9b53b955e31c0e1cef0638f9eade50f0917e2857046d03844955ca7cb9c1224b

See more details on using hashes here.

File details

Details for the file keeper_pam_webrtc_rs-0.1.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19a8b594b9c60a110df12370f1e5c8c98c2afa8a83db07b7ec26aad2c7cad3cf
MD5 5162cbdfeb6cfa7ffc67a34031a1a4f9
BLAKE2b-256 a4acd0917e969701f6a8acca58e3200316ac0abf87fced0f1f9d16ddfc7b0575

See more details on using hashes here.

File details

Details for the file keeper_pam_webrtc_rs-0.1.5-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.5-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 797ccaffdce84535554c92e604748a3c3d75319c53dad2d74e27aae47db7a500
MD5 f8b488f4ad0d1d301c8bf9db8e07a501
BLAKE2b-256 d4949c33061d90f292a805a53e43cf29a5134c67f64e141172b85cd3510ea884

See more details on using hashes here.

File details

Details for the file keeper_pam_webrtc_rs-0.1.5-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.5-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fdc1c0e959eff0e9f549d20de208ac71177138fea8ade698a8262b401885de1c
MD5 cbd7160b7b7aab3e6a18294314a3169f
BLAKE2b-256 0eba0317ba7b39887e69e12c836ff46dd99caa833bd2de0ae2c64befdd4d0e10

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