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,
    turn_only=False
)

# 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.7-cp37-abi3-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.7+Windows x86-64

keeper_pam_webrtc_rs-0.1.7-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.7-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.7-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.7-cp37-abi3-macosx_11_0_arm64.whl (4.3 MB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

keeper_pam_webrtc_rs-0.1.7-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.7-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.7-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 23884ab65c5ad7d3b01f28b170eb2145a9cf90b6e3ecb9764115896853ba3359
MD5 003624760096d03ff6f0d5ee3f74be8d
BLAKE2b-256 bf4e4e42bdef9453560049390c8400bc9392f68d4cd93acf0722eb625b27efb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.7-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9e6c8b2f4acaed6d5576e8e81d4412adf8ab412e9b925a2e53a86725bf202341
MD5 ef34800c58d39ba7649fe8f3600c7cc8
BLAKE2b-256 4f848f5778698c01c95f8685c7b74cbe65147bcefa9d14b05e04dfa6a0fc6f93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.7-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6435a2c2243d04e90ebe693bc7a18b1852b9099e7d8b8bbd0ecb65be474ddcf6
MD5 9ef00907c39b36d26ade27667672db4c
BLAKE2b-256 9229db7fa14af25ca441425d2fea6336e88d298e31ca5bef8a2e053bb90b6d11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.7-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2840090f996479e077eef01627b22c4e20dd6b651799672f8194267eeb82be1e
MD5 54c1d36eb98d1d65373ab697545768a7
BLAKE2b-256 0acbc4e63c14949a80f15344d377aef9f1dfdadad1a5305e50bc3a6f39fbb9ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.7-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3bb90327c03d49a4fdd5b284f5e8d94b5fc8577f9f6c47ccd88aba9a76cb024a
MD5 5b11a94b19b87495e68d0170aea5b96c
BLAKE2b-256 7580aaba070c844e047e3ed55e659ff13b8de0f2871d7ee5e687d5868ac6738e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for keeper_pam_webrtc_rs-0.1.7-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d62bbcf5472d7e5997dc07f4240cae99c4e5e7f0551944be52c07190ab83385d
MD5 448551c9989f50a686e9c241e1160cdf
BLAKE2b-256 79fbb805fa10381b82713a1da49c4a035b28a95d823030e52a2a9c380906d3ce

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