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-0.4.tar.gz (5.3 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-0.4-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: platform_utils-0.4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15+

File hashes

Hashes for platform_utils-0.4.tar.gz
Algorithm Hash digest
SHA256 baeb81d8841c64776f3386cd2d6b5d804d02d8938b16e6b49162b0db9037b8e9
MD5 27381d19f184ba0c4353a191c6d8a9b0
BLAKE2b-256 b1c62b57a6387c30afdb0364f201bc76fcf8239da660ac971bee60afbb5398bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platform_utils-0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15+

File hashes

Hashes for platform_utils-0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bea1b5882335ba382d68bd901d3898ae28fc3711cb1f96b86ef3712868b1aa7f
MD5 434cfe8f05523a2a8e6aa0ccfcedb3ec
BLAKE2b-256 e9ab8ce11cfc04378cd58a6121e2e1acdf82f804b3a3d5020f7a8d75ca327729

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