Skip to main content

It looks like calango

Project description

Calango Project

It looks like magic

Tests PyPi Publish PyPI version

Get started

Install with pip

pip install calango

or

python -m pip install calango

Mouse Interface

from calango.devices import Mouse

mouse = Mouse()

mouse.up()  # move mouse pointer [up, down, left, right, top_left, top_right ...

mouse.position = (10, 10)  # move mouse pointer to (x, y)
print(mouse.position)  # return current postion

Camera Interface

from calango.devices import Capture
import cv2

cam = Capture()
while True:
    frame = next(cam)

    cv2.imshow('Window Name', frame)
    if cv2.waitKey(5) & 0xFF == 27:
        break
cam.stop()

# You can use out while context
frame = cam.frame  # current frame numpy array
cv2.imwrite('calango.png', frame)
cam.stop()  # stop capture

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

calango-1.0.8.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

calango-1.0.8-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file calango-1.0.8.tar.gz.

File metadata

  • Download URL: calango-1.0.8.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for calango-1.0.8.tar.gz
Algorithm Hash digest
SHA256 ae0a0f9460394c8e3a99ab9864fd651bc1a513bf6003ca1fe7042551937ea22e
MD5 8d35904802aa3ef4f5783612988e4684
BLAKE2b-256 d70b08e73f8582975ac84d6e896f93ff97d4dc89e9996b5fe10c27dc28ebb09c

See more details on using hashes here.

File details

Details for the file calango-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: calango-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for calango-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 679597a4bad96d396265574d5e3f66aaaf2a6e36bd6e2e4de1ebc5907df4f3dc
MD5 594ae207fbc1efe19fc76683cf6a8e21
BLAKE2b-256 a77157be52ba0f28fc9413a01d3af39cf9d847f349dfe0661b9a63b1f3a17b4d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page