Mockerinho
A tool designed to simulate HTTP-based APIs for development and testing purposes.
Installation
You can install this package using pip
pip install mockerinho
Usage
Run the utility and specify simulations configurations directory (host and port are optional)
mockerinho -H 127.0.0.1 \
-p 3000 \
-D data/examples/simulations
Send request to the simulator
curl -i \
-X POST http://127.0.0.1:3000/users \
-H 'Content-Type: application/json' \
-d '{"name": "Alex"}'
Get response from the simulator
HTTP/1.1 201 CREATED
Content-Type: application/json
Content-Length: 18
Connection: Keep-Alive
{ "name": "Alex" }
For more information about simulation configuration, see the simulation configuration reference.
Author
License
Metadata
Release files for mockerinho 0.2.1
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 |
|---|---|---|---|---|
| mockerinho-0.2.1.tar.gz | 8.4 kB | Without provenance | Details for mockerinho-0.2.1.tar.gz |
Release files / mockerinho-0.2.1.tar.gz
| Download URL | mockerinho-0.2.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ca1bcfe57fa0f30d81686993d697a02ddf05e61c9abdedc9b9cfb41ce803366
|
|
BLAKE2b-256 checksum How to use checksums |
217d99a7e74d645324be0ad8d3f420a84f4199f712082bd15a4c3aad0e8f7efd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.6
|
Security for mockerinho 0.2.1
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.