import os import re # Comprehensive Mapping MAPPING = [ # Git / URLs ('https://github.com/paritytech/polkadot-sdk', 'https://github.com/pezkuwichain/pezkuwi-sdk'), ('https://github.com/polkadotchain/polkadot-sdk', 'https://github.com/pezkuwichain/pezkuwi-sdk'), ('paritytech', 'pezkuwichain'), ('polkadotchain', 'pezkuwichain'), # Core Brands ('Polkadot SDK', 'Pezkuwi SDK'), ('polkadot-sdk', 'pezkuwi-sdk'), ('Polkadot', 'Pezkuwi'), ('polkadot', 'pezkuwi'), ('Substrate', 'Bizinikiwi'), ('substrate', 'bizinikiwi'), ('Cumulus', 'Pezcumulus'), ('cumulus', 'pezcumulus'), ('Parachain', 'Teyrchain'), ('parachain', 'teyrchain'), # Networks ('Rococo', 'Pezkuwichain'), ('rococo', 'pezkuwichain'), ('Westend', 'Zagros'), ('westend', 'zagros'), # Tokens ('DOT', 'HEZ'), ('WND', 'ZGR'), ('ROC', 'TYR'), # Components (with prefix protection to avoid pezpez) (r'(? pezsc- # sp- -> pezsp- (r'(?