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.1.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for mac_colors-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfebb474e14c33a2fc9262a92d2936280ff8b9166e568b5de5e3e6b6324c923f |
|
MD5 | b0ecf9ae4578d9863ee25e564729dda2 |
|
BLAKE2b-256 | 6066340fab072a66122a185c1c28392cac029fd4e3741eb23fda6c6c8e238bf6 |