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.0.tar.gz (6.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.5.0-py2.py3-none-any.whl (8.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: platform_utils-1.5.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for platform_utils-1.5.0.tar.gz
Algorithm Hash digest
SHA256 2e2b7dd27c18730b76e27f2ea4b546cc6363b7ff75aec6f7f27c5ead01ce60fb
MD5 0c8d3e7900b7ca7edb62990c387e3537
BLAKE2b-256 a497a85c0460efaf7ebc75652e68034eb8ba2927fbedff32ca4111514b959ac8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for platform_utils-1.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 837a7fe668b2be73340ed3612986c4f41f2e78aef2eb2a807ab62f5efd8d0c92
MD5 105b6c75166b558b59b659e04c87b2c5
BLAKE2b-256 e53c0fdc5d73f802bfc4027ce90a61f24374709d50aa0333a49735aef75964b5

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