{"id":22337399,"url":"https://github.com/aminehsan/designpattern-adapter","last_synced_at":"2025-06-26T11:36:05.955Z","repository":{"id":177900204,"uuid":"661065304","full_name":"aminehsan/DesignPattern-Adapter","owner":"aminehsan","description":"Analysis and implementation of the Adapter Design Pattern","archived":false,"fork":false,"pushed_at":"2024-06-07T18:45:37.000Z","size":37,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T02:13:08.905Z","etag":null,"topics":["adapter","adapter-design-pattern","computer-software-engineer","design-pattern"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aminehsan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-01T17:19:04.000Z","updated_at":"2024-10-06T12:07:23.000Z","dependencies_parsed_at":"2023-07-10T23:30:26.423Z","dependency_job_id":null,"html_url":"https://github.com/aminehsan/DesignPattern-Adapter","commit_stats":null,"previous_names":["aminehsan/designpattern-adapter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminehsan%2FDesignPattern-Adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminehsan%2FDesignPattern-Adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminehsan%2FDesignPattern-Adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminehsan%2FDesignPattern-Adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aminehsan","download_url":"https://codeload.github.com/aminehsan/DesignPattern-Adapter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999370,"owners_count":21030957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adapter","adapter-design-pattern","computer-software-engineer","design-pattern"],"created_at":"2024-12-04T06:09:46.941Z","updated_at":"2025-04-09T07:44:52.610Z","avatar_url":"https://github.com/aminehsan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Design Pattern Adapter\n\u003e Analysis and implementation of the Adapter Design Pattern\n\n![Adapter](https://github.com/AminEhsan/DesignPattern-Adapter/blob/main/1.png) \n\nAdapter is a structural design pattern that allows objects with incompatible interfaces to collaborate.\n\n## How to run Python\n```bash\npython main.py\n```\n\n#### Output :\n\u003e Client: I can work just fine with the Target objects:\n\u003e Target: The default target's behavior.\n\n\u003e Client: The Adaptee class has a weird interface. See, I don't understand it:\n\u003e Adaptee: .eetpadA eht fo roivaheb laicepS\n\n\u003e Client: But I can work with it via the Adapter:\n\u003e Adapter: (TRANSLATED) Special behavior of the Adaptee.\n\n#### Structure :\n```\n├── main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminehsan%2Fdesignpattern-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faminehsan%2Fdesignpattern-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminehsan%2Fdesignpattern-adapter/lists"}