{"id":49637845,"url":"https://github.com/ezequielramos/http-server-mock","last_synced_at":"2026-05-05T17:35:06.080Z","repository":{"id":62569688,"uuid":"195147657","full_name":"ezequielramos/http-server-mock","owner":"ezequielramos","description":"Python 3 library to mock a http server using Flask","archived":false,"fork":false,"pushed_at":"2023-10-22T03:32:13.000Z","size":40,"stargazers_count":12,"open_issues_count":5,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-28T05:27:03.001Z","etag":null,"topics":["http","http-server","mock","python3","unittest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ezequielramos.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-04T01:19:21.000Z","updated_at":"2024-08-12T08:13:03.000Z","dependencies_parsed_at":"2022-11-03T17:15:21.557Z","dependency_job_id":null,"html_url":"https://github.com/ezequielramos/http-server-mock","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ezequielramos/http-server-mock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequielramos%2Fhttp-server-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequielramos%2Fhttp-server-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequielramos%2Fhttp-server-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequielramos%2Fhttp-server-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezequielramos","download_url":"https://codeload.github.com/ezequielramos/http-server-mock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezequielramos%2Fhttp-server-mock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32660566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["http","http-server","mock","python3","unittest"],"created_at":"2026-05-05T17:35:05.312Z","updated_at":"2026-05-05T17:35:06.074Z","avatar_url":"https://github.com/ezequielramos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"http-server-mock\n================\n\n.. image:: https://img.shields.io/pypi/v/http-server-mock.svg\n   :target: https://pypi.python.org/pypi/http-server-mock\n   :alt: http-server-mock on PyPI (Python Package Index)\n\n.. image:: https://travis-ci.org/ezequielramos/http-server-mock.svg?branch=master\n   :target: https://travis-ci.org/ezequielramos/http-server-mock\n   :alt: Travis CI tests (Linux)\n\n.. image:: https://coveralls.io/repos/github/ezequielramos/http-server-mock/badge.svg?branch=master\n   :target: https://coveralls.io/github/ezequielramos/http-server-mock?branch=master\n   :alt: Test coverage on Coveralls\n\nhttp-server-mock is a HTTP Server Mock using Flask. You can use it to test possible integrations with your application.\n\nhttp-server-mock is available on PyPI. To install it just run:\n::\n\n    pip install http-server-mock\n\nUsing http-server-mock is similar to implement any Flask application.\n\n.. code:: python\n\n    from http_server_mock import HttpServerMock\n    import requests\n    app = HttpServerMock(__name__)\n\n    @app.route(\"/\", methods=[\"GET\"])\n    def index():\n        return \"Hello world\"\n\n    with app.run(\"localhost\", 5000):\n        r = requests.get(\"http://localhost:5000/\")\n        # r.status_code == 200\n        # r.text == \"Hello world\"\n\nHttpServerMock will use a random route to know if the http server is running, if you want to set a specific route to do it just set the parameter is_alive_route:\n\n.. code:: python\n\n    from http_server_mock import HttpServerMock\n    app = HttpServerMock(__name__, is_alive_route=\"/is-alive\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezequielramos%2Fhttp-server-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezequielramos%2Fhttp-server-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezequielramos%2Fhttp-server-mock/lists"}