MacOS Finder color tags
Project description
Install
$ [sudo] pip install mac-colors
Requirements
$ brew install tag
Examples
set color
>>> import mac_colors
>>> path = ["path/to/file1","path/to/file2"]
>>> mac_colors.blue(path)
>>> mac_colors.gray(path)
>>> mac_colors.green(path)
>>> mac_colors.orange(path)
>>> mac_colors.purple(path)
>>> mac_colors.red(path)
>>> mac_colors.yellow(path)
>>> mac_colors.none(path)
multiple colors
>>> mac_colors.replace(["blue","red"],["path/to/file"])
get color
>>> mac_colors.red(["path/to/file"])
>>> mac_colors.get(path)
{'path/to/file':["red"]}
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mac-colors-0.0.0.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for mac_colors-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6be310edaef8320af5cdc4f11f9e85ed82a5cdbb4429c5c54b7c02a856ab9852 |
|
MD5 | 0a6ead685a37abf0b525853b74b33e12 |
|
BLAKE2b-256 | a5edd9349606025b08d83db57fa393aa74f145801dc60af52e956970d5ac6b88 |