pymytest
pymytest is a Python package that allows you to test APIs from the command line. It returns the API response status code, body, and the time taken for execution.
Installation
You can install the package using pip:
pip install pymytest
Usage
After installation, you can use the pymytest command followed by the URL of the API you want to test. For example: (add your own api)
pymytest GET https://jsonplaceholder.typicode.com/posts/1
pymytest POST https://jsonplaceholder.typicode.com/posts '{"title": "pymytest", "body": "now", "userId": 1}'
pymytest PUT https://jsonplaceholder.typicode.com/posts/1 '{"title": "nnow", "body": "pymytest", "userId": 1}'
pymytest DELETE https://jsonplaceholder.typicode.com/posts/1
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or create a pull request on GitHub.
Metadata
Release files for pymytest 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymytest-0.7.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymytest-0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / pymytest-0.7.tar.gz
| Download URL | pymytest-0.7.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0463b6552b0522820b65d427d64f491049cdbba9c1df7a1e9c504727682c3042
|
|
BLAKE2b-256 checksum How to use checksums |
eada98fc1023cace75468f28992dc0f002120a267df2ee971461b26171c0e486
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|
Release files / pymytest-0.7-py3-none-any.whl
| Download URL | pymytest-0.7-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62dd86ef4dcf1435fe0eaafef97cccf8b8f3f7031e347325b989a4dc6e0ba0e5
|
|
BLAKE2b-256 checksum How to use checksums |
beb341785c0a864243a4fa0ceff55afeecb5bc08dd0b92c5e7143410ffe96882
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|