{"id":29054236,"url":"https://github.com/specmatic/specmatic-order-api-python","last_synced_at":"2026-03-12T06:39:37.528Z","repository":{"id":160420051,"uuid":"635301423","full_name":"specmatic/specmatic-order-api-python","owner":"specmatic","description":"Python port of Specmatic Order Api","archived":false,"fork":false,"pushed_at":"2026-03-03T00:27:23.000Z","size":151,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-03-03T03:41:43.643Z","etag":null,"topics":["sample-project"],"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/specmatic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-02T12:03:55.000Z","updated_at":"2026-03-03T00:27:16.000Z","dependencies_parsed_at":"2025-11-17T09:03:03.463Z","dependency_job_id":null,"html_url":"https://github.com/specmatic/specmatic-order-api-python","commit_stats":null,"previous_names":["specmatic/specmatic-order-api-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/specmatic/specmatic-order-api-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specmatic%2Fspecmatic-order-api-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specmatic%2Fspecmatic-order-api-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specmatic%2Fspecmatic-order-api-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specmatic%2Fspecmatic-order-api-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/specmatic","download_url":"https://codeload.github.com/specmatic/specmatic-order-api-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specmatic%2Fspecmatic-order-api-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30417529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T04:41:02.746Z","status":"ssl_error","status_checked_at":"2026-03-12T04:40:12.571Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["sample-project"],"created_at":"2025-06-27T02:07:08.143Z","updated_at":"2026-03-12T06:39:37.514Z","avatar_url":"https://github.com/specmatic.png","language":"Python","readme":"# Specmatic Sample: Python-Flask Order API\n\n* [Specmatic Website](https://specmatic.io)\n* [Specmatic Documentation](https://docs.specmatic.io)\n\nThis sample project illustrates the implementation of contract-driven development and contract testing within a Flask (Python) application. In this context, Specmatic is utilized to function as a client, making calls to API service according to its OpenAPI specification to validate  its functionality.\n\nHere is the API's [contract/open api spec](https://github.com/specmatic/specmatic-order-contracts/blob/main/io/specmatic/examples/store/openapi/api_order_v3.yaml)\n\n## Tech\n\n1. Flask\n2. Specmatic\n3. PyTest\n4. Coverage\n5. Docker Desktop\n\n## Setup\n\n1. Install [Python 3.12](https://www.python.org/)\n2. Install JRE 17 or later.\n3. Install Docker Desktop\n\n## Setup Virtual Environment\n\n1. ### Create a virtual environment named \".venv\" by executing the following command in the terminal from the project's root directory\n\n   ```shell\n    python -m venv .venv\n    ```\n\n2. ### Activate virtual environment by executing\n\n* **on MacOS and Linux**\n\n   ```shell\n   source .venv/bin/activate\n   ```\n\n* **on Windows CMD**\n\n  ```cmd\n  .venv\\Scripts\\activate.bat\n  ```\n\n* **on Windows Powershell (you may need to adjust the ExecutionPolicy)**\n\n  ```powershell\n  .\\.venv\\Scripts\\Activate.ps1\n  ```\n\n## Install Dependencies\n\nTo install all necessary dependencies for this project, navigate to the project's root directory in your terminal and execute\n\n```shell\npip install -r requirements.txt\n```\n\n## Execute Tests and Validate Contracts with Specmatic\n\nExecuting this command will initiate Specmatic and execute the tests on the Flask application.\n\n```shell\npytest test -v -s\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecmatic%2Fspecmatic-order-api-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspecmatic%2Fspecmatic-order-api-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecmatic%2Fspecmatic-order-api-python/lists"}