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

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.4
File Size Uploaded Provenance Actions
darvision-1.0.4.tar.gz 22.2 kB Without provenance Details for darvision-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 51.3 kB

Release files / darvision-1.0.4.tar.gz

Download URL darvision-1.0.4.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0b587a2774bb553282674302977d224c2b83067d07cc507bd730877262f16306
BLAKE2b-256 checksum
How to use checksums
5e0b1244234746311bdfe3d4167569740da9aa47601a3d149c80c83a0f5ecbb9
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.4-py3-none-any.whl

Download URL darvision-1.0.4-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21ea2587d1ae2fae24e09fb5de0f6cbf599337610a22b4500632b0f0b8263d55
BLAKE2b-256 checksum
How to use checksums
898196d7147df955f4500c551d606441008bc54ccc2d68179fad9d76cc8b91ad
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.4

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