Skip to main content

Cross-platform utilities for accomplishing some tasks that the stdlib isn't equipped to provide

Project description

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

Project details


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

Uploaded Python 3

File details

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

File metadata

  • Download URL: platform_utils-1.6.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.2.tar.gz
Algorithm Hash digest
SHA256 649bce9741c2cc99ab8065dc677f16faeb039ed2904a602c89aded8da14cd2c9
MD5 db4c8818d35d05c5453be92222e30824
BLAKE2b-256 ce351388d9d259b53c4359d79f85afb0cac9ac40efdd8dee360ae18c220d226d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platform_utils-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a040c646eb64152ab8598b6d4997eb857c49d32d0ca115f38920bd006befd195
MD5 59dac14070be708af4526f689cc24978
BLAKE2b-256 a0b0005ec9008a0fd6c06e789cd8bd73b97b1aadae84b1dfc6ebd15b071ea71d

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 Pingdom Monitoring Sentry Error logging StatusPage Status page