{"id":27047209,"url":"https://github.com/rishant/python_command_design_pattern_client","last_synced_at":"2025-07-21T08:33:37.347Z","repository":{"id":247293042,"uuid":"825298894","full_name":"rishant/python_command_design_pattern_client","owner":"rishant","description":"main - python_cli_command_utility_v2","archived":false,"fork":false,"pushed_at":"2024-07-08T18:10:11.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T06:29:47.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rishant.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":"2024-07-07T11:51:29.000Z","updated_at":"2024-07-08T18:10:16.000Z","dependencies_parsed_at":"2024-07-08T23:09:58.905Z","dependency_job_id":null,"html_url":"https://github.com/rishant/python_command_design_pattern_client","commit_stats":null,"previous_names":["rishant/python_cli_command_utility_v2","rishant/python_command_design_pattern_client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishant/python_command_design_pattern_client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fpython_command_design_pattern_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fpython_command_design_pattern_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fpython_command_design_pattern_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fpython_command_design_pattern_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishant","download_url":"https://codeload.github.com/rishant/python_command_design_pattern_client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishant%2Fpython_command_design_pattern_client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266267291,"owners_count":23902334,"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":[],"created_at":"2025-04-05T06:28:42.409Z","updated_at":"2025-07-21T08:33:37.324Z","avatar_url":"https://github.com/rishant.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python client using command design pattern CLI | database | MongoDB | Rest Api | kafka\n\ncmd:/\u003e python runner.py --command odr_create_order --json-data \"{\\\"order_id\\\": \\\"123\\\", \\\"item\\\": \\\"book\\\", \\\"quantity\\\": 2}\" \n\ncmd:/\u003e python runner.py --command odr_create_order --json-data '{\"order_id\": \"123\", \"item\": \"book\", \"quantity\": 2}'\n\ncmd:/\u003e python runner.py --command cancel_order --json-data '{\"order_id\": \"123\"}'\n\ncmd:/\u003e python runner.py --command process_payment --json-data '{\"payment_id\": \"456\", \"amount\": 100.0}'\n\ncmd:/\u003e python runner.py --command refund_payment --json-data '{\"payment_id\": \"456\"}'\n\ncmd:/\u003e python runner.py --command create_user --mongo-uri 'mongodb://localhost:27017/' --json-data '{\"username\": \"john_doe\", \"email\": \"john@example.com\", \"password\": \"password123\"}'\n\ncmd:/\u003e python runner.py --command get_external_posts --api_uri 'https://jsonplaceholder.typicode.com/posts' --json-data '{\"username\": \"john_doe\", \"email\": \"john@example.com\", \"password\": \"password123\"}'\n\n\n## skip `__pycache__` compiled code generation\n\n    set PYTHONDONTWRITEBYTECODE=1\n    python -m unittest discover -s tests\n\n\n## Create `run_tests.py` script and execute it\n\n    import os\n    import unittest\n    \n    os.environ['PYTHONDONTWRITEBYTECODE'] = '1'\n    \n    # Discover and run tests\n    loader = unittest.TestLoader()\n    tests = loader.discover('tests')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishant%2Fpython_command_design_pattern_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishant%2Fpython_command_design_pattern_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishant%2Fpython_command_design_pattern_client/lists"}