Skip to main content

PyCFUtils (Cristi Fati's Utils for Python (&& more)) - a collection of (cool) scripts / utilities

Project description

PyCFUtils

PyCFUtils (Cristi Fati's Utils for Python (&& more)) - a collection of (cool) scripts / utilities

Install

Use PIP:

python -m pip install --upgrade pycfutils

Usage example

import pycfutils.miscellaneous as misc
import pycfutils.keyboard

print("Press a key in less than one second...")
print(pycfutils.keyboard.read_key(timeout=1))
print(misc.timestamp_string(human_readable=True))

# --- Windows only ---
import pycfutils.gui

print(pycfutils.gui.message_box("Title", "Text to display", x=320, y=200))

# --- Requires PyGObject (also might take some time to complete) ---
from pycfutils.gstreamer import RegistryAccess

ra = RegistryAccess()
print(ra.element_classes())

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

pycfutils-2024.5.12.post1.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distributions

pycfutils-2024.5.12.post1-py3-none-win_amd64.whl (22.4 kB view hashes)

Uploaded Python 3 Windows x86-64

pycfutils-2024.5.12.post1-py3-none-win32.whl (21.6 kB view hashes)

Uploaded Python 3 Windows x86

pycfutils-2024.5.12.post1-py3-none-any.whl (12.8 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