LocalStack httpbin extension
A simple HTTP Request & Response Service directly in LocalStack using 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:
localstack extensions install localstack-extension-httpbin
Usage
Opening http://httpbin.localhost.localstack.cloud:4566 in the browser will show you the flasgger UI:
And you can call the API endpoints just as you would httpbin.org.
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
make install
Then, to enable the extension for LocalStack, run
localstack extensions dev enable .
You can then start LocalStack with EXTENSION_DEV_MODE=1 to load all enabled extensions:
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
Metadata
Release files for localstack-extension-httpbin 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| localstack_extension_httpbin-0.1.2.tar.gz | 97.8 kB | Without provenance | Details for localstack_extension_httpbin-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| localstack_extension_httpbin-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for localstack_extension_httpbin-0.1.2-py3-none-any.whl |
Total release size: 197.6 kB
Release files / localstack_extension_httpbin-0.1.2.tar.gz
| Download URL | localstack_extension_httpbin-0.1.2.tar.gz |
|---|---|
| Size | 97.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6c940238a7cae2b8ad575b8550aaafcff29241261e117b84127ac1587c5c829
|
|
BLAKE2b-256 checksum How to use checksums |
78727f71a47ff4845665860bec3aea15b07de861aa529a564ac3fbb090a2ea8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / localstack_extension_httpbin-0.1.2-py3-none-any.whl
| Download URL | localstack_extension_httpbin-0.1.2-py3-none-any.whl |
|---|---|
| Size | 99.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f1f54132733f6fc1faa22fc164c23f9c6fe6969e0a691c146e33b115aff7b22
|
|
BLAKE2b-256 checksum How to use checksums |
bba818b3117989aa2d033cfaf97683343ab66b010d635978a0f6da9549e2ab1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Security for localstack-extension-httpbin 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.