Skip to main content

A simple tool to stream camera in shell.

Reason this release was yanked:

Not stable

Project description

CamShell

CamShell, A simple way to stream a camera as ASCII art directly in a terminal.

Installation

Using pip:

pip install camshell

How to Use

CLI Usage:

After installation, you can run the camshell command-line tool or by providing the device id.

# Run the default device
camshell

# Or run by device-id
camshell 1

# Or a device path specifically
camshell /dev/video3

Python API Usage

If you’d like to use CamShell in your Python code, here’s how:

from camshell import CamShell

# simply call:
device_id = "/dev/video0"
CamShell.start(device_id)

Run on a custom screen

from asciimatics.screen import Screen
from camshell import CamShell

with CamShell(cap_id="/dev/video0") as display:
    Screen.wrapper(display.run)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

camshell-0.1.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

camshell-0.1.3-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file camshell-0.1.3.tar.gz.

File metadata

  • Download URL: camshell-0.1.3.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for camshell-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a8375cc4e3e5685d8057f9eb64628882535fbc5b2f9f6fc1c21eb20d26e5e414
MD5 5bbcadcb2353742614f75fdc57f1e33e
BLAKE2b-256 8295864af197aaec6ec4ea61cbfc6ad13d2daa60cc57f144e5efe8fe95d74f89

See more details on using hashes here.

File details

Details for the file camshell-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: camshell-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for camshell-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 af82272eabe5291e7df2e61a926e628c94a25587b5950d610149fb73afc373e2
MD5 62bb56ce07f5866539bfe2667d56a2b3
BLAKE2b-256 94cd9004ba9262206af70158c7dcdc3f2721430d69a9f01cc936c476f28414a1

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