Skip to main content

cornelius

Cornelius allows you to control mouse and keyboard inputs in a simple way.

Currently only supports Windows.

See full documentation here

Usage

Install the PyPI package

pip install cornelius

or clone the repository

git clone https://github.com/manucabral/cornelius.git

Example

Using cursor module

from cornelius import Cursor

mouse = Cursor()
mouse.set(500, 500)
mouse.left_click()

Using keyboard module

from cornelius import Keyboard

keyboard = Keyboard()
keyboard.send('a')

You can see more examples here

Planned features

  • Mouse scrolling
  • Detect multiple clicks
  • Wait for a key/mouse input
  • Keyboard hotkeys

Download files

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

Source Distribution

cornelius-0.0.3.tar.gz (17.0 kB view details)

Uploaded Source

File details

Details for the file cornelius-0.0.3.tar.gz.

File metadata

  • Download URL: cornelius-0.0.3.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for cornelius-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4b08701e9bfd9e807ff67ab49f8f2fa6bd35ba4f31b763cefb78af14ce27759d
MD5 3a0103c785cd4e941d403b300a7e29e1
BLAKE2b-256 e71fb1fb57336ea75187d71224c88fcfb4608449694d563b9d7c563b76769936

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 file

0.0.2

1 file

0.0.1

1 file

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