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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for platform_utils-1.5.7.tar.gz
Algorithm Hash digest
SHA256 fb01d893b84257a1b90621505acf27b7ae0e5ba531a6779a9897fbeb973dff30
MD5 c0553ea7c667f18af8dbbe4fe452486f
BLAKE2b-256 c67922ba2cb1dc5b4bec0c2fedb57ae3da65a3277be232192ed86777be033f23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for platform_utils-1.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 75254349ddf620990e2c1c99c788da10ea7d59e5bbc53b304e3e81cac523c0d9
MD5 0cc0b734559d13282e88091667d9235a
BLAKE2b-256 65428b71ceffcde00827284af5a008731c6d41469bc0f1c44cc848d8d0d96b64

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