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(keycount = any int, bytes = True or False)
  3. Use getnum like this: getnum(keycount = any int, ints = True or False)
  4. Use getchars like this: getchars(keycount = any int, chars = list of chars, bytes = True or False)

Change log:

v.1.2.7:

Make some small type hinting changes, update .pyi file

v.1.2.6:

Add new option to use os.read instead of sys.stdin.read

v.1.2.5:

Add support for deleting chars in all methods, also completely removed the help command from the code for space reasons

v.1.2.4:

Mypy support

v.1.2.3:

Project links updated

v.1.2.2:

Internal improvements, Changelog improved

v.1.2.1:

Changelog issue fixed, removed the help command from 1.0.10

v.1.2.0

Type hinting, docstrings, and int support for getnum!

v.1.0.10

Now includes a help command! Use fkeycapture.help() to recive help. See v.1.2.1

v.1.0.9

Fixed README issues in 1.0.8

v.1.0.8

Added getchars method

v.1.0.7

Added the getnum method

v.1.0.6

Finally made the package usable.

v.1.0.5

Repaired an issue in 1.0.4 which caused the module to cause a recusion error.

v.1.0.4

Repaired an issue in 1.0.3 which caused the module to be unusable.

v.1.0.3

Repaired an issue in 1.0.0, 1.0.1, and 1.0.2 which caused the module to be unusable.

v.1.0.2 (Missing)

Unknown

v.1.0.1

Corrected incorrect text in certain files

v.0.0.6 (v.1.0.0 on PyPI)

Removed unnecessary code

v.0.0.5

Replit support?

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.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

fkeycapture-1.2.7-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file fkeycapture-1.2.7.tar.gz.

File metadata

  • Download URL: fkeycapture-1.2.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for fkeycapture-1.2.7.tar.gz
Algorithm Hash digest
SHA256 5ef9c90aec0420a2e462420a2bc8076a50ffd8566a9a022ac171c0e508f1d58d
MD5 119f6a4f4b13baa50c23ffb23eb899db
BLAKE2b-256 b5a58e206ee6a368021db7c5464dd448d0f853a4b29e0f2ff97c7509b0a9f72b

See more details on using hashes here.

File details

Details for the file fkeycapture-1.2.7-py3-none-any.whl.

File metadata

  • Download URL: fkeycapture-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for fkeycapture-1.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c09cb715ccf2b9dfc25ecd39bffaf8fa794bc07410f666ac2ec15ebebebaabef
MD5 7f778b478dcc14347f18f39dc9f2ae08
BLAKE2b-256 8f9990de8a771eeee1e14f79e9f316e0995281ff92320b0390efd4ee9db7c26b

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