{ "info": { "author": "Daniel Fairhead", "author_email": "danthedeckie@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: MacOS X", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python :: 2.7", "Topic :: Desktop Environment :: File Managers", "Topic :: Software Development :: Libraries", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "=================\nfinder_colors.py\n=================\n\nSet or inspect the colors that Apple OSX Finder assigns to files or folders.\n\nUsable as a standalone script, or it can be imported as a python module.\n\n=================\nStandalone Usage:\n=================\n\nTo find out the color of a file or folder: ::\n\n finder_colors.py $filename\n\nreturns: ::\n\n filename colorname\n\nYou can check multiple files at once, with: ::\n\n finder_colors.py $file1 $file2 $file3\n\nor from the shell, wildcards ::\n\n finder_colors.py *.txt\n\nTo set the color: ::\n\n finder_colors.py $color $filename\n\nYou can assign multiple files at once by: ::\n\n finder_colors.py $color $filename $filename2 $filename3 $etc\n\nso in a shell: ::\n\n finder_colors.py red *.py\n\nwould set all python scripts to red.\n\nOptions for colors are: ::\n\n none, gray, green, purple, blue, yellow, red, orange\n\nIf you're worried that you may have files in the list which could be valid\ncolor names, then simply invoke using path names ( `./filename` rather than\n`filename`, or with wildcards `./*` rather than `*`).\n\nThis is good practice in general.\n\n===================\nAs a python module:\n===================\n\nAfter installing (by PIP): ::\n\n >>> import finder_colors\n >>> finder_colors.get('/path/to/file')\n 'none'\n\n >>> finder_colors.set('/path/to/file', 'red')\n '\\x00........'\n\nThe value returned by `set(pathname, color)` is the complete\ncom.apple.FinderInfo attribute list of that file. You can probably ignore it.\n\n=============\nInstallation:\n=============\n\nEither with pip ::\n\n pip install finder_colors\n\nOr simply download the finder_colors.py script, and put it somewhere in\nyour $PATH (usually /usr/local/bin works...) and run ::\n\n chmod +x /usr/local/bin/finder_colors.py\n\n========\nLicence:\n========\n\nMIT Licenced, so pretty much do what you want with it. Here's the details:\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nEnjoy!", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/danthedeckie/finder_colors/tarball/0.9.5", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/danthedeckie/finder_colors", "keywords": "OSX,OS X,Finder,Colors,Utility,Colours", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "finder_colors", "package_url": "https://pypi.org/project/finder_colors/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/finder_colors/", "project_urls": { "Download": "https://github.com/danthedeckie/finder_colors/tarball/0.9.5", "Homepage": "https://github.com/danthedeckie/finder_colors" }, "release_url": "https://pypi.org/project/finder_colors/0.9.5/", "requires_dist": null, "requires_python": null, "summary": "Get/Set the Colors set on files by OSX Finder", "version": "0.9.5" }, "last_serial": 1804453, "releases": { "0.9.3": [ { "comment_text": "", "digests": { "md5": "f3010525a0b1a6ec23fad20be1fcd801", "sha256": "ec0a238b04712fac46fc5d59849c4b3e38ecd6f8669b8880ca962c229c8556b4" }, "downloads": -1, "filename": "finder_colors-0.9.3.tar.gz", "has_sig": false, "md5_digest": "f3010525a0b1a6ec23fad20be1fcd801", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4081, "upload_time": "2013-10-16T13:18:13", "url": "https://files.pythonhosted.org/packages/d8/be/28ef5e0eedd9c8f452902297315435360eef277e27d603d162a94bd2d717/finder_colors-0.9.3.tar.gz" } ], "0.9.5": [ { "comment_text": "", "digests": { "md5": "a535d84fe808ddb9844da2e62df6411c", "sha256": "3d9b7c1aa2e5729898c83674dcaeb31944d21d420c3bfa3c24aea9f5e9e398b6" }, "downloads": -1, "filename": "finder_colors-0.9.5.tar.gz", "has_sig": false, "md5_digest": "a535d84fe808ddb9844da2e62df6411c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4096, "upload_time": "2015-11-06T13:41:55", "url": "https://files.pythonhosted.org/packages/b3/50/784dcf6e325978d6384a438cd50d4fbfc79f6cddcb481e7c0d80e5d78108/finder_colors-0.9.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a535d84fe808ddb9844da2e62df6411c", "sha256": "3d9b7c1aa2e5729898c83674dcaeb31944d21d420c3bfa3c24aea9f5e9e398b6" }, "downloads": -1, "filename": "finder_colors-0.9.5.tar.gz", "has_sig": false, "md5_digest": "a535d84fe808ddb9844da2e62df6411c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4096, "upload_time": "2015-11-06T13:41:55", "url": "https://files.pythonhosted.org/packages/b3/50/784dcf6e325978d6384a438cd50d4fbfc79f6cddcb481e7c0d80e5d78108/finder_colors-0.9.5.tar.gz" } ] }