Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Cross-platform utilities for accomplishing some tasks that the stdlib isn't equipped to provide

Project description

Platform_utils is a library which provides several cross-platform utilities, including:

  • path manipulation - allows you to do several things with paths including getting the path to store application data, creating the application data directory, checking whether the app is frozen, etc.
  • clipboard - allows getting/setting clipboard text.
  • idle - allows getting the user idle time on Windows.
  • process - allows killing processes on Windows and Unix.
  • shell_integration - adds something to the context menu on Windows.
  • blackhole - disables stdout/stderr when using py2exe.


Check whether the app is frozen:

>>> import platform_utils.paths
>>> platform_utils.paths.is_frozen()

Project details

Download files

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

Files for platform-utils, version 0.41
Filename, size File type Python version Upload date Hashes
Filename, size platform_utils-0.41-py2.py3-none-any.whl (8.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size platform_utils-0.41.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page