The simple http client and REST test tool for humans.
Project description
RESTClient
The cross-platform tool to work with http.
Installation
For most users, the recommended method to install is via pip:
pip install pyrestclient
or from source:
python setup.py install
Import
from pyrestclient import RESTClient
Changelog
#####1.0.2 (31.10.2020) New base method added:
- is_host_available (Check remote host availability using socket and specified port)
- is_service_initialized (GET https://{IP}:{PORT})
- wait_service_start
#####1.0.1 (29.10.2020)
- PUT fixed
- RESTClient inherited from RESTAssertion. No need to import RESTAssertion directly
#####1.0.0 (14.10.2020)
- removed "extend_header"
#####0.1.0 (21.05.2020)
- file logging removed
#####0.0.9 (28.03.2020) DELETE fixed POST: added file support
#####0.0.8 (28.03.2020) header typing hint fixed. Now it is dict
#####0.0.7 (10.03.2020)
- Added query_params to all methods
- POST method was refactored to use .send_request()
#####0.0.6 (01.03.2020)
- removed full_url param. now it will automatically convert url. use "http[s]://site.com" format in methods to use full url.
- code refactoring
#####0.0.5 (01.03.2020)
- query params refactored to use urlencode
- added DELETE method
0.0.4 (27.02.2020)
should_be_bad_request: assert text fixed ...
0.0.1 (9.02.2020)
- initial commit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrestclient-1.0.2.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for pyrestclient-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a779a88040ae11c8bd9deb211cdd8d03e2c18aeaf55dbec3f6863572c9b99cb4 |
|
MD5 | c1e455a38ddbe632de2a7c340e6997a9 |
|
BLAKE2b-256 | fd0a1859db4b7936d677ce2d2625eafa72ef154841defe95ba2e2644c413f62e |