Skip to main content

Capture Keypress

Project description

Key Press

Python package for capture and return keypress.

Prerequisites

Developed and tested in Linux and Python 3

Installing

pip3 install ebx_keypress

or from source:

python3 -m pip install [your_path]/ebx_keypress/

Functions

keypress

keypress(): Description: Capture pressed keys and combined keys and return as string

Return: String with pressed key

Examples of use

import ebx_keypress

result_Keypress = ''

obj_keypress = ebx_keypress.Get_Key()

print("Press keys or Ctrl+C to Exit")

while result_Keypress != 'Ctrl+ C':
    result_Keypress = obj_keypress.keypress()
    print(result_Keypress)


Versioning

=======================================================================================
== Log Changes: 
== Date:            2021-05-12
== Author:          Fausto Branco
== Version:         1.1.0
== Description:     Initial Version
=======================================================================================

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

ebx_keypress-1.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

ebx_keypress-1.1.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file ebx_keypress-1.1.0.tar.gz.

File metadata

  • Download URL: ebx_keypress-1.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.8

File hashes

Hashes for ebx_keypress-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e165e2414f135bfc9bb119d84be0fef9b3c14013b7bb0eca595338d817c16762
MD5 aa57ed2d00ef727a6cec199d8b22b662
BLAKE2b-256 e93ed7f63249709e070719fd38b0bdd1edf9195a2ace2a4a346f924f85038c8c

See more details on using hashes here.

File details

Details for the file ebx_keypress-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ebx_keypress-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.8

File hashes

Hashes for ebx_keypress-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3277e546b3d7016898edcd0145b84b7152fcdac6f2d68c5b038b07f1dbcd435b
MD5 39e8344f59e73bda0ac2d3038ab67cd7
BLAKE2b-256 abf32b4b2fe6bc13c89e4f186d87d1ba517cea14212200825f70e962dc70ac49

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