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
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mac-colors-0.0.1.tar.gz.
File metadata
- Download URL: mac-colors-0.0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce22eb7d4dd0d226f184b025310e8db47f5c9cb1c38126df1a4fb5bdc80afdee
|
|
| MD5 |
0c7cf572a6da4e99ed1180e9e5278216
|
|
| BLAKE2b-256 |
118ff107c6d510cc742c8872c3d9883ae4ea18e1c2aa20601c563662f5ec1afd
|
File details
Details for the file mac_colors-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: mac_colors-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfebb474e14c33a2fc9262a92d2936280ff8b9166e568b5de5e3e6b6324c923f
|
|
| MD5 |
b0ecf9ae4578d9863ee25e564729dda2
|
|
| BLAKE2b-256 |
6066340fab072a66122a185c1c28392cac029fd4e3741eb23fda6c6c8e238bf6
|