#!/usr/bin/env python3 # -*-coding:UTF-8 -* """ The Cryptocurrency Module ============================ It trying to extract cryptocurrencies address and secret key from items ..seealso:: Paste method (get_regex) Requirements ------------ *Need running Redis instances. (Redis). """ ################################## # Import External packages ################################## import os import sys from abc import ABC sys.path.append(os.environ['AIL_BIN']) ################################## # Import Project packages ################################## from modules.abstract_module import AbstractModule from lib.objects.CryptoCurrencies import CryptoCurrency from lib.objects.Items import Item ################################## ################################## default_max_execution_time = 30 CURRENCIES = { 'bitcoin': { 'name': 'bitcoin', # e.g. 1NbEPRwbBZrFDsx1QW19iDs8jQLevzzcms 'regex': r'\b(?