Developer Notes¶
Here, we dive into ColorDetect’s inner definitions and working. Found a bug or feature request you would like to address? Take a look at the Contribution guidelines and feel free to submit a pull. The project source is hosted on Github
Check if the string parsed is a URL
Parameters¶
- url: str
A string to be checked
Parameters¶
- position: int
Current position of process
- total_length: int
Total length of process
- post_text: str
Text to display along with progress bar
sort_order¶
Sort items in a dictionary according to value
Parameters¶
- object_description: dict
A dictionary whose values need sorting
- key_count: int
The number of items to return from the sort
- ascending: bool
The order to perform the dictionary sort. By default, set to True.
- return:
A sorted dictionary with specific number