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.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.

Release history Release notifications | RSS feed

This release

1.6.3 This release

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.10

2 files

1.5.9

2 files

1.5.7

2 files

1.5.4

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

0.42

2 files

0.41

2 files

0.4

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page