Colorhug.Sha1¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
bytes |
r/w |
Methods¶
class |
|
|
Details¶
- class Colorhug.Sha1¶
- classmethod parse(value, sha1)¶
- Parameters:
value (
str
) – A string representation of the SHA1 hashsha1 (
Colorhug.Sha1
) – AColorhug.Sha1
- Raises:
- Returns:
True
for success- Return type:
Parses a SHA1 hash from a string value.
New in version 0.1.29.