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.1

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.1
File Size Uploaded Provenance Actions
darvision-1.0.1.tar.gz 21.7 kB Without provenance Details for darvision-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 50.3 kB

Release files / darvision-1.0.1.tar.gz

Download URL darvision-1.0.1.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1f09914fbb2d44927097e745fb798871ebe90767bd1658d3bb0d8a871139cb52
BLAKE2b-256 checksum
How to use checksums
75259bda3b4b1d7c8f6bb130176e561e43b09fc0055244b08927271401bf2f82
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.1-py3-none-any.whl

Download URL darvision-1.0.1-py3-none-any.whl
Size 28.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e989e9ff73f01fd53fdba98b10e95bf94f8b863fa29b5c467fbe736169e2ce66
BLAKE2b-256 checksum
How to use checksums
53f2a8d4fe607f1e9e5416ee1205b86f609786aa224ce5387a609d2a8710c94a
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.1

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