Skip to main content

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.

Examples

Check whether the app is frozen:

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

Download files

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

Source Distribution

platform_utils-1.5.10.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

platform_utils-1.5.10-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file platform_utils-1.5.10.tar.gz.

File metadata

  • Download URL: platform_utils-1.5.10.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.14

File hashes

Hashes for platform_utils-1.5.10.tar.gz
Algorithm Hash digest
SHA256 537c62c4a69a949a5232d302fbc41798b44d167a93cc97579a74fa8718314f83
MD5 a0459050fca4c7702eab63854e109b13
BLAKE2b-256 809bcb3a9d71f5ca4d56bbb82bb2c63dbe8065f1927224e7a4f1727e7170f12c

See more details on using hashes here.

File details

Details for the file platform_utils-1.5.10-py3-none-any.whl.

File metadata

File hashes

Hashes for platform_utils-1.5.10-py3-none-any.whl
Algorithm Hash digest
SHA256 00cf7b5c7196347180de0f15769a4b152c65bccee13e5fdfaa3211f849e1d0ad
MD5 dc017c4ca395b8b522420e41f24c2ef0
BLAKE2b-256 a8af425727da8f3a9c15ed6f42fc34a7fbe35dcae8bd76e7f24aaf6e3085b060

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page