Skip to main content

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.

Examples

Check whether the app is frozen:

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

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

platform_utils-1.6.3.tar.gz (15.1 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.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: platform_utils-1.6.3.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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.3.tar.gz
Algorithm Hash digest
SHA256 3782597b34642af86641af4576ee24b29db7da4a81365b108766501d58c83bf3
MD5 b5b4badd2f6d75890ecab7b46e14382f
BLAKE2b-256 654fd85d019ab78decb26cc9de50fb963125584febe583320f0d7d1f2e7dfac2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platform_utils-1.6.3-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e0be07c347d572100b4f4d746cbf4126f30f39f3079b02a824a4a6cfc6c9ec10
MD5 05c1ef2d7c4e7dfced240290d3568620
BLAKE2b-256 c99b63c8c41e8660ee0d112952ecbc55499781903a8067d2de8815c14b7e5230

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