{ "info": { "author": "Christopher Toth", "author_email": "q@q-continuum.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Software Development :: Libraries" ], "description": "====================\r\nPlatform_utils\r\n====================\r\n\r\nPlatform_utils is a library which provides several cross-platform utilities, including:\r\n\r\n* 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.\r\n* clipboard - allows getting/setting clipboard text.\r\n* idle - allows getting the user idle time on Windows.\r\n* process - allows killing processes on Windows and Unix.\r\n* shell_integration - adds something to the context menu on Windows.\r\n* blackhole - disables stdout/stderr when using py2exe.\r\n\r\nExamples\r\n==========\r\n\r\nCheck whether the app is frozen:\r\n----------------------------------------\r\n\r\n\r\n.. code-block:: python\r\n\r\n >>> import platform_utils.paths\r\n >>> platform_utils.paths.is_frozen()\r\n False\r\n\r\nFind the recommended directory where user data files should be stored:\r\n--------------------------------------------------------------------------------\r\n\r\n.. code-block:: python\r\n\r\n >>> import platform_utils.paths\r\n >>> platform_utils.paths.app_data_path(\"app name\")\r\n u'C:\\\\Users\\\\user\\\\AppData\\\\Roaming\\\\app name'\r\n\r\n\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "platform-utils", "package_url": "https://pypi.org/project/platform-utils/", "platform": "", "project_url": "https://pypi.org/project/platform-utils/", "project_urls": null, "release_url": "https://pypi.org/project/platform-utils/0.41/", "requires_dist": [ "pywin32 ; sys_platform == \"win32\"", "winpaths ; sys_platform == \"win32\"" ], "requires_python": "", "summary": "Cross-platform utilities for accomplishing some tasks that the stdlib isn't equipped to provide", "version": "0.41" }, "last_serial": 5401561, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "434cfe8f05523a2a8e6aa0ccfcedb3ec", "sha256": "bea1b5882335ba382d68bd901d3898ae28fc3711cb1f96b86ef3712868b1aa7f" }, "downloads": -1, "filename": "platform_utils-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "434cfe8f05523a2a8e6aa0ccfcedb3ec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8206, "upload_time": "2019-06-14T17:19:34", "url": "https://files.pythonhosted.org/packages/e9/ab/8ce11cfc04378cd58a6121e2e1acdf82f804b3a3d5020f7a8d75ca327729/platform_utils-0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27381d19f184ba0c4353a191c6d8a9b0", "sha256": "baeb81d8841c64776f3386cd2d6b5d804d02d8938b16e6b49162b0db9037b8e9" }, "downloads": -1, "filename": "platform_utils-0.4.tar.gz", "has_sig": false, "md5_digest": "27381d19f184ba0c4353a191c6d8a9b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5335, "upload_time": "2019-06-14T17:19:07", "url": "https://files.pythonhosted.org/packages/b1/c6/2b57a6387c30afdb0364f201bc76fcf8239da660ac971bee60afbb5398bb/platform_utils-0.4.tar.gz" } ], "0.41": [ { "comment_text": "", "digests": { "md5": "218ab79d043e89277078cd4a5e65c684", "sha256": "17b34ddd8a17e65687ba781b3d2845be9b382938dff2a6ba424f6368fe8be026" }, "downloads": -1, "filename": "platform_utils-0.41-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "218ab79d043e89277078cd4a5e65c684", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8259, "upload_time": "2019-06-14T17:55:39", "url": "https://files.pythonhosted.org/packages/c8/0d/27a9671112ea330519550b1940229aca84823490f83fa6153ac006707c46/platform_utils-0.41-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4248dd34f4186af138b6e64c5b10ac78", "sha256": "1bd9b0a74ca8ac114691d01782d910ead04bd46ca5e3eb6108eb66daf8b7b4c7" }, "downloads": -1, "filename": "platform_utils-0.41.tar.gz", "has_sig": false, "md5_digest": "4248dd34f4186af138b6e64c5b10ac78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5409, "upload_time": "2019-06-14T17:55:40", "url": "https://files.pythonhosted.org/packages/1a/09/bfa6d8f00751e06f94354092cd9012fb7b905637467f0651426b16be44eb/platform_utils-0.41.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "218ab79d043e89277078cd4a5e65c684", "sha256": "17b34ddd8a17e65687ba781b3d2845be9b382938dff2a6ba424f6368fe8be026" }, "downloads": -1, "filename": "platform_utils-0.41-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "218ab79d043e89277078cd4a5e65c684", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8259, "upload_time": "2019-06-14T17:55:39", "url": "https://files.pythonhosted.org/packages/c8/0d/27a9671112ea330519550b1940229aca84823490f83fa6153ac006707c46/platform_utils-0.41-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4248dd34f4186af138b6e64c5b10ac78", "sha256": "1bd9b0a74ca8ac114691d01782d910ead04bd46ca5e3eb6108eb66daf8b7b4c7" }, "downloads": -1, "filename": "platform_utils-0.41.tar.gz", "has_sig": false, "md5_digest": "4248dd34f4186af138b6e64c5b10ac78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5409, "upload_time": "2019-06-14T17:55:40", "url": "https://files.pythonhosted.org/packages/1a/09/bfa6d8f00751e06f94354092cd9012fb7b905637467f0651426b16be44eb/platform_utils-0.41.tar.gz" } ] }