Skip to main content

DarVision

Stream any webcam to you — from anywhere in the world.

Created by Darshan Kerkar


What is DarVision?

DarVision is a Python framework that turns any computer into a webcam streaming server.

The person on the other side of the world installs DarVision, runs one command, and their webcam is live. You connect and watch.

Their Computer                   Your Computer (Darshan)
──────────────                   ───────────────────────
pip install darvision
darvision host --public   ──►    darvision connect wss://xxxx.ngrok-free.app
(their webcam streams)           (you watch their stream)

Installation

pip install darvision

With ngrok (for public streaming over the Internet):

pip install darvision[ngrok]

Usage

They host — you watch

Step 1 — Remote person (the host):

pip install darvision[ngrok]
darvision host --public

They will see:

──────────────────────────────────────────────────
  🎥  DarVision Host is running
──────────────────────────────────────────────────
  Local  :  ws://192.168.x.x:8765
  Public :  wss://abcd1234.ngrok-free.app
──────────────────────────────────────────────────

Step 2 — They send you the wss:// URL.

Step 3 — You connect (Darshan):

darvision connect wss://abcd1234.ngrok-free.app

A window opens showing their live webcam.


Local preview (host can see their own stream)

darvision host --preview

Health check

darvision doctor

Python API

Host (remote machine):

from darvision import Host
Host().start()

Client (your machine):

from darvision import Client
Client().connect("wss://abcd1234.ngrok-free.app")

Roadmap

Version Feature
v1.0 ✅ Webcam streaming over LAN / Internet
v1.1 Camera source abstraction (video files, RTSP)
v1.2 MediaPipe Pose plugin
v1.3 Hand tracking plugin
v1.4 YOLO object detection plugin
v1.5 OCR plugin
v2.0 Multi-client, browser viewer, recording

Author

Darshan Kerkar MIT License

Metadata

Release files for darvision 1.0.7

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

Source distribution (sdist)

Source distribution for darvision 1.0.7
File Size Uploaded Provenance Actions
darvision-1.0.7.tar.gz 25.5 kB Without provenance Details for darvision-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for darvision 1.0.7
File Interpreter ABI Platform Actions
darvision-1.0.7-py3-none-any.whl Python 3 none any Details for darvision-1.0.7-py3-none-any.whl

Total release size: 58.4 kB

Release files / darvision-1.0.7.tar.gz

Download URL darvision-1.0.7.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a505c3e9ade0e0ba4d03158aab5c64e63a5bd09bae7f7af88a3fd122fe7be23a
BLAKE2b-256 checksum
How to use checksums
8f46d2c7a7d1ad1f0f38d7185207da66dd9b76079cfc1329e6de03d5c5de1e2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / darvision-1.0.7-py3-none-any.whl

Download URL darvision-1.0.7-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b10c635c6441577c4cf03ddbf92ef97f101718744a6abf73e8b3d5e8a31bfdc0
BLAKE2b-256 checksum
How to use checksums
5cd9a9c1fdbf8a9449f68764611ba8937d709105fb22b54a9ecd3e3a18cab0fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Security for darvision 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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