@@ -0,0 +1,1270 @@
+from storj_gui_client.UI.utilities import account_manager%0Afrom storj_gui_client.UI.engine import StorjEngine%0A%0A# Module for mirrors for OwnStorj%0A%0Astorj_engine = StorjEngine()  # init StorjEngine%0A%0Aclass OwnStorjMirrors:%0A    def __init__(self, bucket_id, file_id):%0A        self.mirrors_data  = storj_engine.storj_client.file_mirrors(str(bucket_id), str(file_id))%0A%0A    def get_established_mirrors_array(self):%0A        divider = 0%0A        recent_shard_hash = ''%0A        established_mirrors_count_for_file = 0%0A        for file_mirror in self.mirrors_data:%0A            for mirror in file_mirror.established:%0A                established_mirrors_count_for_file += 1%0A                if mirror%5B'shardHash'%5D != recent_shard_hash:%0A                    divider = divider + 1%0A%0A                recent_shard_hash = mirror%5B'shardHash'%5D%0A%0A    def get_available_mirrors_array(self):%0A        divider = 0%0A        recent_shard_hash = ''%0A        established_mirrors_count_for_file = 0%0A        for file_mirror in self.mirrors_data:%0A            for mirror in file_mirror.available:%0A                established_mirrors_count_for_file += 1%0A                if mirror%5B'shardHash'%5D != recent_shard_hash:%0A                    divider = divider + 1%0A%0A                recent_shard_hash = mirror%5B'shardHash'%5D%0A

Create mirrors.py