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.6.1.tar.gz (14.8 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.6.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: platform_utils-1.6.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for platform_utils-1.6.1.tar.gz
Algorithm Hash digest
SHA256 e9b995e3c2f278a306086700c4f111b4dc3caefe4226ddae37df2eae9fec51e5
MD5 92499559a1121e3495479e0ce8bc4167
BLAKE2b-256 fad0714ca218d16ab5f1259f2daec77104559bf9de9cd264aa9c25e9e5819775

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platform_utils-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for platform_utils-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4965a4491c7c5c37db48fb01561002c042288c10a935bdee41298aaa6d7d51e5
MD5 c2ddbe00eec5baee98cff494424e186d
BLAKE2b-256 151fdb511b872740109014cb33122dc8d590802a4bd8cb77d9d6bb0d356d3532

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 Pingdom Monitoring Sentry Error logging StatusPage Status page