localstack-extension-httpbin


Namelocalstack-extension-httpbin JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/localstack/localstack-extensions/tree/main/httpbin
SummaryLocalStack Extension: httpbin
upload_time2024-07-16 07:30:15
maintainerNone
docs_urlNone
authorLocalStack
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            LocalStack httpbin extension
===============================
[![Install LocalStack Extension](https://localstack.cloud/gh/extension-badge.svg)](https://app.localstack.cloud/extensions/remote?url=git+https://github.com/localstack/localstack-extensions/#egg=localstack-extension-httpbin&subdirectory=httpbin)

A simple HTTP Request & Response Service directly in LocalStack
using [httpbin](https://github.com/postmanlabs/httpbin).
Get the full httpbin experience directly in LocalStack without connecting to httpbin.org!

The httpbin API is served through the hostname `http://httpbin.localhost.localstack.cloud:4566`.

## Install

Install the extension by running:

```bash
localstack extensions install localstack-extension-httpbin
```

## Usage

Opening http://httpbin.localhost.localstack.cloud:4566 in the browser will show you the flasgger UI:
![Screenshot at 2023-07-27 14-33-03](https://github.com/localstack/localstack-extensions/assets/3996682/68442f91-13b8-4308-8f04-966340cff082)

And you can call the API endpoints just as you would httpbin.org.
![Screenshot at 2023-07-27 14-34-15](https://github.com/localstack/localstack-extensions/assets/3996682/bebe444a-d6f9-4953-87ef-cca79daa00e8)

## Development

### Install local development version

To install the extension into localstack in developer mode, you will need Python 3.10, and create a virtual
environment in the extensions project.

In the newly generated project, simply run

```bash
make install
```

Then, to enable the extension for LocalStack, run

```bash
localstack extensions dev enable .
```

You can then start LocalStack with `EXTENSION_DEV_MODE=1` to load all enabled extensions:

```bash
EXTENSION_DEV_MODE=1 localstack start
```

## Licensing

* httpbin is licensed under the ISC license: https://github.com/postmanlabs/httpbin/blob/master/LICENSE
* The httpbin source code is vendored with this extension, slight modifications were made to make it
  compatible with the latest Python and Werkzeug version.
  The modifications retain the ISC license
* The extension code is licensed under the Apache 2.0 License

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/localstack/localstack-extensions/tree/main/httpbin",
    "name": "localstack-extension-httpbin",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "LocalStack",
    "author_email": "info@localstack.cloud",
    "download_url": "https://files.pythonhosted.org/packages/78/72/7f71a47ff4845665860bec3aea15b07de861aa529a564ac3fbb090a2ea8e/localstack_extension_httpbin-0.1.2.tar.gz",
    "platform": null,
    "description": "LocalStack httpbin extension\n===============================\n[![Install LocalStack Extension](https://localstack.cloud/gh/extension-badge.svg)](https://app.localstack.cloud/extensions/remote?url=git+https://github.com/localstack/localstack-extensions/#egg=localstack-extension-httpbin&subdirectory=httpbin)\n\nA simple HTTP Request & Response Service directly in LocalStack\nusing [httpbin](https://github.com/postmanlabs/httpbin).\nGet the full httpbin experience directly in LocalStack without connecting to httpbin.org!\n\nThe httpbin API is served through the hostname `http://httpbin.localhost.localstack.cloud:4566`.\n\n## Install\n\nInstall the extension by running:\n\n```bash\nlocalstack extensions install localstack-extension-httpbin\n```\n\n## Usage\n\nOpening http://httpbin.localhost.localstack.cloud:4566 in the browser will show you the flasgger UI:\n![Screenshot at 2023-07-27 14-33-03](https://github.com/localstack/localstack-extensions/assets/3996682/68442f91-13b8-4308-8f04-966340cff082)\n\nAnd you can call the API endpoints just as you would httpbin.org.\n![Screenshot at 2023-07-27 14-34-15](https://github.com/localstack/localstack-extensions/assets/3996682/bebe444a-d6f9-4953-87ef-cca79daa00e8)\n\n## Development\n\n### Install local development version\n\nTo install the extension into localstack in developer mode, you will need Python 3.10, and create a virtual\nenvironment in the extensions project.\n\nIn the newly generated project, simply run\n\n```bash\nmake install\n```\n\nThen, to enable the extension for LocalStack, run\n\n```bash\nlocalstack extensions dev enable .\n```\n\nYou can then start LocalStack with `EXTENSION_DEV_MODE=1` to load all enabled extensions:\n\n```bash\nEXTENSION_DEV_MODE=1 localstack start\n```\n\n## Licensing\n\n* httpbin is licensed under the ISC license: https://github.com/postmanlabs/httpbin/blob/master/LICENSE\n* The httpbin source code is vendored with this extension, slight modifications were made to make it\n  compatible with the latest Python and Werkzeug version.\n  The modifications retain the ISC license\n* The extension code is licensed under the Apache 2.0 License\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "LocalStack Extension: httpbin",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/localstack/localstack-extensions/tree/main/httpbin"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bba818b3117989aa2d033cfaf97683343ab66b010d635978a0f6da9549e2ab1c",
                "md5": "751e1a702149f2341af84d952c551367",
                "sha256": "8f1f54132733f6fc1faa22fc164c23f9c6fe6969e0a691c146e33b115aff7b22"
            },
            "downloads": -1,
            "filename": "localstack_extension_httpbin-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "751e1a702149f2341af84d952c551367",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 99804,
            "upload_time": "2024-07-16T07:30:13",
            "upload_time_iso_8601": "2024-07-16T07:30:13.164899Z",
            "url": "https://files.pythonhosted.org/packages/bb/a8/18b3117989aa2d033cfaf97683343ab66b010d635978a0f6da9549e2ab1c/localstack_extension_httpbin-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "78727f71a47ff4845665860bec3aea15b07de861aa529a564ac3fbb090a2ea8e",
                "md5": "02e32269dd3308770e8d4ee445efa91c",
                "sha256": "f6c940238a7cae2b8ad575b8550aaafcff29241261e117b84127ac1587c5c829"
            },
            "downloads": -1,
            "filename": "localstack_extension_httpbin-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "02e32269dd3308770e8d4ee445efa91c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 97782,
            "upload_time": "2024-07-16T07:30:15",
            "upload_time_iso_8601": "2024-07-16T07:30:15.257076Z",
            "url": "https://files.pythonhosted.org/packages/78/72/7f71a47ff4845665860bec3aea15b07de861aa529a564ac3fbb090a2ea8e/localstack_extension_httpbin-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-16 07:30:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "localstack",
    "github_project": "localstack-extensions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "localstack-extension-httpbin"
}
        
Elapsed time: 0.53370s