Skip to main content

A way to capture keystrokes

Project description

fkeycapture

This is a simple and easy to use package that allows you to capture individual keystrokes from the user.

Forms:

  1. (Default) Recive key as a string
  2. Recive key as bytes (get only)
  3. Recive key as ints (getnum only)

How to Use:

  1. from fkeycapture import get, getnum, getchars
  2. Use get like this: get([number of keys to capture],[if you want bytes output, make this 'True'])
  3. Use getnum like this: getnum([number of numbers to capture], [if you want int output, make this True])
v.1.2.1:

Type hinting, docstrings, and int support for getnum!

Now includes a help command! Use fkeycapture.help() to recive help. Help discontinued.

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

fkeycapture-1.2.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

fkeycapture-1.2.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

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