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.4.tar.gz (6.6 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.4-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: platform_utils-1.5.4.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for platform_utils-1.5.4.tar.gz
Algorithm Hash digest
SHA256 2ebc85bbf491a753c12fea6a7f62b41385ab52d0e8b45f5680efc881d2fcc734
MD5 ff4ea56c07d192ce0febe1b85243d81c
BLAKE2b-256 ed7c628c417a6ab7a62886d494620d218e7e3008ff1aa792b9f8fb9be0675b9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for platform_utils-1.5.4.tar.gz:

Publisher: publish-to-pypi.yml on accessibleapps/platform_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file platform_utils-1.5.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for platform_utils-1.5.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c91ff5e03f62d9cfbdceddf73a7bfaea113de2384ae065edbd67f441bef0b26f
MD5 49b338dd90ec9d3b5e0436339f756c04
BLAKE2b-256 b55156c8a348481b23bc1bf2a4c8c07457b7c1eac5450a746c1a3d11d80222e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for platform_utils-1.5.4-py2.py3-none-any.whl:

Publisher: publish-to-pypi.yml on accessibleapps/platform_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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