This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S python3 -u | |
| import csv | |
| import datetime | |
| import glob | |
| import gzip | |
| import json | |
| import os | |
| import sys | |
| import time | |
| import hashlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import random | |
| import sys | |
| def hex_strs_to_ansi(hex_strs): | |
| assert isinstance(hex_strs, list) | |
| res = [] | |
| for col in hex_strs: |
OlderNewer